[root@CTSINGMRGTO riak]# sudo -u riak sh -c 'echo $PATH' /sbin:/bin:/usr/sbin:/usr/bin [root@CTSINGMRGTO riak]# sudo -u riak -i -bash: id: command not found -bash: tty: command not found -bash: grep: command not found -bash: sed: command not found
Still the same .unable to start -----Original Message----- From: riak-users-boun...@lists.basho.com [mailto:riak-users-boun...@lists.basho.com] On Behalf Of Richard Heycock Sent: Wednesday, August 08, 2012 9:00 AM To: riak-users Subject: Re: riak failed to start up Excerpts from Sangeetha.PattabiRaman2's message of 2012-08-07 21:15:16 +1000: > Hi , > > Can any one help me on the start up error ..thx in advance > [root@CTSINGMRGTO riak]# cat console.log > 2012-08-07 09:13:54.260 [error] <0.164.0> CRASH REPORT Process > riak_core_capability with 0 neighbours exited with reason: no function > clause matching orddict:fetch('riak@127.0.0.1', []) line 72 in > gen_server:terminate/6 line 747 > > [root@CTSINGMRGTO riak]# riak start > Attempting to restart script through sudo -u riak > /etc/profile: line 31: id: command not found > /usr/sbin/riak: line 6: uname: command not found > /usr/sbin/riak: line 6: [: too many arguments > /usr/sbin/riak: line 30: whoami: command not found sudo doesn't appear > to be installed and your EUID isn't riak This looks like your PATH isn't being set. Is "sudo -u riak" sudo -u riak sh -c 'echo $PATH' should show something like: /usr/local/bin:/usr/bin:/bin try getting a shell as riak: sudo -u riak -i checking the path is ok and run it from there. rgh > > on running as service > > [root@CTSINGMRGTO riak]# service riak start Starting Riak: Riak failed > to start within 15 seconds, see the output of 'riak console' for more > information. > If you want to wait longer, set the environment variable > WAIT_FOR_ERLANG to the number of seconds to wait. > [FAILED] > > Thanks & regards > sangeetha > > This e-mail and any files transmitted with it are for the sole use of the > intended recipient(s) and may contain confidential and privileged > information. If you are not the intended recipient(s), please reply to the > sender and destroy all copies of the original message. Any unauthorized > review, use, disclosure, dissemination, forwarding, printing or copying of > this email, and/or any action taken in reliance on the contents of this > e-mail is strictly prohibited and may be unlawful. -- [e]: r...@roughage.com.au [im]: r...@jabber.org You're worried criminals will continue to penetrate into cyberspace, and I'm worried complexity, poor design and mismanagement will be there to meet them - Marcus Ranum _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com