Apache still running after uninstalling
- by Ruslan Osipov
I am trying to uninstall apache to install nginx, but it doesn't seem to work.
$ ps aux | grep httpd
root 22348 0.0 0.2 167252 8864 ? Ss 14:33 0:00 /usr/sbin/httpd -k start -DSSL
apache 22353 0.0 0.1 167624 6088 ? S 14:33 0:00 /usr/sbin/httpd -k start -DSSL
apache 22354 0.0 0.1 167252 5292 ? S 14:33 0:00 /usr/sbin/httpd -k start -DSSL
apache 22355 0.0 0.1 167252 5052 ? S 14:33 0:00 /usr/sbin/httpd -k start -DSSL
apache 22356 0.0 0.1 167252 5052 ? S 14:33 0:00 /usr/sbin/httpd -k start -DSSL
apache 22357 0.0 0.1 167252 5052 ? S 14:33 0:00 /usr/sbin/httpd -k start -DSSL
apache 22797 0.0 0.1 167252 5052 ? S 14:38 0:00 /usr/sbin/httpd -k start -DSSL
1003 22883 0.0 0.0 9388 884 pts/1 S+ 14:46 0:00 grep httpd
$ which apache2
$ dpkg -S apache
bash-completion: /etc/bash_completion.d/apache2ctl
apparmor: /etc/apparmor.d/abstractions/apache2-common
$ dpkg -S `which httpd`
dpkg-query: no path found matching pattern /usr/sbin/httpd.
The package seem to be uninstalled, but the processes are still running. And /usr/bin/httpd is still there. Any hints?