[Xitami] W2K Xitami 2.4d9 crash

Ewen McNeill xitami@lists.xitami.org
Thu, 18 Apr 2002 09:54:41 +1200


In message <3CBDB1C6.24094.229BAEA1@localhost>, "Brad Smith" writes:
>In lieu of an explanation, if someone can guide me to a way I can create 
>a simple service listener, I could deal with option.  In other words, a little 
>app that listens to Xitami, checking to see if it is still running, and, 
>if not, restarts it.  

You don't want to "listen" to Xitami; you want to "check up" on Xitami.
What I do with some servers I monitor is have a special test URL (eg, a
HTML page with some recognisable text on it), and then have a small perl
program (eg, using LWP) check that URL from time to time.  If it doesn't
get the "right" response, then it restarts Xitami (or whatever is being
monitored).

Ewen

-- 
Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com