Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Failed to start Apache web server managed by cPanel EasyApache

Discussion in 'EasyApache' started by greektranslator, May 15, 2018.

  1. greektranslator

    Joined:
    Jun 5, 2011
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    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
    
     
    #1 greektranslator, May 15, 2018
    Last edited by a moderator: May 15, 2018
  2. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    160
    Likes Received:
    17
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Do you have Cloudlinux?

    It has been revealed that there is a bug in the CloudLinux mod_remoteip php module.

    EasyApache 4 updated
     
  3. greektranslator

    Joined:
    Jun 5, 2011
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    No, CENTOS 7.5, it was an issue with cpgninx plugin, reinstalling it solved it.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,293
    Likes Received:
    1,764
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm glad to see the issue is now solved. Thank you for sharing the outcome.
     
Loading...

Share This Page