|
From: | Martin Pala |
Subject: | Re: [monit] Monit fails to start process occasionally |
Date: | Sat, 27 Sep 2008 14:58:59 +0200 |
Hi, the problem is, that monit was restarted: --8<-- [UTC Sep 26 04:35:51] Stopping monit HTTP server [UTC Sep 26 04:35:51] http server: service stopped [UTC Sep 26 04:35:54] Starting monit daemon [UTC Sep 26 04:35:54] Starting httpd at [127.0.0.1:2812] --8<-- The service was running at 04:36:08 and was killed thereafter: --8<-- bash-2.05a# date Fri Sep 26 04:36:08 UTC 2008 bash-2.05a# ps -ef|grep np1 root 27588 1 0 04:35 ? 00:00:00 /bin/sh /opt/meru/np1/scripts/np bash-2.05a# ps -ef|grep np1 bash-2.05a# --8<-- Since the service np1slave is configured with "manual" mode, it's monitoring is disabled after monit start at *04:35:51* (the manual monitoring mode is not persistent on monit restart). At 04:36:08 the service was not monitored (due to monit restart) so monit didn't tried to recover the service. To solve this problem, you need to enable the monitoring of np1slave after monit start/restart this way: monit monitor np1slave There are several requests from other users as well to have persistent manual monitoring mode (i.e. keep the monitoring state on monit restart once the service monitoring was enabled/disabled). We'll implement it most probably for next monit release. Martin On Sep 26, 2008, at 1:33 AM, Arut Selvan wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |