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 start error (namevirtualhost errors)

Discussion in 'General Discussion' started by wowway1, Feb 14, 2005.

  1. wowway1

    wowway1 Member

    Joined:
    Jul 15, 2004
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    It's been quite a long morning for me already :(

    I tried to update apache using the script, it errored out and would not restart httpd, so I did a rebuild using the last option on the menu. I've gotten all the sites on the server that have a dedicated IP up and running, but the ones using a shared IP are pointing to a default cpanel placeholder. When starting httpd, I got these errors. Can someone please tell me either how to correct these errors, or to completely rebuild httpd.conf? Thanks

    :
    service httpd start
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.36.97:80 overlaps with Virtua
    lHost 64.5.36.97:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.36.119:80 overlaps with Virtu
    alHost 64.5.36.119:80, the first has precedence, perhaps you need a NameVirtualH
    ost directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.36.125:80 overlaps with Virtu
    alHost 64.5.36.125:80, the first has precedence, perhaps you need a NameVirtualH
    ost directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.36.122:80 overlaps with Virtu
    alHost 64.5.36.122:80, the first has precedence, perhaps you need a NameVirtualH
    ost directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.36.122:80 overlaps with Virtu
    alHost 64.5.36.122:80, the first has precedence, perhaps you need a NameVirtualH
    ost directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.36.122:80 overlaps with Virtu
    alHost 64.5.36.122:80, the first has precedence, perhaps you need a NameVirtualH
    ost directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.36.125:80 overlaps with Virtu
    alHost 64.5.36.125:80, the first has precedence, perhaps you need a NameVirtualH
    ost directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.36.96:80 overlaps with Virtua
    lHost 64.5.36.96:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.36.96:80 overlaps with Virtua
    lHost 64.5.36.96:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    [Mon Feb 14 07:45:59 2005] [warn] VirtualHost 64.5.44.93:80 overlaps with Virtua
    lHost 64.5.44.93:80, the first has precedence, perhaps you need a NameVirtualHos
    t directive
    /etc/init.d/httpd start: httpd started
     
  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
    You need to edit your /etc/httpd/conf/httpd.conf file and scroll down to just before the first <VirtualHost> container. Then for each IP address mentioned add the following once at that point:

    NameVirtualHost 11.22.33.44

    Where 11.22.33.44 is the IP address. Then restart apache and it should come up cleanly.
     
  3. wowway1

    wowway1 Member

    Joined:
    Jul 15, 2004
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Thank you very much, that did the trick!
     
Loading...

Share This Page