Failed to start Apache web server managed by cPanel EasyApache

greektranslator

Well-Known Member
Jun 5, 2011
88
2
58
Greece
cPanel Access Level
Root Administrator
I get this message:

Code:
  May 15 10:50:27 host systemd: Failed to start Apache web server managed by cPanel EasyApache.

Startup Log
        May 15 10:50:27 host.example.com systemd[1]: Starting Apache web server managed by cPanel EasyApache...
        May 15 10:50:27 host.example.com restartsrv_httpd[9791]: AH00526: Syntax error on line 1 of /etc/apache2/conf.modules.d/361_mod_cpgninx.conf:
        May 15 10:50:27 host.example.com restartsrv_httpd[9791]: Invalid command 'RemoteIPHeader', perhaps misspelled or defined by a module not included in the server configuration
        May 15 10:50:27 host.example.com systemd[1]: httpd.service: control process exited, code=exited status=1
        May 15 10:50:27 host.example.com systemd[1]: Failed to start Apache web server managed by cPanel EasyApache.
        May 15 10:50:27 host.example.com systemd[1]: Unit httpd.service entered failed state.
        May 15 10:50:27 host.example.com systemd[1]: httpd.service failed.

Log Messages
        May 15 10:50:27 host systemd: Failed to start Apache web server managed by cPanel EasyApache.

httpd has failed. Contact your system administrator if the service does not automagically recover.
And when I try to restart Apache:

Code:
warn [safeapacherestart] The webserver failed to resume normal operations and is not running at /usr/local/cpanel/Cpanel/HttpUtils/ApRestart.pm line 498. Apache Restart Output: Apache could not be started due to an error: The “/usr/local/cpanel/scripts/restartsrv_httpd” command (process 10052) reported error number 255 when it ended. Waiting for “httpd” to start ………Waiting for httpd,litespeed,lscgid to shutdown ... not running. ……failed. Cpanel::Exception::Services::StartError Service Status Service Error (XID gy4pfw) The “httpd” service failed to start. Startup Log May 15 10:52:55 host.example.com systemd[1]: Starting Apache web server managed by cPanel EasyApache... May 15 10:52:55 host.example.com restartsrv_httpd[10173]: AH00526: Syntax error on line 1 of /etc/apache2/conf.modules.d/361_mod_cpgninx.conf: May 15 10:52:55 host.example.com restartsrv_httpd[10173]: Invalid command 'RemoteIPHeader', perhaps misspelled or defined by a module not included in the server configuration May 15 10:52:55 host.example.com systemd[1]: httpd.service: control process exited, code=exited status=1 May 15 10:52:55 host.example.com systemd[1]: Failed to start Apache web server managed by cPanel EasyApache. May 15 10:52:55 host.example.com systemd[1]: Unit httpd.service entered failed state. May 15 10:52:55 host.example.com systemd[1]: httpd.service failed. Log Messages May 15 10:52:55 host systemd: Failed to start Apache web server managed by cPanel EasyApache. Startup Log May 15 10:52:55 host.example.com systemd[1]: Starting Apache web server managed by cPanel EasyApache... May 15 10:52:55 host.example.com restartsrv_httpd[10173]: AH00526: Syntax error on line 1 of /etc/apache2/conf.modules.d/361_mod_cpgninx.conf: May 15 10:52:55 host.example.com restartsrv_httpd[10173]: Invalid command 'RemoteIPHeader', perhaps misspelled or defined by a module not included in the server configuration May 15 10:52:55 host.example.com systemd[1]: httpd.service: control process exited, code=exited status=1 May 15 10:52:55 host.example.com systemd[1]: Failed to start Apache web server managed by cPanel EasyApache. May 15 10:52:55 host.example.com systemd[1]: Unit httpd.service entered failed state. May 15 10:52:55 host.example.com systemd[1]: httpd.service failed. Log Messages May 15 10:52:55 host systemd: Failed to start Apache web server managed by cPanel EasyApache. httpd has failed. Contact your system administrator if the service does not automagically recover. Log: ** (process:7280): CRITICAL **: enchant_dict_check: assertion 'len' failed ** (process:7280): CRITICAL **: enchant_dict_check: assertion 'len' failed ** (process:7280): CRITICAL **: enchant_dict_suggest: assertion 'len' failed [Tue May 15 10:48:58.872867 2018] [core:warn] [pid 15100:tid 139676011862144] AH00045: child process 25759 still did not exit, sending a SIGTERM [Tue May 15 10:49:00.875110 2018] [core:warn] [pid 15100:tid 139676011862144] AH00045: child process 25759 still did not exit, sending a SIGTERM [Tue May 15 10:49:02.877081 2018] [core:warn] [pid 15100:tid 139676011862144] AH00045: child process 25759 still did not exit, sending a SIGTERM [Tue May 15 10:49:04.879475 2018] [core:error] [pid 15100:tid 139676011862144] AH00046: child process 25759 still did not exit, sending a SIGKILL [Tue May 15 10:49:05.880838 2018] [mpm_event:notice] [pid 15100:tid 139676011862144] AH00491: caught SIGTERM, shutting down
 
Last edited by a moderator: