You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Michael Avila <Mi...@sbcglobal.net> on 2005/11/15 20:50:14 UTC

[users@httpd] Apache Started to Refuse Connections

Windows XP Pro
Apache 2.0.55

First time more than 2 or 3 people accessed the server from external
sources. Just kept getting a message that Apache was refusing the
connection. Restart would not help. Had to stop and then start and it was
okay. May happen again. Below is all that is in the error log. Made second
Virtual Host entry because people access it by both and it was failing the
second way but works now.


Error Log
=======
[Tue Nov 15 14:39:38 2005] [notice] Child 3648: Released the start mutex
[Tue Nov 15 14:39:39 2005] [notice] Child 3648: Waiting for 250 worker
threads to exit.
[Tue Nov 15 14:39:39 2005] [notice] Child 3648: All worker threads have
exited.
[Tue Nov 15 14:39:39 2005] [notice] Child 3648: Child process is exiting
[Tue Nov 15 14:39:40 2005] [notice] Parent: Child process exited
successfully.
[Tue Nov 15 14:39:43 2005] [warn] _default_ VirtualHost overlap on port 80,
the first has precedence
[Tue Nov 15 14:39:44 2005] [notice] Apache/2.0.55 (Win32) PHP/4.3.9 DAV/2
configured -- resuming normal operations
[Tue Nov 15 14:39:44 2005] [notice] Server built: Oct  9 2005 19:16:56
[Tue Nov 15 14:39:44 2005] [notice] Parent: Created child process 5176
[Tue Nov 15 14:39:44 2005] [warn] _default_ VirtualHost overlap on port 80,
the first has precedence
[Tue Nov 15 14:39:44 2005] [warn] _default_ VirtualHost overlap on port 80,
the first has precedence
[Tue Nov 15 14:39:44 2005] [notice] Child 5176: Child process is running
[Tue Nov 15 14:39:44 2005] [notice] Child 5176: Acquired the start mutex.
[Tue Nov 15 14:39:44 2005] [notice] Child 5176: Starting 250 worker threads.


http.conf
=======
<VirtualHost *:80>
    ServerAdmin sterlingheights-cert@rescueteam.com
    DocumentRoot E:\ApacheGroup\Apache2\docroot
    ServerName thecertnetwork.net
    ErrorLog E:\ApacheGroup\Apache2\logs\error.log
    CustomLog E:\ApacheGroup\Apache2\logs\access.log common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin sterlingheights-cert@rescueteam.com
    DocumentRoot E:\ApacheGroup\Apache2\docroot
    ServerName www.thecertnetwork.net
    ErrorLog E:\ApacheGroup\Apache2\logs\error.log
    CustomLog E:\ApacheGroup\Apache2\logs\access.log common
</VirtualHost>

Re: [users@httpd] Apache Started to Refuse Connections

Posted by Rob Belics <ro...@charter.net>.
Don't think so.  Everyone I knew who had the problem was on cable.  
Problem not solved but we believe it's related to the ISP and DNS.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Apache Started to Refuse Connections

Posted by Michael Avila <Mi...@sbcglobal.net>.
SBC-Yahoo DSL

What causes it on cable? Maybe same problem!

Mike

-----Original Message-----
From: Rob Belics [mailto:rob_belics@charter.net]
Sent: Tuesday, November 15, 2005 6:07 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache Started to Refuse Connections


I'm wondering about this.  Are those people on cable?  I've noticed a
common thread that all the people I've know to have this issue,
including myself, are on cable.

Michael Avila wrote:

