www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Burton <jam...@aone.com.au>
Subject general/152: If start twice, overwrites the PID file
Date Wed, 05 Feb 1997 04:50:01 GMT

>Number:         152
>Category:       general
>Synopsis:       If start twice, overwrites the PID file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Tue Feb  4 20:50:01 1997
>Originator:     jamesb@aone.com.au
>Release:        1.1.1
Solaris 2.5, APACHE v1.1.1, not really related to this
If you start apache twice the pid file is overwritten even though
the 2nd invocation fails and the 1st is uneffected. So if later
you want to shutdown the original invocation you have to do it
by hand 
Just start apache as per normal, then start it again
Yep, move the call to log_pid() after the attempt to bind() to the socket
so that when the bind() call fails log_pid() is not called. 


View raw message