httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres Monroy-Hernandez <and...@exlibris-usa.com>
Subject Re: [users@httpd] Restart Errors (apache 2.0.50)
Date Wed, 08 Jun 2005 20:04:08 GMT
My guess is that the graceful restart is not freeing the port after all 
the children exit.

Is using apache restart out of the question? Perhaps your web 
applications don't let the children exit and the request to exit times out?

-Andres

brad bowman wrote:

>I was wondering if anyone could give some insight as to the possible
>cause of a restart error i've been getting intermittently over the
>last 8 months or so.
>
>my apache version is:
>Apache/2.0.50 (Unix) 
>
>My kernel version is:
>Linux 2.4.20-8smp (redhat 9)
>
>Basically, if I restart the server using 'apachectl graceful', it will
>restart without problems 99 percent of the time, but occasionally it
>will fail to restart, giving the error message:
>(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
>no listening sockets available, shutting down
>Unable to open logs
>
>>From my understanding, this error is normally the result of either an
>apache server already running, or something else listening on that
>port. There is nothing else running on the server that should ever
>pick up on port 80, so typically i've tried to fix the problem by
>killing all apache/httpd processes and then restarting apache, but the
>same error persists. Since this is a production server, at this point
>  
>

>i've just hedged my bets and rebooted for a 2-3 minute downtime, at
>which point operation resumes normally.
>
>Basically i'm looking for advice on what the issue could be, so I can
>stop it from happening.... or at least a _FAST_ way to get apache back
>up and running if/when it does happen, so I don't have to enter "oh
>crap the server is down" mode.
>
>any input would be appreciated
>thanks, 
>brad bowman
>
>---------------------------------------------------------------------
>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


Mime
View raw message