>Windows XP Pro
>Apache 2.0.55
>
>First time more than 2 or 3 people accessed the server from external
>sources. Just kept getting a message that Apache was refusing the
>connection. Restart would not help. Had to stop and then start and it was
>okay. May happen again. Below is all that is in the error log. Made second
>Virtual Host entry because people access it by both and it was failing the
>second way but works now.
>
>
>Error Log
>=======
>[Tue Nov 15 14:39:38 2005] [notice] Child 3648: Released the start mutex
>[Tue Nov 15 14:39:39 2005] [notice] Child 3648: Waiting for 250 worker
>threads to exit.
>[Tue Nov 15 14:39:39 2005] [notice] Child 3648: All worker threads have
>exited.
>[Tue Nov 15 14:39:39 2005] [notice] Child 3648: Child process is exiting
>[Tue Nov 15 14:39:40 2005] [notice] Parent: Child process exited
>successfully.
>[Tue Nov 15 14:39:43 2005] [warn] _default_ VirtualHost overlap on port 80,
>the first has precedence
>[Tue Nov 15 14:39:44 2005] [notice] Apache/2.0.55 (Win32) PHP/4.3.9 DAV/2
>configured -- resuming normal operations
>[Tue Nov 15 14:39:44 2005] [notice] Server built: Oct  9 2005 19:16:56
>[Tue Nov 15 14:39:44 2005] [notice] Parent: Created child process 5176
>[Tue Nov 15 14:39:44 2005] [warn] _default_ VirtualHost overlap on port 80,
>the first has precedence
>[Tue Nov 15 14:39:44 2005] [warn] _default_ VirtualHost overlap on port 80,
>the first has precedence
>[Tue Nov 15 14:39:44 2005] [notice] Child 5176: Child process is running
>[Tue Nov 15 14:39:44 2005] [notice] Child 5176: Acquired the start mutex.
>[Tue Nov 15 14:39:44 2005] [notice] Child 5176: Starting 250 worker
threads.
>
>
>http.conf
>=======
><VirtualHost *:80>
>    ServerAdmin sterlingheights-cert@rescueteam.com
>    DocumentRoot E:\ApacheGroup\Apache2\docroot
>    ServerName thecertnetwork.net
>    ErrorLog E:\ApacheGroup\Apache2\logs\error.log
>    CustomLog E:\ApacheGroup\Apache2\logs\access.log common
></VirtualHost>
>
><VirtualHost *:80>
>    ServerAdmin sterlingheights-cert@rescueteam.com
>    DocumentRoot E:\ApacheGroup\Apache2\docroot
>    ServerName www.thecertnetwork.net
>    ErrorLog E:\ApacheGroup\Apache2\logs\error.log
>    CustomLog E:\ApacheGroup\Apache2\logs\access.log common
></VirtualHost>
>
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache Started to Refuse Connections

Posted by Rob Belics <ro...@charter.net>.
I'm wondering about this.  Are those people on cable?  I've noticed a 
common thread that all the people I've know to have this issue, 
including myself, are on cable.

Michael Avila wrote:

>Windows XP Pro
>Apache 2.0.55
>
>First time more than 2 or 3 people accessed the server from external
>sources. Just kept getting a message that Apache was refusing the
>connection. Restart would not help. Had to stop and then start and it was
>okay. May happen again. Below is all that is in the error log. Made second
>Virtual Host entry because people access it by both and it was failing the
>second way but works now.
>
>
>Error Log
>=======
>[Tue Nov 15 14:39:38 2005] [notice] Child 3648: Released the start mutex
>[Tue Nov 15 14:39:39 2005] [notice] Child 3648: Waiting for 250 worker
>threads to exit.
>[Tue Nov 15 14:39:39 2005] [notice] Child 3648: All worker threads have
>exited.
>[Tue Nov 15 14:39:39 2005] [notice] Child 3648: Child process is exiting
>[Tue Nov 15 14:39:40 2005] [notice] Parent: Child process exited
>successfully.
>[Tue Nov 15 14:39:43 2005] [warn] _default_ VirtualHost overlap on port 80,
>the first has precedence
>[Tue Nov 15 14:39:44 2005] [notice] Apache/2.0.55 (Win32) PHP/4.3.9 DAV/2
>configured -- resuming normal operations
>[Tue Nov 15 14:39:44 2005] [notice] Server built: Oct  9 2005 19:16:56
>[Tue Nov 15 14:39:44 2005] [notice] Parent: Created child process 5176
>[Tue Nov 15 14:39:44 2005] [warn] _default_ VirtualHost overlap on port 80,
>the first has precedence
>[Tue Nov 15 14:39:44 2005] [warn] _default_ VirtualHost overlap on port 80,
>the first has precedence
>[Tue Nov 15 14:39:44 2005] [notice] Child 5176: Child process is running
>[Tue Nov 15 14:39:44 2005] [notice] Child 5176: Acquired the start mutex.
>[Tue Nov 15 14:39:44 2005] [notice] Child 5176: Starting 250 worker threads.
>
>
>http.conf
>=======
><VirtualHost *:80>
>    ServerAdmin sterlingheights-cert@rescueteam.com
>    DocumentRoot E:\ApacheGroup\Apache2\docroot
>    ServerName thecertnetwork.net
>    ErrorLog E:\ApacheGroup\Apache2\logs\error.log
>    CustomLog E:\ApacheGroup\Apache2\logs\access.log common
></VirtualHost>
>
><VirtualHost *:80>
>    ServerAdmin sterlingheights-cert@rescueteam.com
>    DocumentRoot E:\ApacheGroup\Apache2\docroot
>    ServerName www.thecertnetwork.net
>    ErrorLog E:\ApacheGroup\Apache2\logs\error.log
>    CustomLog E:\ApacheGroup\Apache2\logs\access.log common
></VirtualHost>
>  
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Apache Started to Refuse Connections

Posted by Michael Avila <Mi...@sbcglobal.net>.
Thanks! added ServerAlias www.thecertnetwork.net as suggested.  Did not see
that as an example in the httpd.conf.  I'm learning!

