WHM often prompts me to reboot the server to apply an update. Whenever I do this, the server reboots, but httpd service is not started again. It times out after ~90 seconds. (Even though the attached screenshot text is truncated, it IS a timeout error loading the httpd serviice.) If I SSH into the server and restart httpd manually at this point, it starts fine.
My admins updated the httpd.service file to include the line:
TimeoutStartSec=300
and tested a restart and httpd loaded properly (but this test did not include an update at this point as it had just been updated recently).
After the next WHM update/reboot request, I rebooted the server (gracefully) and the same timeout occurred after 90 seconds and httpd was not loaded. Again, loading it manually via SSH was successful.
It appears that the httpd.service file may have been overwritten during the update (or some other prior process), as the line was no longer there. I do not recall making any changes to the server other than perhaps a tweak in the Exim config page in WHM to update the queue-load parameter.
So I'm wondering if it's known that some of the WHM updates that require reboots would overwrite the httpd.service file, and if so, is there some way I can ensure that after such an update/reboot that httpd will start without timing out as it appears to do whenever these updates are installed and I am forced to reboot to apply them.
Thanks!
My admins updated the httpd.service file to include the line:
TimeoutStartSec=300
and tested a restart and httpd loaded properly (but this test did not include an update at this point as it had just been updated recently).
After the next WHM update/reboot request, I rebooted the server (gracefully) and the same timeout occurred after 90 seconds and httpd was not loaded. Again, loading it manually via SSH was successful.
It appears that the httpd.service file may have been overwritten during the update (or some other prior process), as the line was no longer there. I do not recall making any changes to the server other than perhaps a tweak in the Exim config page in WHM to update the queue-load parameter.
So I'm wondering if it's known that some of the WHM updates that require reboots would overwrite the httpd.service file, and if so, is there some way I can ensure that after such an update/reboot that httpd will start without timing out as it appears to do whenever these updates are installed and I am forced to reboot to apply them.
Thanks!
Attachments
-
39.3 KB Views: 8