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.

Problem!! [warn] VirtualHost x.x.x.x:80 overlaps with VirtualHost x.x.x.x:80

Discussion in 'General Discussion' started by psnsupport, Jul 11, 2005.

Thread Status:
Not open for further replies.
  1. psnsupport

    psnsupport Registered

    Joined:
    Jul 2, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I was trying to update the apache using the perl module support.
    I submitted the support ticket prior to this and received that I can achieve perl module installed by running /scripts/easyapache, choosing option #7 and select perl module support in it.
    I tried as mentioned by the support personnel, but my apache is failed after the recompilation process has finished.

    Here's the output. (where both of the x.x.x.x mentioned there are same ip addresses)
    --------
    [warn] VirtualHost x.x.x.x:80 overlaps with VirtualHost x.x.x.x:80, the first has precedence, perhaps you need a NameVirtualHost directive
    /etc/rc.d/init.d/httpd start: httpd started
    Waiting for httpd to restart..............finished.
    root 22453 2.2 0.3 13488 7224 ? S 15:03 0:00 /usr/local/apache/bin/httpd -DSSL
    httpd: [ != HTTP/1..]
    httpd has failed, please contact the sysadmin.
    --------

    Now, almost all of the sites on my server are returning "zero sized reply" error upon browsing.
    Some sites are showing text without any graphics and no css sometimes.
    Sometimes, I can be able to get into cpanel of the site but not to the actual site.
    However, strangely some of the sites are still working and most of them are not. (all of them are on shared IP)
    And there is no website configured on the ipaddress where the error stated.
    Very much appreciated for the helps and suggestions.

    Thanks.
     
    #1 psnsupport, Jul 11, 2005
    Last edited: Jul 11, 2005
  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 should do exactly what the error suggests:
    That is, edit httpd.conf and search for the first virtualhost container that uses that IP address and on the line before add a line:

    NameVirtualHost x.x.x.x
     
  3. psnsupport

    psnsupport Registered

    Joined:
    Jul 2, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I have added the line NameVirtualHost x.x.x.x just above that ip address.
    stopped the httpd and restarted it.
    But I still got "Zero Sized Reply" error for all of the websites.
    Getting into www.mydomain.com/cpanel is working.
    But when browsing www.mydomain.com, it is "Zero Sized Reply" error.
    /etc/init.d/httpd configtest said Syntax OK and no other errors found after adding that NameVirtualHost entry line just above that IP.
    However, none of the websites are working yet.
     
    #3 psnsupport, Jul 11, 2005
    Last edited: Jul 11, 2005
  4. vadikz

    vadikz Registered

    Joined:
    Mar 5, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    How you solved this problem?

    How you solved this problem?

    my icq:173420334
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Please don't cross-post on the forums.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page