runit - unable to open supervise/ok: file does not exist

Posted by Alexandr Kurilin on Server Fault See other posts from Server Fault or by Alexandr Kurilin
Published on 2013-07-04T04:18:00Z Indexed on 2014/08/24 4:23 UTC
Read the original article Hit count: 811

Filed under:
|
|
|
|

I'm trying to figure out why runit will not boot or give me the status for the managed applications. Running on Ubuntu 12.04.

I created /service, /etc/sv/myapp (with a run script, a config file, a log folder and a run script inside of it). I create a symlink from /service/ to /etc/sv/myapp

When I run

sudo sv s /service/*

I get the following error message:

warning: /service/myapp: unable to open supervice/ok: file does not exist

Some of my Googling revealed that supposedly rebooting the svscan service might fix this, but killing it and running svscanboot didn't make a difference.

Any suggestions? Am I missing a step here somewhere?

© Server Fault or respective owner

Related posts about ubuntu-12.04

Related posts about daemon