Bug#257414: Server processes not stopped when uninstalled/purged
Package: apache2-mpm-worker
Version: 2.0.49-1
Severity: important
I installed this variant of apache2 on a laptop to act as a local server, but
this did not work when the laptop was not connected to a network (DNS server
not available so localhost would not be resolved so I was denied access to
directories protected with 'Access allow localhost').
Anyway, I decided to switch to boa (also because apache is a bit heavy for my
purpose).
In dselect I indicated all installed apache2 packages should be purged and boa
installed. During installation I received an error during postinst of boa.
After some research, I discovered that the apache2 server processes were still
running, even though apache2 had been uninstalled. I manually killed these
processes (and after that the postinst of boa succeeded without problems).
Processes still running after uninstall (from 'ps alx'):
1 0 1803 1 16 0 6804 2724 schedu Ss ?
0:00 /usr/sbin/apache2 -k start -DSSL
5 33 1804 1803 18 0 6596 2500 schedu S ?
0:00 /usr/sbin/apache2 -k start -DSSL
5 33 1805 1803 22 0 228288 3120 pipe_w S ?
0:00 /usr/sbin/apache2 -k start -DSSL
5 33 1809 1803 18 0 228300 3188 pipe_w S ?
0:00 /usr/sbin/apache2 -k start -DSSL
Output from 'dpkg -l apache2*' after uninstall:
Desired=Unknown/Install/Remove/Purge/Hold
||/ Name Version Description
+++-=======================-=================-===========================
un apache2 <none> (no description available)
pn apache2-common <none> (no description available)
un apache2-dev <none> (no description available)
pn apache2-doc <none> (no description available)
un apache2-modules <none> (no description available)
pn apache2-mpm-perchild <none> (no description available)
pn apache2-mpm-prefork <none> (no description available)
pn apache2-mpm-threadpool <none> (no description available)
pn apache2-mpm-worker <none> (no description available)
pn apache2-prefork-dev <none> (no description available)
pn apache2-threaded-dev <none> (no description available)
Reply to: