monit-general
[Top][All Lists]
Advanced

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

Re: can't start monit service


From: Martin Pala
Subject: Re: can't start monit service
Date: Wed, 02 Nov 2005 09:48:38 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Hi,

please try to start monit using following command:

 monit -vI

... and send the output

Thanks,
Martin

Oliver A. Rojo wrote:
I just intalled monit using Fedora core 2 distribution. My /etc/monitrc config:

set httpd port 2812
     allow localhost
     allow 192.168.3.191
     allow traxx:hitman

check process apache2 with pidfile /var/run/httpd.pid
   start program = "/etc/rc.d/init.d/httpd start"
   stop  program = "/etc/rc.d/init.d/httpd stop"
   if failed host 192.168.3.221 port 80
        protocol HTTP request /monit/token
        then restart
   if 5 restarts within 5 cycles then timeout
   group www
   depends apache2_init
   depends apache2_bin

check file apache2_init with path /etc/rc.d/init.d/httpd
   group apache

check file apache2_bin with path /usr/sbin/httpd
   group apache

where:
192.168.3.221: ip address of  monit server

But everytime i start monit service it usually says:

Nov  2 15:06:26 pumbaa httpd: httpd shutdown succeeded
Nov  2 15:10:45 pumbaa monit: 'apache2' process is not running
Nov  2 15:10:45 pumbaa monit: 'apache2' trying to restart
Nov  2 15:10:45 pumbaa monit: 'apache2' start: /etc/rc.d/init.d/httpd
Nov  2 15:10:45 pumbaa monit: 'apache2' failed to start
Nov  2 15:10:45 pumbaa monit: monit startup succeeded
Nov  2 15:10:45 pumbaa httpd: httpd startup succeeded

# service monit status
monit dead but subsys locked

Did i missed something?



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





reply via email to

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