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.

Easyapache Fails !! Failed to restart Apache. !! Apache httpd is disabled, cannot be restarted. !

Discussion in 'EasyApache' started by RockSolid, Jul 4, 2013.

  1. RockSolid

    RockSolid Member

    Joined:
    Apr 30, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Above Stars
    cPanel Access Level:
    Root Administrator
    Hi,

    Today I encountered with an issue while rebuilding Apache for my cPanel server. I see the following error at the end.

    Distilled successfully
    !! Executing '/scripts/initsslhttpd' !!
    !! Executing '/scripts/update_apachectl' !!
    !! Restarting 'httpd' ... !!
    !! Failed to restart Apache. !!
    !! Apache httpd is disabled, cannot be restarted. !!
    !! '/usr/sbin/lsof -n -iTCP:82 -iTCP:443' failed with exit code '256' !!

    When I go to WHM > Restart services, I do not see httpd(Apache) there. I tried /scripts/upcp --force but no luck.

    what may be the problem ?

    Thank you all in advance!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Re: Easyapache Fails !! Failed to restart Apache. !! Apache httpd is disabled, cannot be restarted.

    Hello :)

    Do you have any third-party applications such as Nginx or LiteSpeed installed that could be altering Apache? If not, please check to see if the following file exists on your system:

    Code:
    /etc/httpddisable
    If it exists, delete or rename this file to ensure it does not prevent Apache from running. You can also ensure "httpd" is enabled in "WHM Home » Service Configuration » Service Manager".

    Thank you.
     
  3. RockSolid

    RockSolid Member

    Joined:
    Apr 30, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Above Stars
    cPanel Access Level:
    Root Administrator
    Re: Easyapache Fails !! Failed to restart Apache. !! Apache httpd is disabled, cannot be restarted.



    Wow! You fixed it. Thank you very much. I renamed /etc/httpddisable. Yes, I was using apachebooter plugin and removed it before all this happened.

    Please take a look at ticket IDs 4285645 and 4284631. ( and the replies ) :)

    Thank you!
     
Loading...

Share This Page