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.

Apache Error :(

Discussion in 'EasyApache' started by woody200456, Jan 4, 2007.

  1. woody200456

    woody200456 Member

    Joined:
    Aug 6, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hello please could someone help me fix this error im having with apache why do i keep getting this error when trying to restart or start apache:

    /etc/init.d/httpd restart: httpd not running, trying to start
    [Thu Jan 4 02:57:04 2007] [warn] NameVirtualHost MY IP HERE has no VirtualHosts
    /etc/init.d/httpd restart: httpd started

    Thanks in advanced for all your help.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's not an error, just a warning and an inconsequential one at that. It simply means that Apache has a NameVirtualHost entry for an IP address on your server, but no domains are using it yet. It's not a problem.
     
  3. woody200456

    woody200456 Member

    Joined:
    Aug 6, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    ok thanks but my apache wont start ive tried restarting it via WHM and it says failed and also via root and it brings that message above and still wont start or restart.

    please help and thanks in advanced.
     
  4. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    check in your /usr/local/apache/logs/error_log for the error when you fail to restart it.
     
  5. HH-Steven

    HH-Steven Well-Known Member

    Joined:
    Aug 29, 2004
    Messages:
    284
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Unless im misunderstanding you here i have to disagree:


    root@**** [/usr/local/apache/bin]# ./apachectl configtest
    [Wed Apr 4 18:03:51 2007] [warn] NameVirtualHost 72.232.87.125:80 has no VirtualHosts
    [Wed Apr 4 18:03:51 2007] [warn] NameVirtualHost 72.232.87.124:80 has no VirtualHosts
    [Wed Apr 4 18:03:51 2007] [warn] NameVirtualHost 72.232.87.122:80 has no VirtualHosts
    Syntax OK

    72.232.87.122 is the main shared IP address for one of my servers and has at least 50 domains using it.

    Also, apologies for the "post on an old thread thing" im in the UK and got the dd/mm/yy - mm/dd/yy mixed up.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's probably happening because you have lines with:

    NameVirtualHost 72.232.87.125:80

    as well as:

    NameVirtualHost 72.232.87.125

    Since cPanel VirtualHost containers use the latter format and not the former you see those errors. So, they're also inconsequential and nothing to worry about.
     
Loading...

Share This Page