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.

Marcus



--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to