[Top][All Lists]

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

Re: Restart in chek file

From: Marcus Mülbüsch
Subject: Re: Restart in chek file
Date: Wed, 14 Dec 2011 14:39:32 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20111103 Thunderbird/3.1.16

Am 14.12.2011 14:16, schrieb Sergey Bondarev:
Hello ,

monit config:

     start program = "/etc/init.d/httpd start"
     stop program = "/etc/init.d/httpd stop"

httpd stoped, but NOT starting again !!!

What does "/etc/init.d/httpd status" say?

Does "/etc/init.d/httpd start" work when entered manually?

(For example under gentoo it is good use to modify the start/stop lines to:
>        start program = "/etc/init.d/apache2 zap start"
>        stop program = "/etc/init.d/apache2 stop zap"

for gentoos rc-system sometimes leaves the service in another state as "stopped", especially when the service crashed; and gentoo does not start a service unless it is manually set to a stopped state.


reply via email to

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