Mike


-----Original Message-----
From: Rich Bowen [mailto:rbowen@rcbowen.com]
Sent: Wednesday, November 16, 2005 3:22 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache Started to Refuse Connections


Michael Avila wrote:
> Windows XP Pro
> Apache 2.0.55
>
> First time more than 2 or 3 people accessed the server from external
> sources. Just kept getting a message that Apache was refusing the
> connection. Restart would not help. Had to stop and then start and it was
> okay. May happen again. Below is all that is in the error log. Made second
> Virtual Host entry because people access it by both and it was failing the
> second way but works now.

While I don't quite understand your problem description, I can certainly
tell you how to fix the error message tha tyou are getting:

> [Tue Nov 15 14:39:43 2005] [warn] _default_ VirtualHost overlap on port
80,
> the first has precedence

> http.conf
> =======

You need to add here:

NameVirtualHost *:80

> <VirtualHost *:80>
>     ServerAdmin sterlingheights-cert@rescueteam.com
>     DocumentRoot E:\ApacheGroup\Apache2\docroot
>     ServerName thecertnetwork.net
>     ErrorLog E:\ApacheGroup\Apache2\logs\error.log
>     CustomLog E:\ApacheGroup\Apache2\logs\access.log common
> </VirtualHost>
>
> <VirtualHost *:80>
>     ServerAdmin sterlingheights-cert@rescueteam.com
>     DocumentRoot E:\ApacheGroup\Apache2\docroot
>     ServerName www.thecertnetwork.net
>     ErrorLog E:\ApacheGroup\Apache2\logs\error.log
>     CustomLog E:\ApacheGroup\Apache2\logs\access.log common
> </VirtualHost>

Adding that line tells Apache that there's more than one name-based
virtual host on the *:80 address.

However, as it happens, in this case, since both vhosts point to exactly
the same place, it makes rather more sense to combine them into one
vhost, and put a ServerAlias directive in there:

<VirtualHost *:80>
    ServerAdmin sterlingheights-cert@rescueteam.com
    DocumentRoot E:\ApacheGroup\Apache2\docroot
    ServerName thecertnetwork.net
    ServerAlias www.thecertnetwork.net
    ErrorLog E:\ApacheGroup\Apache2\logs\error.log
    CustomLog E:\ApacheGroup\Apache2\logs\access.log common
</VirtualHost>

--
Rich Bowen
rbowen@rcbowen.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache Started to Refuse Connections

Posted by Rich Bowen <rb...@rcbowen.com>.
Michael Avila wrote:
> Windows XP Pro
> Apache 2.0.55
> 
> First time more than 2 or 3 people accessed the server from external
> sources. Just kept getting a message that Apache was refusing the
> connection. Restart would not help. Had to stop and then start and it was
> okay. May happen again. Below is all that is in the error log. Made second
> Virtual Host entry because people access it by both and it was failing the
> second way but works now.

While I don't quite understand your problem description, I can certainly
tell you how to fix the error message tha tyou are getting:

> [Tue Nov 15 14:39:43 2005] [warn] _default_ VirtualHost overlap on port 80,
> the first has precedence

> http.conf
> =======

You need to add here:

NameVirtualHost *:80

> <VirtualHost *:80>
>     ServerAdmin sterlingheights-cert@rescueteam.com
>     DocumentRoot E:\ApacheGroup\Apache2\docroot
>     ServerName thecertnetwork.net
>     ErrorLog E:\ApacheGroup\Apache2\logs\error.log
>     CustomLog E:\ApacheGroup\Apache2\logs\access.log common
> </VirtualHost>
> 
> <VirtualHost *:80>
>     ServerAdmin sterlingheights-cert@rescueteam.com
>     DocumentRoot E:\ApacheGroup\Apache2\docroot
>     ServerName www.thecertnetwork.net
>     ErrorLog E:\ApacheGroup\Apache2\logs\error.log
>     CustomLog E:\ApacheGroup\Apache2\logs\access.log common
> </VirtualHost>

Adding that line tells Apache that there's more than one name-based
virtual host on the *:80 address.

However, as it happens, in this case, since both vhosts point to exactly
the same place, it makes rather more sense to combine them into one
vhost, and put a ServerAlias directive in there:

<VirtualHost *:80>
    ServerAdmin sterlingheights-cert@rescueteam.com
    DocumentRoot E:\ApacheGroup\Apache2\docroot
    ServerName thecertnetwork.net
    ServerAlias www.thecertnetwork.net
    ErrorLog E:\ApacheGroup\Apache2\logs\error.log
    CustomLog E:\ApacheGroup\Apache2\logs\access.log common
</VirtualHost>

-- 
Rich Bowen
rbowen@rcbowen.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org