[Bug 174805] Re: [gutsy] graceful-stop fails when apache listens on more than one socket

brainsik spork-ubuntu at theory.org
Sun Mar 9 00:07:25 GMT 2008


This shows Apache listening on 80 and 443 and that `/etc/init.d/apache2
stop` works just fine:

# netstat -tlnp | grep apache
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     1632/apache2        
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN     1632/apache2        
# /etc/init.d/apache2 stop
 * Stopping web server apache2
   ...done.
# netstat -tlnp | grep apache
# /etc/init.d/apache2 start
 * Starting web server apache2
   ...done.
# netstat -tlnp | grep apache
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     2454/apache2        
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN     2454/apache2        


Here I call graceful-stop directly:

# netstat -tlnp | grep apache
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     2454/apache2        
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN     2454/apache2        
# apache2ctl graceful-stop
# netstat -tlnp | grep apache
# apache2ctl start
# netstat -tlnp | grep apache
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     2506/apache2        
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN     2506/apache2        


In both cases the server stops/starts just fine. This is true for the entire web cluster I manage. Something else is going on that's causing problems for other people and it would be nice to know what.

-- 
[gutsy] graceful-stop fails when apache listens on more than one socket
https://bugs.launchpad.net/bugs/174805
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.



More information about the Ubuntu-server-bugs mailing list