When the cron file /etc/cron.daily/1hup_apache_logs is executed the httpd service is not able to reload properly and it get stuck. The service is dead and it needs to be restarted manually. Even the server load goes high. And in some cases the server even crashes.

To Resolve this issue.

Change “reload” to “restart” in /etc/cron.daily/1hup_apache_logs

Content of /etc/cron.daily/1hup_apache_logs are as follows:

#!/bin/bash
#/etc/rc.d/init.d/httpd_app_init reload-grc
# XXX Fix of the “lost child came home” issue
! /sbin/chkconfig httpd || /etc/rc.d/init.d/httpd_app_init reload

And then change to

#!/bin/bash
#/etc/rc.d/init.d/httpd_app_init reload-grc
# XXX Fix of the “lost child came home” issue
! /sbin/chkconfig httpd || /etc/rc.d/init.d/httpd_app_init restart

Reference: http://parallels.com

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.