Today I got an "Node is not runnning!" error when test with "riak-admin status" after starting riak 0.14.2 server is about the ~/.erlang.cookie. Yet when I "ps xua |grep riak", all the riak processes were running well.
I tried "riak ping", and it lefe me following error:
Error when reading /home/username/.erlang.cookie: eaccesescript: exception error: no match of right hand side value
I checked .erlang.cookie and found it with owner root. So I removed /home/username/.erlang.cookie, and start riak without root permission(chown should also work). Now, everything works fine.
I tried "riak ping", and it lefe me following error:
Error when reading /home/username/.erlang.cookie: eaccesescript: exception error: no match of right hand side value
I checked .erlang.cookie and found it with owner root. So I removed /home/username/.erlang.cookie, and start riak without root permission(chown should also work). Now, everything works fine.
Comments