0

I installed the riak ubuntu package. Is there a riak.pid? My node is running but nothing on the machine. I need for monit. There is a /var/run/riak dir but no pid.

1 Answer 1

1

The answer is: there isn't one.

That being said, a post to our mailing list may help you:

http://lists.basho.com/pipermail/riak-users_lists.basho.com/2011-October/006064.html

check process riak matching "/path/to/riak/erts-5.7.5/bin/beam"
   group riak
   start program = "/path/to/riak/bin/riak start"
   if failed host localhost port 8098
        protocol HTTP request "/" then alert

(Note you will need to change the erlang version to the one you are currently using)

2
  • Did not work. service is running. service riak ping Attempting to restart script through sudo -u riak pong telnet localhost 8098 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused
    – Tampa
    Jul 26, 2012 at 1:59
  • Yes..I did change the version
    – Tampa
    Jul 26, 2012 at 2:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .