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('[email protected]', []) 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]:  [email protected]
[im]: [email protected]

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
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to