monit-general
[Top][All Lists]
Advanced

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

[monit] Monit restart command problem


From: Perdue, Emmett
Subject: [monit] Monit restart command problem
Date: Thu, 5 Mar 2009 11:44:11 -0500

I am seeing some strange behavior from Monit when a restart command is issued. When I issue a "monit restart app_name" command, Monit is sending the stop and start commands in the monitrc file back to back within 1/10 of a second. It is not sending the stop command and waiting for it to finish before sending the start command.

If I run the scripts outside of Monit, all is fine. What should I look for? Below is a snip of the Monit log from when the problem happens…

[EST Mar  5 10:12:32] debug    : restart service 'jboss_eradbre' on user request
[EST Mar  5 10:12:32] info     : monit daemon at 25448 awakened
[EST Mar  5 10:12:32] info     : Awakened by User defined signal 1
[EST Mar  5 10:12:32] info     : 'jboss_eradbre' trying to restart
[EST Mar  5 10:12:32] info     : 'jboss_eradbre' stop: /etc/init.d/jboss_eradbre
[EST Mar  5 10:12:33] info     : 'jboss_eradbre' start: /etc/init.d/jboss_eradbre


Thank You,

Emmett D. Perdue
CSX Corp.
Sr. Systems Admin - RHCE
Middleware Software Provisioning
Phone: (904) 633-5187 RNX: 633-5187
E-Mail: address@hidden

Picture (Metafile)
"Individuals Play the Game, But Teams Win Championships!"


This email transmission and any accompanying attachments may contain CSX privileged and confidential information intended only for the use of the intended addressee. Any dissemination, distribution, copying or action taken in reliance on the contents of this email by anyone other than the intended recipient is strictly prohibited. If you have received this email in error please immediately delete it and notify sender at the above CSX email address. Sender and CSX accept no liability for any damage caused directly or indirectly by receipt of this email.


reply via email to

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