Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a run sript under ress directory:


exec python

And when I try to execute svc I get:

~# svc -du ress/
svc: warning: unable to control ress/: file does not exist

My goal is to control if the python script crashes and restart it.

~# ls ress/

~# cat ress/run 

exec python
share|improve this question

closed as not a real question by Tom O'Connor, Magellan, mdpc, Brent Pabst, rnxrx Oct 27 '12 at 5:56

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Gonna need more to go on than that.. Give me a ls -alh of the directory containing "ress" and the "ress" directory itself. – Tom O'Connor Mar 21 '12 at 22:06
I've edited the question @TomO'Connor thanks – donald Mar 21 '12 at 22:46

Have you started supervise ? The documentation for svc states fairly explicitly that it "controls services monitored by supervise".

And looking at svc.c, that particular error message is raised when it cannot find/open the file supervise/control, wich is automatically created (along with the supervise directory) by supervise if it cannot find it.

See documentation supervise or svscan if you want to start supervise around more than one service.

share|improve this answer

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