I have an intermitent problem on one of my servers with the Apache service failing at random intervals. How would I go about checking, in a shell script (run every few minutes with cron), whether httpd service is "running" or "stopped", and if "stopped" run a command or another shell script that would page me immediately or execute some code of my choice? I hope this would help me instantly see when the problem occurs, see what's happening on the server at the time, etc, and hopefully resolve whatever may be causing Apache to stop for "no reason."
Thank you, Chris -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list