Re: Change data directory

2014-04-07 Thread Nabil Hassein
Sorry for slow response. It was indeed a directory permissions issue, the annoying details of which I just finished working out, and now riak seems to be working as intended. Thanks very much for your help! Cheers, Nabil On Fri, Apr 4, 2014 at 4:33 PM, Jordan West wrote: > Nabil, > > Sorry for

Re: Change data directory

2014-04-04 Thread Jordan West
Nabil, Sorry for not catching this before: can you try adding o+x (or o+rx) to /home/nabil? The riak user is unable to traverse further in the tree otherwise. If this is your personal machine, you may want to consider moving the data directory to another path so you don't need to relax the permiss

Re: Change data directory

2014-04-04 Thread Nabil Hassein
I installed the binary via yum. On Fri, Apr 4, 2014 at 4:02 PM, Jordan West wrote: > how are you starting Riak? Did you install a package or are you building > from source? > > Jordan > > > On Fri, Apr 4, 2014 at 1:00 PM, Nabil Hassein wrote: > >> Even after a manual `mkdir /home/nabil/riak/rin

Re: Change data directory

2014-04-04 Thread Jordan West
how are you starting Riak? Did you install a package or are you building from source? Jordan On Fri, Apr 4, 2014 at 1:00 PM, Nabil Hassein wrote: > Even after a manual `mkdir /home/nabil/riak/ring && sudo chown riak:riak > /home/nabil/riak/ring`, I still can't start the riak service. > > > On

Re: Change data directory

2014-04-04 Thread Nabil Hassein
Even after a manual `mkdir /home/nabil/riak/ring && sudo chown riak:riak /home/nabil/riak/ring`, I still can't start the riak service. On Fri, Apr 4, 2014 at 3:58 PM, Jordan West wrote: > Hey Nabil, > > Riak is having trouble finding or creating the ring directory. From your > logs: > > 2014-04

Re: Change data directory

2014-04-04 Thread Jordan West
Hey Nabil, Riak is having trouble finding or creating the ring directory. From your logs: 2014-04-04 15:44:41.655 [critical] <0.147.0>@riak_core_app:start:54 Ring state directory "/home/nabil/riak/ring" does not exist, and could not be created: "permission denied" Jordan On Fri, Apr 4, 2014 at

Re: Change data directory

2014-04-04 Thread Nabil Hassein
Thanks very much for your prompt replies. I am using the bitcask backend. For now I am just trying to use /home/nabil/riak as the directory as I test this out on my development machine, although naturally that is not the ultimate destination we have in mind for our production servers. I have chang

Re: Change data directory

2014-04-04 Thread Jordan West
https://gist.github.com/jrwest/a37e3fff5917f0bd44eb is a recent app.config I used on a 1.4.x cluster w/ CentOS. Look at the paths that start w/ "/data/riak". If you're still having issues, or you have changed all the paths: are there any errors in the Riak logs? Cheers, Jordan On Fri, Apr 4, 201

Re: Change data directory

2014-04-04 Thread Matthew Von-Maszewski
Are you using leveldb or bitcask back end? What is your desired data directory? I will create an example. Sent from my iPhone > On Apr 4, 2014, at 3:05 PM, Nabil Hassein wrote: > > Hello all, > > I'm trying to change /etc/riak/app.config to store data in a directory of my > choosing rathe

Change data directory

2014-04-04 Thread Nabil Hassein
Hello all, I'm trying to change /etc/riak/app.config to store data in a directory of my choosing rather than the default one. Simply changing platform_data_dir to another directory yields errors, even after a `chown -R riak:riak` of the relevant directory; the service starts but any attempts to us