[Top][All Lists]

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

Re: [monit] Is this possible?

From: Scott Silva
Subject: Re: [monit] Is this possible?
Date: Thu, 31 Jul 2008 13:11:10 -0700
User-agent: Thunderbird (Windows/20080421)

on 7-31-2008 12:52 PM Dimitri Yioulos spake the following:
On Thursday 31 July 2008 3:17 pm, Scott Silva wrote:
on 7-31-2008 12:05 PM Tomich,John spake the following:
If I understand log correctly, monit detected PID file change, but did
not attempt to execute, yes?  I'm afraid you'll have to seek
further guidance elsewhere, I'm stumped.  Also, must leave office on
business trip, and will be out of touch for a few days.  Good luck!
Does the restart script have absolute paths to everything?

Monit passes a very sparse environment to scripts it runs.

Hi, Scott.

That was it!  I changed

#! /bin/bash
mysql test1 < restart.sql


#! /bin/bash
mysql test1 < /root/restart.sql

And, voila. Arrrgh, I should know better. Thanks so much to you, John, and Pierrick for your help.

Now to test that it works if I restart the OS.

BTW, I know your name from the MS list. Small virtual world :-) . You may remember my name from some of the dumb mistakes I post about there. Anyway, again thanks.


I'm surprised you didn't have to also have absolute path to mysql also.

The only dumb questions are unasked questions, and the only dumb mistakes are repeated mistakes. Every body is allowed the first "Oh crap!" Just as it isn't followed with "I did it again!".

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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