Nick Carroll

Metabolising caffeine into code

Using daemontools

without comments

If you are using daemontools, and come across the following error even though the supervise directory and all related files exist:

svc: warning: unable to control /service/dev: file does not exist

Then you can do the following:

1. Use ps -afx to display a hierarchy of processes… really quite cool.
2. If procreadtitle is running in the process list, then do the following:
ps axww|grep readproctitle
3. That should display the error that is preventing the service from starting. If you are using daemontools with openacs, then the problem might be a misconfigured run file, or that you haven’t set the right permissions on the server log files.

Written by Nick

September 27th, 2005 at 7:37 pm

Posted in Random