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.

HTTPD Down

Discussion in 'General Discussion' started by Dilan, May 6, 2017.

  1. Dilan

    Dilan Member

    Joined:
    Apr 8, 2017
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sri Lanka
    cPanel Access Level:
    Root Administrator
    Hello Guys,

    My Cpanel server HTTPD down since yesterday. Please help me to fix this error.

    I have rebuild Easy Apache 4. but problem is continuing

    here is error

    -----------------------------------
    Code:
    
    httpd.service - Apache web server managed by cPanel EasyApache
       Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
       Active: failed (Result: resources) since Sun 2017-05-07 05:06:19 CEST; 6s ago
      Process: 14197 ExecStart=/usr/local/cpanel/scripts/restartsrv_httpd --no-verbose (code=exited, status=0/SUCCESS)
    
    May 07 05:06:12 hostname.server.com systemd[1]: Starting Apache web server managed by cPanel EasyApache...
    May 07 05:06:14 hostname.server.com restartsrv_httpd[14197]: AH00112: Warning: DocumentRoot [/home/someusr/public-html/test.example.c... exist
    May 07 05:06:14 hostname.server.com restartsrv_httpd[14197]: AH00112: Warning: DocumentRoot [/home/somotherusr/public_html/example.co]... exist
    May 07 05:06:14 hostname.server.com restartsrv_httpd[14197]: AH00112: Warning: DocumentRoot [/home/someusr/public-html/test.example.c... exist
    May 07 05:06:18 hostname.server.com systemd[1]: PID file /run/apache2/httpd.pid not readable (yet?) after start.
    May 07 05:06:19 hostname.server.com systemd[1]: httpd.service never wrote its PID file. Failing.
    May 07 05:06:19 hostname.server.com systemd[1]: Failed to start Apache web server managed by cPanel EasyApache.
    May 07 05:06:19 hostname.server.com systemd[1]: Unit httpd.service entered failed state.
    May 07 05:06:19 hostname.server.com systemd[1]: httpd.service failed.
    Hint: Some lines were ellipsized, use -l to show in full.
    
    --------------------------------------------
     
    #1 Dilan, May 6, 2017
    Last edited by a moderator: May 9, 2017
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,484
    Likes Received:
    60
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    What output do you get with below commands:

    # systemctl status -l httpd
    OR
    # journalctl -a
     
    Dilan likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Is Apache still failing to start? If so, could you verify if you are using any custom Apache templates (.local files in the /var/cpanel/templates/apache2_4 directory)?

    Thank you.
     
    Dilan likes this.
  4. Dilan

    Dilan Member

    Joined:
    Apr 8, 2017
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sri Lanka
    cPanel Access Level:
    Root Administrator

    Problem has been fixed after contacting CPanel Support :)
     
Loading...

Share This Page