[Top][All Lists]

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

Monit restarting Apache stops but doesn't start

From: Jeb Wilkins
Subject: Monit restarting Apache stops but doesn't start
Date: Wed, 13 Apr 2011 11:12:04 +0100

I've got the following monit script on an Ubuntu 10.04 server.

check host with address
        every 2 cycles
        start program = "/etc/init.d/apache2 start" with timeout 60 seconds
        stop program = "/etc/init.d/apache2 stop"
        if failed port 80 and protocol http
                and request "/login"
                with timeout 15 seconds
                for 4 cycles
                then restart
        if 3 restarts within 10 cycles then timeout

If a restart is triggered, apache gets turned off but doesn't get
started again? It is then brought back up by the next cycle.

What is likely to be causing this, where would I look to debug this,
the server is now just serving static files.



reply via email to

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