apache 2.2 down TailWatch and cmd line failed to restart it
today the Apache was down for about 8 hours and this is not the first time
it seems that the TailWatch chkservd is trying to restart the Apache but it failed
i ran this
This an example of what i got
please notice
the script couldn't restart the httpd service i tried to issue thos 2 commands
i got this
i got this
i have to login to the WHM panel to restart the easyapache to restart the server and that is the only way the server came back online i have checked the apache error_log i found this over and over again
i checked cPanel Tailwatchd and i got these lines over and over again
how can i make the TailWatch to be able to restart the apache automatically and i want to know what cause this issue both TailWatch and httpd restart didn't work to restart the apache Best Regards
sudo tail -n 100 /var/log/chkservd.logThis an example of what i got
Service Check Started
Loading services .....cpanellogd....cpsrvd....exim....exim-26....ftpd....httpd....imap....lfd....mysql....named....nscd....queueprocd....rsyslogd....sshd..Done
[2015-10-27 09:36:43 +0200] Disk check .... /dev/simfs (/) [35.11%] ... {status:eek:k} ... Done
[2015-10-27 09:36:43 +0200] OOM check ....Done
[2015-10-27 09:36:43 +0200] Service check ....sshd [[check command:+][socket connect:N/A]]...spamd [[check command:N/A][socket connect:N/A]]...rsyslogd [[check command:+][socket connect:N/A]]...queueprocd [[check command:+][socket connect:N/A]]...nscd [[check command:+][socket connect:N/A]]...named [[check command:+][socket connect:N/A]]...mysql [[check command:+][socket connect:N/A]]...mailman [[check command:N/A][socket connect:N/A]]...lfd [[check command:+][socket connect:N/A]]...imap [[socket_service_auth:1][check command:+][socket connect:+]]...httpd [Timeout while trying to get data from service: Died][check command:N/A][socket connect:-][socket failure threshold:85/3][fail count:84]Restarting httpd....
[notify:failed service:httpd]]...ftpd [[socket_service_auth:1][check command:+][socket connect:+]]...exim-26 [[check command:N/A][socket connect:+]]...exim [[check command:+][socket connect:+]]...entropychat [[check command:N/A][socket connect:N/A]]...dnsadmin [[check command:N/A][socket connect:N/A]]...cpsrvd [[http_service_auth:1][check command:N/A][socket connect:+]]...cpdavd [[check command:N/A][socket connect:N/A]]...cpanellogd [[check command:+][socket connect:N/A]]...clamd [[check command:N/A][socket connect:N/A]]...Done
Service Check Finishedplease notice
Restarting httpd....[notify:failed service:httpd]]...the script couldn't restart the httpd service i tried to issue thos 2 commands
sudo httpd status i got this
Looking up localhost
Making HTTP connection to localhost
Sending HTTP request.
HTTP request sent; waiting for response.
Retrying as HTTP0 request.
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
sudo httpd start
i got this
it's already runningi have to login to the WHM panel to restart the easyapache to restart the server and that is the only way the server came back online i have checked the apache error_log i found this over and over again
[Tue Oct 27 09:00:29 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Oct 27 09:00:29 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
[Tue Oct 27 09:02:37 2015] [notice] Graceful restart requested, doing restart
[Tue Oct 27 09:06:20 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Oct 27 09:06:20 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
[Tue Oct 27 09:07:45 2015] [notice] Graceful restart requested, doing restart
[Tue Oct 27 09:11:29 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Oct 27 09:11:29 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
[Tue Oct 27 09:11:49 2015] [notice] Graceful restart requested, doing restart
[Tue Oct 27 09:15:33 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Oct 27 09:15:33 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
[Tue Oct 27 09:17:41 2015] [notice] Graceful restart requested, doing restart
[Tue Oct 27 09:20:10 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Oct 27 09:20:10 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
[Tue Oct 27 09:22:45 2015] [notice] Graceful restart requested, doing restart
i checked cPanel Tailwatchd and i got these lines over and over again
httpd (/usr/local/apache/bin/httpd -k start) is running as root with PID 14403 (pidfile check method) .
httpd (/usr/local/apache/bin/httpd -k start) is running as root with PID 14403 (pidfile check method) .
httpd (/usr/local/apache/bin/httpd -k start) is running as root with PID 14403 (pidfile check method)
how can i make the TailWatch to be able to restart the apache automatically and i want to know what cause this issue both TailWatch and httpd restart didn't work to restart the apache Best Regards
-
Hello :) Could you post the contents of your /etc/hosts file without providing actual IP addresses or domain names? Thank you. 0
Please sign in to leave a comment.
Comments
1 comment