Koozali.org: home of the SME Server

Daemontools problem

Offline RedBeard

  • ***
  • 62
  • +0/-0
Daemontools problem
« on: August 17, 2005, 06:51:34 AM »
Hi all,

Today I discovered a problem with one of my servers.  When I hooked up a monitor to the server the monitor was showing:

“supervise fatal: unable to start daemontools/run: file does not exist”

This was continuously scrolling down the screen.

I didn’t see anything obvious in the log files and it is not taking up memory or loading up the CPU.  It only shows up on the monitor directly connected to the server.

I rebooted the server and these began popping up as the server was loading up, I didn’t pay attention to what loaded immediately before they began popping up.

Any ideals?

Thanks
............

Offline RedBeard

  • ***
  • 62
  • +0/-0
More Info
« Reply #1 on: August 17, 2005, 03:07:42 PM »
This morning I got an email regarding makewhatis.cron as follows.  ? ??

/etc/cron.weekly/makewhatis.cron:

zcat: stdout: Broken pipe

zcat: stdout: Broken pipe

zcat: stdout: Broken pipe

zcat: stdout: Broken pipe

zcat: stdout: Broken pipe

zcat: stdout: Broken pipe

zcat: stdout: Broken pipe

. . .    Servral more pages of same

???
............

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Daemontools problem
« Reply #2 on: August 17, 2005, 04:02:04 PM »
Quote from: "RedBeard"

Today I discovered a problem with one of my servers.  When I hooked up a monitor to the server the monitor was showing:

“supervise fatal: unable to start daemontools/run: file does not exist”

This was continuously scrolling down the screen.


That means that someone has created a directory /service/daemontools (or a symlink pointing to a directory), and that directory doesn't contain a "run" executable script.

To undo the damage, do:

cd /service/daemontools
svc -x .
rm -f /service/daemontools
rmdir /service/daemontools
cd

Did you recently make any changes which would have created that directory or symlink?