monit-general
[Top][All Lists]
Advanced

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

Re: Httpd to triger heartbeat


From: Martin Pala
Subject: Re: Httpd to triger heartbeat
Date: Wed, 10 Nov 2004 15:49:26 +0100

> I GOT The below errors.......
>
> address@hidden etc]# monit
> /etc/monitrc:3: Error: the executable does not exist '/etc/init.d/apache'
> /etc/monitrc:4: Error: the executable does not exist '/etc/init.d/apache'
> /etc/monitrc:17: Error: cannot compute a checksum for a file
> /opt/apache/bin/httpd 'www'
> /etc/monitrc:25: Error: cannot compute a checksum for a file
> /etc/init.d/apache 'www'

This is because you used examples which points to other files then you have
on your system (this could be because the examples were taken from other
environment). You need to fix just paths to apache rc script (i suppose that
you will have the correct rc script unde /etc/init.d/httpd or something
similar). It is the same case with the checksum for httpd binary and rc
script - the files doesn't exist (which monit correctly noticed)

>
> Furthermore....when I try to connect via mozilla https://localhost:2812
>
> Got the message The connection was refused...

This is because you have not configured monit to listen for connections on
port 2812 => you can't connect to it ... use 'set httpd port 2812 ...'
option.





reply via email to

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