[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to start program automatically

From: Michel Krämer
Subject: Unable to start program automatically
Date: Sun, 14 Jan 2007 16:44:32 +0100
User-agent: Thunderbird (Windows/20061207)


I'm running Monit 4.5 on Debian 3.2 (sarge/stable). It's configured properly to monitor lighttpd HTTP server. Now I want to add another simple executable to monitor: /usr/bin/foo

I run the following:
> monit -d 5
> killall foo

After 5 seconds, monit notices that foo is not running. The syslog contains the following:

Jan 14 16:16:45 xxx monit[19441]: 'foo' process is not running

After that monit does nothing. It does not start the process automatically. I have to manually call "monit start foo" which works.

My configuration file looks as follows:

check process foo with pidfile /var/run/
      start program = "/usr/bin/foo"

Any ideas?

Thank you in advance,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]