The service “httpd” appears to be down.

Operating System & Version
CloudLinux 7.7
cPanel & WHM Version
v86.0.18

Awby

Registered
Apr 13, 2020
2
0
1
Morocco
cPanel Access Level
Root Administrator
Hello,

In the past week or so, the httpd service of server has gone randomly, and it does not start automatically .
I get the email :
1586800984490.png
1586800995497.png


CSF is disabled. I searched for a solution, and the only thing that i came across is to run this command to check Semaphore limit:

Bash:
# cat /proc/sys/kernel/sem
32000    1024000000    500    32000
I think the number is fine from what i saw, also the server is on very little load ~100 concurrent visitors.
Here is the logs of /usr/local/cpanel/logs/error_log at the same time when i got the notification.

Code:
==> cpsrvd 11.86.0.18 started
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up SSL support ... Done
==> cpsrvd: transferred port bindings: 10,11,12,3,4,5,6,7,8,9
==> cpsrvd: bound to ports
[2020-04-11 22:06:03 +0100] info [cpsrvd] version 11.86.0.18 online
[2020-04-11 22:08:53 +0100]: “/usr/local/cpanel/scripts/restartsrv_httpd --restart --hard --attempt 1” called by (847093 - tailwatchd - chkservd - httpd check)
[2020-04-11 22:08:59 +0100] info [queueprocd] chkservd::Notify Notification => @EMAIL via EMAIL [eventimportance => High (1)]
==> cpsrvd 11.86.0.18 started
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up SSL support ... Done
==> cpsrvd: transferred port bindings: 10,11,12,3,4,5,6,7,8,9
==> cpsrvd: bound to ports
[2020-04-11 22:08:59 +0100] info [cpsrvd] version 11.86.0.18 online
==> cpsrvd 11.86.0.18 started
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up SSL support ... Done
==> cpsrvd: transferred port bindings: 10,11,12,3,4,5,6,7,8,9
==> cpsrvd: bound to ports
[2020-04-11 22:16:42 +0100] info [cpsrvd] version 11.86.0.18 online
[2020-04-11 22:24:20 +0100] info [queueprocd] chkservd::Notify Notification => @EMAIL via EMAIL [eventimportance => High (1)]
==> cpsrvd 11.86.0.18 started
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up SSL support ... Done
==> cpsrvd: transferred port bindings: 10,11,12,3,4,5,6,7,8,9
==> cpsrvd: bound to ports

Can anyone please help me.

Thank you in advance.
 
Last edited:

Awby

Registered
Apr 13, 2020
2
0
1
Morocco
cPanel Access Level
Root Administrator
Hello,

Have you checked the actually Apache error logs for what the reason for the shut down is? You can find them at /etc/apache2/logs/error_log
Hello,

I have checked the apache logs, but it's seems i did not find anything usual, also there is no error logs around the same time when i got the notifications.
Generally, what are some red flags that i should pay attention to in apache logs?
And what else i can check to pin point the root of my issue?

Thank you for your replay.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hello,


The only locations that would list this during the time of the error would be the system logs at /var/log/messages or the apache error logs. If there was an apache error it would be noted in the log file there. And if there was a system issue like the process was killed or the system ran out of memory it would be listed in system logs.