Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    DDJ
    DDJ is offline
    Registered User
    Join Date
    May 2009
    Posts
    1

    Exclamation Strange problem with Apache and WHM...

    Hello, I have installed on my Dedicated Server an application which needs to listen on port 80 in order to work correctly.

    To solve the obvious conflict with Apache which needs to listen on port 80 too, I modified the Apache configuration (from the "Tweak Settings" menu voice of the WHM panel where it says "The port on which Apache listens for HTTP connections") changing the default setting "0.0.0.0:80" (i.e. listen on "all IPs") with my main server IP "IP1:80". Then I modified my application to listen on the port 80 of the other IP address assigned to my server ("IP2:80").

    Everything works fine but when I restart Apache from WHM I get this strange error "httpd has failed, please contact the sysadmin". Strange and misleading error because actually Apache starts fine and my site works perfectly. But because of this WHM error I can't monitor Apache from WHM anymore because it looks like "not started" (false!).

    It seems that WHM doesn't like when you change the default Apache port for HTTP connections "0.0.0.0:80"...

    Any help? Thank you!
    Marco

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by DDJ View Post
    Hello, I have installed on my Dedicated Server an application which needs to listen on port 80 in order to work correctly.

    To solve the obvious conflict with Apache which needs to listen on port 80 too, I modified the Apache configuration (from the "Tweak Settings" menu voice of the WHM panel where it says "The port on which Apache listens for HTTP connections") changing the default setting "0.0.0.0:80" (i.e. listen on "all IPs") with my main server IP "IP1:80". Then I modified my application to listen on the port 80 of the other IP address assigned to my server ("IP2:80").

    Everything works fine but when I restart Apache from WHM I get this strange error "httpd has failed, please contact the sysadmin". Strange and misleading error because actually Apache starts fine and my site works perfectly. But because of this WHM error I can't monitor Apache from WHM anymore because it looks like "not started" (false!).

    It seems that WHM doesn't like when you change the default Apache port for HTTP connections "0.0.0.0:80"...

    Any help? Thank you!
    Marco
    At this time, chkservd (which checks for services being online) is unaware of any changes made to the Apache Port in WHM. This is a known issue but I have no ETA on when this will be resolved. (Internal Case: 26350)

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Location
    New Jersey, USA
    Posts
    397

    Default

    You may want to disable the http check in the WHM Service Manager to prevent it from trying to restart it in the meantime.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    This issue is resolved in version 11.25.1.

  5. #5
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb Important cPanel/WHM Version Number Designation Change

    Please Note: Important cPanel/WHM Version Number Designation Change

    As of July 28, 2010 the cPanel/WHM version number designations have been officially changed.

    Version 11.25.1 is now designated 11.28 and version 11.25.2 is now designated 11.30.

    These new changes were explained in some detail recently at the July 2010 - Quarterly Road map - Webinar direct from cPanel's PodCast Studio in Houston, Texas with speakers David Grega and Mario Rodriguez.

    An official press release about these changes is forthcoming and can be accessed at this link as soon as it's made available to the Forum Team:
    Important cPanel/WHM Version Number Designation Change (To be updated)

    This post serves to update users who are subscribed to threads (where this message is posted) looking forward to upcoming enhancements in future versions of cPanel.

Similar Threads & Tags
Similar threads

  1. Strange Apache Problem
    By hp_m00n in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 08-05-2008, 09:38 AM
  2. Really strange problem with apache
    By benito in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-05-2008, 04:59 PM
  3. Strange problem with Apache restarting every minute
    By nickg78 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-12-2007, 05:26 PM
  4. Strange Apache 1.3.33 problem
    By netlook in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 12-05-2004, 01:58 PM
  5. Strange Apache problem...
    By (SH)Saeed in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-12-2003, 08:13 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube