automatically restart httpd

Ryan Perry <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAByX2th-Y8UgKZXBtAc5ggfEoM=h+47JBin4g_uP1QA4YJnTXQ@mail.gmail.com>
I've been plagued by some bug that makes a call to LWP stop working:
"Can't connect to 192.168.0.222 (Bad hostname)"

I haven't been able to figure out why, but a simple httpd restart fixes it
for a day or 2.

Since I can't figure out a real fix, I'm wondering if there is a way for me
to automatically restart httpd whenever the bug hits.  Maybe whenever it
appears in the httpd-error.log?  What are my options?

-- 
*Ryan Perry*
Technology Director
RestoreHealth
1289 Deming Way
Madison, WI 53717
608.833.7046 ext 700
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.