Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

Daemontools /service/test/log: unable to open supervise/ok: file does not exist
https://forum.ivorde.com/daemontools-service-test-log-unable-to-open-supervise-ok-file-does-not-exist-t43.html
Page 1 of 1

Author:  debuser [ Thu Nov 26, 2009 7:11 am ]
Post subject:  Daemontools /service/test/log: unable to open supervise/ok: file does not exist

/service/test/log: unable to open supervise/ok: file does not exist

This daemontools error appears when you've just created a new service (test in my case) to be supervised by svscan and you're trying to start it's logging service. The /service/test/log/supervise/ok and /service/test/log/supervise/control files are pipe files used for inter process communication (IPC). The output from main service (test) is sent via pipe (these files) to it's log service. For some reason, svscan doesn't create them when you've added the log service.

For this, you need to restart (some people would prefer reboot ) svscan. I'm not gonna write how buecause this differes on many OSes.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/