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 service is down! What to do?

Discussion in 'General Discussion' started by septi, Dec 31, 2012.

  1. septi

    septi Active Member

    Joined:
    Dec 27, 2012
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Code:
    root@host [/var/cpanel/templates/apache2]# /usr/local/cpanel/bin/apache_conf_distiller --update
    info [apache_conf_distiller] 'local' datastore in use (/var/cpanel/conf/apache/local)
    info [apache_conf_distiller] Missing IP for domain host.buildingsuperteams.com, using 67.159.44.4
    info [apache_conf_distiller] Missing port for domain host.buildingsuperteams.com, using 80
    info [apache_conf_distiller] Missing user for domain host.buildingsuperteams.com, using nobody
    info [apache_conf_distiller] Missing group for domain host.buildingsuperteams.com, using nobody
    info [apache_conf_distiller] Missing ServerName for domain host.buildingsuperteams.com, using host.buildingsuperteams.com
    info [apache_conf_distiller] Domain ownership conflict detected for buildingsuperteams.com, users nobody, building
    Distilled successfully
    root@host [/var/cpanel/templates/apache2]# /usr/local/cpanel/bin/build_apache_conf
    info [build_apache_conf] 'local' datastore in use (/var/cpanel/conf/apache/local)
    info [build_apache_conf] Missing IP for domain host.buildingsuperteams.com, using 67.159.44.4
    info [build_apache_conf] Missing port for domain host.buildingsuperteams.com, using 80
    info [build_apache_conf] Missing user for domain host.buildingsuperteams.com, using nobody
    info [build_apache_conf] Missing group for domain host.buildingsuperteams.com, using nobody
    info [build_apache_conf] Missing ServerName for domain host.buildingsuperteams.com, using host.buildingsuperteams.com
    info [build_apache_conf] Domain ownership conflict detected for buildingsuperteams.com, users nobody, building
    Built /usr/local/apache/conf/httpd.conf OK
    root@host [/var/cpanel/templates/apache2]# /etc/init.d/httpd -k graceful
    root@host [/var/cpanel/templates/apache2]# service httpd status
    
    Looking up localhost
    Making HTTP connection to localhost
    Sending HTTP request.
    HTTP request sent; waiting for response.
    Retrying as HTTP0 request.
    Looking up localhost
    Making HTTP connection to localhost
    Alert!: Unable to connect to remote host.
    
    lynx: Can't access startfile http://localhost/whm-server-status
    root@host [/var/cpanel/templates/apache2]#

    The server's main domain is buildingsuperteams.com

    Because I want to change the front page when people visit buildingsuperteams.com I created a user building for buildingsuperteams.com that is a very long time ago.

    That's probably why the user conflict happen. What to do now?

    What should I do now?
     
  2. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    This isn't a server down.

    It's a problem with apache's config for you see WHM Server Status or wokr properly with 127.0.0.1


    There're line in your httpd.conf
    Code:
    Listen 0.0.0.0:80
    Listen 127.0.0.1:80
    ...
    <Location /whm-server-status>
        SetHandler server-status
        Order deny,allow
        Deny from all
        Allow from 127.0.0.1
    </Location>
    

    Please post
    Code:
    httpd -e DEBUG
     
Loading...

Share This Page