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!

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.example.com, using 67.159.44.4
    info [apache_conf_distiller] Missing port for domain host.example.com, using 80
    info [apache_conf_distiller] Missing user for domain host.example.com, using nobody
    info [apache_conf_distiller] Missing group for domain host.example.com, using nobody
    info [apache_conf_distiller] Missing ServerName for domain host.example.com, using host.example.com
    info [apache_conf_distiller] Domain ownership conflict detected for example.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.example.com, using 67.159.44.4
    info [build_apache_conf] Missing port for domain host.example.com, using 80
    info [build_apache_conf] Missing user for domain host.example.com, using nobody
    info [build_apache_conf] Missing group for domain host.example.com, using nobody
    info [build_apache_conf] Missing ServerName for domain host.example.com, using host.example.com
    info [build_apache_conf] Domain ownership conflict detected for example.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 example.com

    Because I want to change the front page when people visit example.com I created a user building for example.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:
    325
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Pastrana :: Guadalajara :: 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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice