russellhosting

Active Member
Jun 19, 2003
26
0
156
Whenever any action is done in WHM that requires httpd to restart, it doesn't seem to restart. Instead it stays down until the monitor catches it and restarts it.

Where should I start looking for the issue with this?
 

carluk

Well-Known Member
Sep 2, 2003
161
0
166
Which build of cpanel are you using, I have seen this recently myself.
 

krava

Well-Known Member
Sep 23, 2003
149
0
166
cPanel Access Level
Root Administrator
More over, you need to check the apache error log file. Usually it is located in:
/usr/local/apache/logs/
and the error file is called error_log.
 

russellhosting

Active Member
Jun 19, 2003
26
0
156
Both the conf file is fine, and there is not indications in the error log. It starts fine if I manually issue the command, it just doesn't seem to like it if a cPanel script invokes it. It does however restart fine if I restart it through WHM as well...
 

russellhosting

Active Member
Jun 19, 2003
26
0
156
I just did some more tests and it looks like when cPanel tries to restart apache then it doesn't do a clean shutdown. Where would be the best place to look where most of these scripts call this shutdown at? Anything I can tried to call manually and tail the error_log?