monit-general
[Top][All Lists]
Advanced

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

Monit did not restart mysql


From: frwa onto
Subject: Monit did not restart mysql
Date: Sat, 1 Jun 2013 14:58:57 +0800

Hi All,
        We have this in our monit.conf. Earlier it was working smoothly when mysql goes down. Recently I just tried to stop mysqld and the monit did not restart it. But in the top I can see monit is running and I am using upstart so I just kill and it respawn again. Below is part of the config file.


check process mysqld with pidfile /var/run/mysqld/mysqld.pid
   start program = "/etc/init.d/mysqld start"
   stop program = "/etc/init.d/mysqld stop"
   if failed host 127.0.1.1 port 3306 protocol mysql then restart
   if 5 restarts within 5 cycles then timeout


Regards,
Frwa.

reply via email to

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