Mono, 1.3 had some issues around return codes and 'service' might be getting upset. Using just 'sudo riak start' and 'sudo riak stop' is the preferred method. You do not need to create /var/lib/riak, the proper data directories will be created on the first start.
I'd highly recommend you follow the Fast Track on the documentation site to get more familiar with how Riak works before diving too far into it. http://docs.basho.com/riak/latest/tutorials/fast-track/ There were several fixes in regards to init scripts and return codes added to Riak 1.4 which is our next major release. -Jared On Wed, Jun 19, 2013 at 1:33 AM, mdr <monosij.for...@gmail.com> wrote: > I do have a few questions regards the install however. > > Riak installed (from Precise) with the followng: > Adding system user `riak' (UID 110) ... > Adding new user `riak' (UID 110) with group `riak' ... > Not creating home directory `/var/lib/riak'. > > I have a few questions: > 1. Will data in /var/lib/riak be created when I create first database? > 2. Or do I have to check the init file to set some params regards > initiating > database. > 3. I find app.config under /etc/riak lists directories. > 4. sudo service riak stop returns clean - does not say whether stopped > anything. > 5. sudo service riak start returns: > Attempting to restart script through sudo -H -u riak > !!!! > !!!! WARNING: ulimit -n is 1024; 4096 is the recommended minimum. > !!!! > Node is already running! > > So what is the best way to stop the Riak service? > ... > Thanks again. > > Monosij > > > > -- > View this message in context: > http://riak-users.197444.n3.nabble.com/On-Ubuntu-13-04-64-tp4028094p4028105.html > Sent from the Riak Users mailing list archive at Nabble.com. > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com