[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Monit on a Virtual Server
From: |
Jan-Henrik Haukeland |
Subject: |
Re: Monit on a Virtual Server |
Date: |
08 Jul 2002 20:02:02 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) |
Qasim <address@hidden> writes:
> 'apache', socket at port 80 is not ready for i|o -- Undefined error: 0
Normally this happens because it's not possible to read or write to
the socket connection for some reason. But it could also be a bug in
the monit code that occurs in FreeBSD. But first; can you uncomment
this code in validate.c
/* Verify that the socket is ready for i|o */
if ( ! check_socket(s) ) {
log("'%s', socket at port %d is not ready for i|o -- %s\n",
p->name, pp->port, STRERROR);
rv= FALSE;
goto timeout;
}
then recompile monit and verify that there are no errors in the log
file. If this is the case then can you do me a favor and put back the
function above, recompile and run monit again with trace, like so:
strace -f -p $(cat ~/.monit.pid) 2>&1|tee trace.out
And send me the trace.out file.
--
Jan-Henrik Haukeland