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 error

Discussion in 'General Discussion' started by DutchWebCenter, May 9, 2015.

  1. DutchWebCenter

    DutchWebCenter Registered

    Joined:
    May 9, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    The Netherlands
    cPanel Access Level:
    Root Administrator
    Hi community,

    I have searched through a lot of threads but i can't find my solution (maybe because my lack of code knowledge).

    My error:

    Code:
    root@vps-8118-0683 [~]# service httpd start
    Warning: DocumentRoot [/dev/null] does not exist
    [Sun May 10 02:55:18 2015] [error] VirtualHost 37.252.122.83:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
    I've been searching in my httpd config but as i Google the error, my httpd should be fine.

    Could anyone help me out here?
     
  2. kiraanmore

    kiraanmore Registered

    Joined:
    Feb 24, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Try rebuilding httpd config and then restart httpd service. You can rebuild httpd conf using below :

    /scripts/rebuildhttpdconf
     
  3. DutchWebCenter

    DutchWebCenter Registered

    Joined:
    May 9, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    The Netherlands
    cPanel Access Level:
    Root Administrator
    Thanks for your reply kiraanmore.
    Sadly enough it didn't worked out, it made my websites go down(made a backup before :)).
    It said this in the console:
    Code:
    root@vps-8118-0683 [/scripts]# ./rebuildhttpdconf
    info [rebuildhttpdconf] Missing IP for domain cpanel.localdomain, using 37.252.122.83
    info [rebuildhttpdconf] Missing ServerName for domain cpanel.localdomain, using cpanel.localdomain
    info [rebuildhttpdconf] Missing port for domain cpanel.localdomain, using 80
    info [rebuildhttpdconf] Missing user for domain cpanel.localdomain, using nobody
    info [rebuildhttpdconf] Missing owner for domain cpanel.localdomain, force lookup to root
    info [rebuildhttpdconf] Missing group for domain cpanel.localdomain, using nobody
    warn [rebuildhttpdconf] Shared IP 37.252.122.83 is the domain forward ip. Apache will not have a shared vhost on this IP
    warn [rebuildhttpdconf] Shared IP 37.252.122.83 is the domain forward ip. Apache will not have a shared vhost on this IP
    Built /usr/local/apache/conf/httpd.conf OK
    root@vps-8118-0683 [/scripts]# cd
    root@vps-8118-0683 [~]# service httpd restart
    Warning: DocumentRoot [/dev/null] does not exist
    [Sun May 10 13:49:54 2015] [error] VirtualHost 37.252.122.83:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
    
    I'm tried to get Momit mmonit.com/monit/ working, and you can access Monit normaly through port 2812, but for me nothing came up. So i checked my HTTPD and discovered this error.
     
    #3 DutchWebCenter, May 10, 2015
    Last edited by a moderator: May 10, 2015
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Make sure the hostname of the server is not added to an account. EX:

    Code:
    grep `hostname` /var/cpanel/users/*
    Also, verify if you intended to setup domain forwarding via "WHM Home » DNS Functions » Setup/Edit Domain Forwarding".

    Thank you.
     
  5. DutchWebCenter

    DutchWebCenter Registered

    Joined:
    May 9, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    The Netherlands
    cPanel Access Level:
    Root Administrator
    Thank you for your answer Michael :)
     
Loading...

Share This Page