Unable to Restart Apache
Hi,
I am unable to restart apache through WHM while I can restart it through command line. Can anyone suggest solution?
When I restart apache, it keeps on browsing and after 10 minutes, so I restart it myself using command line. Here are apache error logs:
[ N 2018-01-17 22:11:53.5052 62509/T7 age/Cor/CoreMain.cpp:589 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ N 2018-01-17 22:11:53.5059 62509/T1 age/Cor/CoreMain.cpp:1080 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ N 2018-01-17 22:11:53.5064 62509/T1a Ser/Server.h:886 ]: [ServerThr.20] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5064 62509/T1a Ser/Server.h:531 ]: [ServerThr.20] Shutdown finished
[ N 2018-01-17 22:11:53.5071 62509/T1r Ser/Server.h:886 ]: [ServerThr.29] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5071 62509/T1r Ser/Server.h:531 ]: [ServerThr.29] Shutdown finished
[ N 2018-01-17 22:11:53.5083 62509/T1b Ser/Server.h:886 ]: [ServerThr.21] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5083 62509/T1b Ser/Server.h:531 ]: [ServerThr.21] Shutdown finished
[ N 2018-01-17 22:11:53.5103 62509/T1z Ser/Server.h:886 ]: [ApiServer] Freed 0 spare client objects
[ N 2018-01-17 22:11:53.5105 62509/T17 Ser/Server.h:886 ]: [ServerThr.19] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5106 62509/T17 Ser/Server.h:531 ]: [ServerThr.19] Shutdown finished
[ N 2018-01-17 22:11:53.5107 62509/Tv Ser/Server.h:886 ]: [ServerThr.13] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5108 62509/Tv Ser/Server.h:531 ]: [ServerThr.13] Shutdown finished
[ N 2018-01-17 22:11:53.5109 62509/T15 Ser/Server.h:886 ]: [ServerThr.18] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5109 62509/T15 Ser/Server.h:531 ]: [ServerThr.18] Shutdown finished
[ N 2018-01-17 22:11:53.5109 62509/T1z Ser/Server.h:531 ]: [ApiServer] Shutdown finished
[ N 2018-01-17 22:11:53.5119 62509/Ti Ser/Server.h:886 ]: [ServerThr.6] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5119 62509/Ti Ser/Server.h:531 ]: [ServerThr.6] Shutdown finished
[ N 2018-01-17 22:11:53.5122 62509/T11 Ser/Server.h:886 ]: [ServerThr.16] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5122 62509/T11 Ser/Server.h:531 ]: [ServerThr.16] Shutdown finished
[ N 2018-01-17 22:11:53.5124 62509/T13 Ser/Server.h:886 ]: [ServerThr.17] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5125 62509/T13 Ser/Server.h:531 ]: [ServerThr.17] Shutdown finished
[ N 2018-01-17 22:11:53.5127 62509/T1h Ser/Server.h:886 ]: [ServerThr.24] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5127 62509/Tl Ser/Server.h:886 ]: [ServerThr.8] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5127 62509/T1h Ser/Server.h:531 ]: [ServerThr.24] Shutdown finished
[ N 2018-01-17 22:11:53.5127 62509/Tl Ser/Server.h:531 ]: [ServerThr.8] Shutdown finished
[ N 2018-01-17 22:11:53.5128 62509/T1v Ser/Server.h:886 ]: [ServerThr.31] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5128 62509/T1v Ser/Server.h:531 ]: [ServerThr.31] Shutdown finished
[ N 2018-01-17 22:11:53.5128 62509/T1n Ser/Server.h:886 ]: [ServerThr.27] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5128 62509/T1n Ser/Server.h:531 ]: [ServerThr.27] Shutdown finished
[ N 2018-01-17 22:11:53.5128 62509/Tp Ser/Server.h:886 ]: [ServerThr.10] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5129 62509/Tp Ser/Server.h:531 ]: [ServerThr.10] Shutdown finished
[ N 2018-01-17 22:11:53.5129 62509/T1f Ser/Server.h:886 ]: [ServerThr.23] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5129 62509/Tr Ser/Server.h:886 ]: [ServerThr.11] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5129 62509/T1f Ser/Server.h:531 ]: [ServerThr.23] Shutdown finished
[ N 2018-01-17 22:11:53.5129 62509/Tr Ser/Server.h:531 ]: [ServerThr.11] Shutdown finished
[ N 2018-01-17 22:11:53.5130 62509/Tf Ser/Server.h:886 ]: [ServerThr.5] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5130 62509/Tx Ser/Server.h:886 ]: [ServerThr.14] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5130 62509/Tf Ser/Server.h:531 ]: [ServerThr.5] Shutdown finished
[ N 2018-01-17 22:11:53.5130 62509/Tx Ser/Server.h:531 ]: [ServerThr.14] Shutdown finished
[ N 2018-01-17 22:11:53.5130 62509/Tj Ser/Server.h:886 ]: [ServerThr.7] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5130 62509/Tj Ser/Server.h:531 ]: [ServerThr.7] Shutdown finished
[ N 2018-01-17 22:11:53.5131 62509/T1d Ser/Server.h:886 ]: [ServerThr.22] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5131 62509/Tb Ser/Server.h:886 ]: [ServerThr.3] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5131 62509/Td Ser/Server.h:886 ]: [ServerThr.4] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5131 62509/T1d Ser/Server.h:531 ]: [ServerThr.22] Shutdown finished
[ N 2018-01-17 22:11:53.5131 62509/Tb Ser/Server.h:531 ]: [ServerThr.3] Shutdown finished
[ N 2018-01-17 22:11:53.5131 62509/T1j Ser/Server.h:886 ]: [ServerThr.25] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5131 62509/T9 Ser/Server.h:886 ]: [ServerThr.2] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5131 62509/Td Ser/Server.h:531 ]: [ServerThr.4] Shutdown finished
[ N 2018-01-17 22:11:53.5131 62509/T1j Ser/Server.h:531 ]: [ServerThr.25] Shutdown finished
[ N 2018-01-17 22:11:53.5131 62509/T9 Ser/Server.h:531 ]: [ServerThr.2] Shutdown finished
[ N 2018-01-17 22:11:53.5131 62509/Tz Ser/Server.h:886 ]: [ServerThr.15] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5132 62509/Tz Ser/Server.h:531 ]: [ServerThr.15] Shutdown finished
[ N 2018-01-17 22:11:53.5132 62509/Tn Ser/Server.h:886 ]: [ServerThr.9] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5132 62509/Tn Ser/Server.h:531 ]: [ServerThr.9] Shutdown finished
[ N 2018-01-17 22:11:53.5133 62509/Tt Ser/Server.h:886 ]: [ServerThr.12] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5133 62509/Tt Ser/Server.h:531 ]: [ServerThr.12] Shutdown finished
[ N 2018-01-17 22:11:53.5133 62509/T1x Ser/Server.h:886 ]: [ServerThr.32] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5133 62509/T7 Ser/Server.h:886 ]: [ServerThr.1] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5133 62509/T1x Ser/Server.h:531 ]: [ServerThr.32] Shutdown finished
[ N 2018-01-17 22:11:53.5134 62509/T7 Ser/Server.h:531 ]: [ServerThr.1] Shutdown finished
[ N 2018-01-17 22:11:53.5134 62509/T1t Ser/Server.h:886 ]: [ServerThr.30] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5134 62509/T1l Ser/Server.h:886 ]: [ServerThr.26] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5134 62509/T1p Ser/Server.h:886 ]: [ServerThr.28] Freed 128 spare client objects
[ N 2018-01-17 22:11:53.5134 62509/T1t Ser/Server.h:531 ]: [ServerThr.30] Shutdown finished
[ N 2018-01-17 22:11:53.5134 62509/T1l Ser/Server.h:531 ]: [ServerThr.26] Shutdown finished
[ N 2018-01-17 22:11:53.5134 62509/T1p Ser/Server.h:531 ]: [ServerThr.28] Shutdown finished
[ N 2018-01-17 22:11:53.8619 62509/T1 age/Cor/CoreMain.cpp:1150 ]: Passenger core shutdown finished
[Wed Jan 17 22:11:54.056580 2018] [hostinglimits:notice] [pid 62592:tid 140679449917568] mod_hostinglimits: use Min UID 1000
[Wed Jan 17 22:11:54.056638 2018] [hostinglimits:notice] [pid 62592:tid 140679449917568] mod_hostinglimits: version 1.0-36. LVE mechanism enabled
[Wed Jan 17 22:11:54.056641 2018] [hostinglimits:notice] [pid 62592:tid 140679449917568] mod_hostinglimits: found apr extention version 3
[Wed Jan 17 22:11:54.056648 2018] [hostinglimits:notice] [pid 62592:tid 140679449917568] mod_hostinglimits: apr_lve_environment_init_group_minuid check ok
[Wed Jan 17 22:11:54.057004 2018] [lsapi:notice] [pid 62592:tid 140679449917568] mod_lsapi: version 1.1-21 with CRIU support. Connection pool mode is switched off
[Wed Jan 17 22:11:54.059558 2018] [:notice] [pid 62593:tid 140679449917568] [host server2.XXXX.com] mod_lsapi: Selfstarter 62593 started
[Wed Jan 17 22:11:54.065394 2018] [ssl:warn] [pid 62592:tid 140679449917568] AH01909: 96.43.136.234:443:0 server certificate does NOT include an ID which matches the server name
[ N 2018-01-17 22:11:54.4262 62600/T1 age/Wat/WatchdogMain.cpp:1267 ]: Starting Passenger watchdog...
[ N 2018-01-17 22:11:54.4334 62603/T1 age/Cor/CoreMain.cpp:1165 ]: Starting Passenger core...
[ N 2018-01-17 22:11:54.4337 62603/T1 age/Cor/CoreMain.cpp:249 ]: Passenger core running in multi-application mode.
[ N 2018-01-17 22:11:54.4560 62603/T1 age/Cor/CoreMain.cpp:905 ]: Passenger core online, PID 62603
[Wed Jan 17 22:11:54.664606 2018] [mpm_worker:notice] [pid 62592:tid 140679449917568] AH00292: Apache/2.4.29 (cPanel) OpenSSL/1.0.2k mod_bwlimited/1.4 mod_fcgid/2.3.9 Phusion_Passenger/5.1.11 configured -- resuming normal operations
[Wed Jan 17 22:11:54.664677 2018] [core:notice] [pid 62592:tid 140679449917568] AH00094: Command line: '/usr/sbin/httpd'
[ N 2018-01-17 22:11:57.1790 62603/T5 age/Cor/SecurityUpdateChecker.h:374 ]: Security update check: no update found (next check in 24 hours)
[Wed Jan 17 22:16:22.296638 2018] [cgid:error] [pid 62691:tid 140678748133120] (70008)Partial results are valid but processing is incomplet
-
Hello, Could you open a support ticket using the link in my signature so we can take a closer look? Thank you. 0 -
Good morning, cPMichael. We have been getting these too as offten as many times per day: [ N 2018-05-16 01:21:56.4894 5621/T1 age/Wat/WatchdogMain.cpp:1267 ]: Starting Passenger watchdog... [ N 2018-05-16 01:21:56.5323 5625/T1 age/Cor/CoreMain.cpp:1165 ]: Starting Passenger core... [ N 2018-05-16 01:21:56.5327 5625/T1 age/Cor/CoreMain.cpp:249 ]: Passenger core running in multi-application mode. [ N 2018-05-16 01:21:56.5468 5625/T1 age/Cor/CoreMain.cpp:905 ]: Passenger core online, PID 5625 [ N 2018-05-16 01:21:56.6333 5625/T3 age/Cor/CoreMain.cpp:589 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown) [ N 2018-05-16 01:21:56.6333 5625/T1 age/Cor/CoreMain.cpp:1080 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected... [ N 2018-05-16 01:21:56.6336 5625/Tf Ser/Server.h:886 ]: [ApiServer] Freed 0 spare client objects [ N 2018-05-16 01:21:56.6336 5625/Tf Ser/Server.h:531 ]: [ApiServer] Shutdown finished [ N 2018-05-16 01:21:56.6338 5625/T9 Ser/Server.h:886 ]: [ServerThr.2] Freed 128 spare client objects [ N 2018-05-16 01:21:56.6338 5625/Tc Ser/Server.h:886 ]: [ServerThr.3] Freed 128 spare client objects [ N 2018-05-16 01:21:56.6338 5625/T9 Ser/Server.h:531 ]: [ServerThr.2] Shutdown finished [ N 2018-05-16 01:21:56.6338 5625/Tc Ser/Server.h:531 ]: [ServerThr.3] Shutdown finished [ N 2018-05-16 01:21:56.6339 5625/T3 Ser/Server.h:886 ]: [ServerThr.1] Freed 128 spare client objects [ N 2018-05-16 01:21:56.6339 5625/T3 Ser/Server.h:531 ]: [ServerThr.1] Shutdown finished [ N 2018-05-16 01:21:56.6339 5625/Td Ser/Server.h:886 ]: [ServerThr.4] Freed 128 spare client objects [ N 2018-05-16 01:21:56.6339 5625/Td Ser/Server.h:531 ]: [ServerThr.4] Shutdown finished [ N 2018-05-16 01:21:56.6981 5625/T1 age/Cor/CoreMain.cpp:1150 ]: Passenger core shutdown finished Version: /etc/redhat-release:CloudLinux release 7.5 /usr/local/cpanel/version:11.70.0.41 /var/cpanel/envtype:xen hvm CPANEL=release I wonder whether the issue was ever resolved and if it was, how. Thanks! 0 -
Hello @MajorLancelot, The log output you provided doesn't show any error messages. Can you clarify if Apache is not properly restarting on the affected system, or if it's just the log output itself you'd like clarification on? Thank you. 0 -
Good afternoon, Michae. Yes, it was. But upgrading this morning seems to have fixed that for that. Still monitoring the issue though. 0 -
Yes, it was. But upgrading this morning seems to have fixed that for that. Still monitoring the issue though.
Hello @MajorLancelot, It's possible your system was affected by the issue referenced on the following thread: Thank you.0 -
Thanks, Michael. Running this command below was the first thing I did when we ran into that issue: yum clean all && yum update ea-apache24*
The issue started when we wanted to install alt-php-fpm and the server HTTPD went down. However, since doing that a couple of days ago, to EA is unable to be provisioned via WHM after making changes. This is the message seen: "There are no changes needed to provision based on the profile of your selection." Still on that alt-php-fpm, even from Home >> Software >> MultiPHP Manager, there is this notification: [QUOTE]PHP-FPM is available for accounts using PHP 5.4, 5.5, 5.6, 7.0, 7.1, and 7.2. To use PHP-FPM on accounts using PHP 4.4, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, and 7.2, you must install PHP-FPM for those PHP versions. To do so, perform the following steps below:
but when clicked, you won't see any changes to be made which is different from its behavior before that impromptu solution was used. Secondly, based on this doc: EasyApache FAQ - EasyApache - cPanel Documentation, there should be an "easy" directory at this location: /usr/local/cpanel/logs/easy/ but there is none. Was this moved from recent versions or am I missing something here? Must admit that I've never looked for it before. Thank you!0 -
Hello @MajorLancelot, Still on that alt-php-fpm, even from Home >> Software >> MultiPHP Manager, there is this notification: but when clicked, you won't see any changes to be made which is different from its behavior before that impromptu solution was used.
There's an open case and forums thread on this topic at:Secondly, based on this doc:
That's the documentation for EasyApache 3. That's no longer the case in EasyApache 4, since package updates are now handled through YUM. Thank you.0 -
Thank you ever so much. 0
Please sign in to leave a comment.
Comments
8 comments