← Back to team overview

enterprise-support team mailing list archive

[Bug 1552822] [NEW] apache2 fails to wait on stop/restart

 

Public bug reported:

Apache2 is failing to wait for all its threads to terminate when
stopping. This leaves TCP ports still in use when apache2 tires to
restart. This has been seen on Trusty and Xenial

This becomes a problems on restarts and stop/starts.

I have seen this running a simple loop with service apache2 restart.
However this is inconsistent.

It happens more predictably when wsgi is involved even if stop and then
start are used instead of restart:

 * Stopping web server apache2
 * 
 * Starting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1552822

Title:
  apache2 fails to wait on stop/restart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1552822/+subscriptions


Follow ups