bug: apache restart fails to detect success

rch7

Member
Sep 25, 2017
13
1
3
North America
cPanel Access Level
Root Administrator
Apache restart from WHM v98.0.10 takes forever and ends with error message:
Failed to find “configured -- resuming normal operations ” or “starts successfully! ” at /usr/local/cpanel/Cpanel/HttpUtils/ApRestart.pm line 499.
It searches for $APACHE_RESUME_MESSAGE = "configured -- resuming normal operations\n" but actual line in error_log ends with "configured -- resuming normal operations MyHostNameHERE.com".
 

rch7

Member
Sep 25, 2017
13
1
3
North America
cPanel Access Level
Root Administrator
[Thu Aug 12 04:20:43.356998 2021] [mpm_event:notice] [pid 22585:tid 47991987426368] AH00489: Apache/2.4.48 (cPanel) OpenSSL/1.1.1k mod_bwlimited/1.4 configured -- resuming normal operations XXXXXXXXXXXX.com
It is what is expected if you look at Apache source