Received: (qmail 11801 invoked by uid 2012); 31 Jan 1998 09:33:28 -0000 Message-Id: <19980131093328.11800.qmail@hyperreal.org> Date: 31 Jan 1998 09:33:28 -0000 From: John Urschel Reply-To: johnnyu@mail.accessus.net To: apbugs@hyperreal.org Subject: Ok 20 minutes after server is rebooted it looses track of the virtual hosts and only remembers the last one in the httpd.con X-Send-Pr-Version: 3.2 >Number: 1749 >Category: os-freebsd >Synopsis: Ok 20 minutes after server is rebooted it looses track of the virtual hosts and only remembers the last one in the httpd.con >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sat Jan 31 01:40:00 PST 1998 >Last-Modified: Sat Jan 31 12:50:01 PST 1998 >Originator: johnnyu@mail.accessus.net >Organization: >Release: 1.3b2 >Environment: FreeBSD earth.GAIANET.NET 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Mon Nov 17 05:39:33 PST 1997 vince@earth.GAIANET.NET:/usr/src/sys/compile/EARTH i386 >Description: Ok I reboot the server works fine all three VIRTUAL IP based hosts work FINE. 20 minutes later the apache forgets the other virtualip servers and only answers to the last one in the httpd.conf. Why? I have read the virtual ip information on the site and applied several different variations all to no avail 20 minutes later. Here is my httpd.conf erverType standalone Port 80 HostnameLookups off User nobody Group nogroup ServerAdmin root@earth.GAIANET.NET ServerRoot /usr/local/etc/apache_1.3b2 BindAddress * ErrorLog /var/log/httpd-error.log TransferLog /var/log/httpd-access.log PidFile /var/run/httpd.pid ServerName earth.GAIANET.NET NameVirtualHost 207.211.200.75:80 Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 30 Listen 207.211.200.75:80 Listen 207.211.200.191:80 Listen 207.211.200.211:80 Listen 207.211.200.190:80 #server A ServerAdmin 901@mail.901.org DocumentRoot /home/901/public_html ServerName www.901.org ErrorLog /var/log/901httpd-error.log TransferLog /var/log/901httpd-access.log ServerAdmin vince@earth.GAIANET.NET DocumentRoot /home/ultimatesound/public_html ServerName www.ULTIMATESOUND.NET ErrorLog /var/log/ushttpd-error.log TransferLog /var/log/ushttpd-access.log ServerAdmin chad@den.net DocumentRoot /home/chad/den ServerName www.den.net ErrorLog /var/log/denhttpd-error.log TransferLog /var/log/denhttpd-access.log >How-To-Repeat: Well I don't know how to reproduce it other than to reboot and wait 20 minutes ? you can go to any of those url's in the conf and probably see the error I get after 20 minutes No file or service exists matching "/". BTW this problem also exists with 1.2.5 please help >Fix: N >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Sat Jan 31 01:46:03 PST 1998 State-Changed-Why: The two servers you complain about not working are currently not being served by a box running Apache. The box claims it is running: Worldgroup/2.00 MajorTCP/IP [2.21-1] nbTCP: 255/32 86760321 It seems like you have some other box on your network configured to use the same IPs. Probably works at boot because of how the ARP interactions happen. From: Marc Slemko To: Apache bugs database Cc: Subject: Re: os-freebsd/1749: Ok 20 minutes after server is rebooted it looses track of the virtual hosts and only remembers the last one in the httpd.con (fwd) Date: Sat, 31 Jan 1998 13:33:59 -0700 (MST) ---------- Forwarded message ---------- Date: Sat, 31 Jan 1998 12:04:11 -0800 From: JbHuNt To: marc@hyperreal.org Subject: Re: os-freebsd/1749: Ok 20 minutes after server is rebooted it looses track of the virtual hosts and only remembers the last one in the httpd.con Yes your correct that bbs.gaianet.net is a worldgroup bbs system that runs httpd as www.gaianet.net. Why would it be interfereing with earth.gaianet.net and the other 2? -----Original Message----- From: marc@hyperreal.org To: apache-bugdb@apache.org ; johnnyu@mail.accessus.net ; marc@apache.org Date: Saturday, January 31, 1998 1:51 AM Subject: Re: os-freebsd/1749: Ok 20 minutes after server is rebooted it looses track of the virtual hosts and only remembers the last one in the httpd.con >Synopsis: Ok 20 minutes after server is rebooted it looses track of the virtual hosts and only remembers the last one in the httpd.con > >State-Changed-From-To: open-closed >State-Changed-By: marc >State-Changed-When: Sat Jan 31 01:46:03 PST 1998 >State-Changed-Why: >The two servers you complain about not working are currently >not being served by a box running Apache. The box claims it is running: > Worldgroup/2.00 MajorTCP/IP [2.21-1] nbTCP: 255/32 86760321 > >It seems like you have some other box on your network >configured to use the same IPs. Probably works at boot >because of how the ARP interactions happen. > From: Marc Slemko To: JbHuNt Cc: Apache bugs database Subject: Re: os-freebsd/1749: Ok 20 minutes after server is rebooted it looses track of the virtual hosts and only remembers the last one in the httpd.con Date: Sat, 31 Jan 1998 13:35:23 -0700 (MST) On Sat, 31 Jan 1998, JbHuNt wrote: > Yes your correct that bbs.gaianet.net is a worldgroup bbs system that runs > httpd as www.gaianet.net. Why would it be interfereing with > earth.gaianet.net and the other 2? I have no idea. You need to look at how it is configured because it _IS_ stealing the IP address. Try telnetting to the IP addresses that you think should go to vhosts on the box running Apache and you will see this. There is nothing Apache can do about that. > -----Original Message----- > From: marc@hyperreal.org > To: apache-bugdb@apache.org ; > johnnyu@mail.accessus.net ; marc@apache.org > > Date: Saturday, January 31, 1998 1:51 AM > Subject: Re: os-freebsd/1749: Ok 20 minutes after server is rebooted it > looses track of the virtual hosts and only remembers the last one in the > httpd.con > > > >Synopsis: Ok 20 minutes after server is rebooted it looses track of the > virtual hosts and only remembers the last one in the httpd.con > > > >State-Changed-From-To: open-closed > >State-Changed-By: marc > >State-Changed-When: Sat Jan 31 01:46:03 PST 1998 > >State-Changed-Why: > >The two servers you complain about not working are currently > >not being served by a box running Apache. The box claims it is running: > > Worldgroup/2.00 MajorTCP/IP [2.21-1] nbTCP: 255/32 86760321 > > > >It seems like you have some other box on your network > >configured to use the same IPs. Probably works at boot > >because of how the ARP interactions happen. > > > >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]