The service “httpd” appears to be down.

ziadmm0

Registered
Aug 11, 2019
2
0
1
usa
cPanel Access Level
Root Administrator
Every couple of minutes, I get a message from cPanel on my E-mail, tells me that
The service “httpd” appears to be down.

Can you please tell me what is the problem? And how can I fix it ?
 

LucasRolff

Well-Known Member
May 27, 2013
97
54
18
cPanel Access Level
Root Administrator
Can be two reasons - either httpd is actually down, or localhost that does the check is blocked by the web server and preventing doing the check.

If it's actually down, you have to check the logs why it stops working, if it's not down, then you have to check whether the server IP or 127.0.0.1 (or ::1 on v6) is somehow blocked.
 

ziadmm0

Registered
Aug 11, 2019
2
0
1
usa
cPanel Access Level
Root Administrator
Thank you very much all for the help,
I think I've solved this problem in two steps:

1- allow 127.0.0.1 in iptables:
iptables -I INPUT -s 127.0.0.1 -j ACCEPT
iptables -I OUTPUT -s 127.0.0.1 -j ACCEPT


2- Increase Extra CPUs for server load from 0 to 8
in WHM » Home » Server Configuration » Tweak Settings

One of this steps solves the problem.
Thank you.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,749
2,205
363
cPanel Access Level
DataCenter Provider
Twitter
Hello :)

Whitelisting the 127.0.0.1 (localhost) IP address should not be necessary. You may find the following tutorial helpful if the server load is high at the time of the failure:


Thank you.