monit-general
[Top][All Lists]
Advanced

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

Re: Incorrect error when restarting


From: William Colls
Subject: Re: Incorrect error when restarting
Date: Wed, 09 Jan 2013 13:16:42 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0


If this is a unix/linux shell script, try putting a sleep n command into the script right after the reload command, where n is the number of seconds to pause.

HTH

William

On 01/09/2013 08:01 AM, Prajwal Manjunath wrote:
I'm running Chef to deploy an app. It happens to contains a line to
create the monit configuration, which automatically restarts monit when
created. Immediately after, a command for "monit restart <process>"
runs. However, this always fails because monit has not yet completely
reloaded. It would be awesome if monit could make a request "wait" for a
few seconds before throwing an error, during a reload/restart.

Another related issue is the error message I get when this happens,
which tells me I did not start monit in HTTP mode.


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general



--
I know that you believe that you understand what you think I said, but I am not sure that you realise that what you heard was not what I meant.



reply via email to

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