Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

migrated from stackoverflow.com Jul 26 '12 at 22:57

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

up vote 1 down vote accepted

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)

share|improve this answer
    
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 '12 at 1:59
    
Yes..I did change the version –  Tampa Jul 26 '12 at 2:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.