Re: Website down again?
Garth Dahlstrom <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
I once had problems with the stability of my Apache web server... I put this in the crontab to run every 5 minutes. :) #!/bin/bash apache_test=`ps aux | grep www-data | grep apache | grep -v grep` if [ -z "$apache_test" ]; then /usr/sbin/apachectl restart fi You'll want to test it out... Since it came from a Debian box you'll proably have to change "www-data" with whatever the user id Apache runs under on RedHat. Cheers, -Garth