[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 this.host.net with address this.host.net
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.
Thanks
jebw
- Monit restarting Apache stops but doesn't start,
Jeb Wilkins <=