Keep needing to restart HHTP Server (Apache)

Fusion6

Member
Oct 9, 2012
21
0
1
cPanel Access Level
Reseller Owner
Had a problem arise over the last couple of weeks where all sites would suddenly be inaccessible. I can access WHM and users emails keep working. I figured a quick restart of Apache http would do the trick and it does but this has happened four times now so something is obviously wrong.

I am not receiving any error notifications and apart from the above, everything seems to be working fine. Also not made any changes that might have caused this.

I know that's not much to go on but has anyone else experienced this or know where I should be looking for a cause to the problem?

Thanks
 

fabin

Active Member
Nov 27, 2009
29
0
51
Gods Own Country
Did you check the error_log of apache server? There should be errors reported in it which can give some clue.
 

Fusion6

Member
Oct 9, 2012
21
0
1
cPanel Access Level
Reseller Owner
Did you check the error_log of apache server? There should be errors reported in it which can give some clue.
Thanks for the reply.

Not quite sure where the error log is located. Isn't it in different places depending on how apache was installed? I didn't install it so not sure where to look. Which brings me on to why are the error logs not simply available via WHM? Since that is your server control panel it would make sense to have access to it there would it not?
 

cPanelPeter

Technical Analyst III
Staff member
Sep 23, 2013
575
21
143
cPanel Access Level
Root Administrator
Twitter
Hello,

The error_log file you should check is in /usr/local/apache/logs

As for adding the log files to the WHM, that's a great idea and you should file a Feature Request for it.