swcraft
swcraft

Reputation: 2112

NginX still running when uninstalled it

I have tried to uninstall NGinX from my Ubuntu using following command:

 sudo apt-get remove nginx-core nginx-full nginx-light nginx-extras nginx-common    

I have used below command as well

 sudo apt-get remove --purge nginx*

And still see below screen when I check NginX processes running.

What is happening??

NginX still running after uninstalling it

Upvotes: 10

Views: 6502

Answers (4)

somnath-more
somnath-more

Reputation: 81

Remove the configuration files, and additionally, it will list packages available in repositories that matched the regex “nginx*” (these packages are just listed and aren’t installed).

sudo apt-get remove --purge nginx*

But Be Carefull All important files will get also removed.

Upvotes: 2

Goddard
Goddard

Reputation: 3059

This happened to me once as well.

To fix this you will want to disable the systemd boot process from starting.

sudo systemctl disable nginx

That way on next reboot it shouldn't start again.

Upvotes: 2

user12452018
user12452018

Reputation: 29

Try to clear the web browser cache. It works for me.

Upvotes: 2

Nimitz
Nimitz

Reputation: 111

Try to run sudo killall nginx.

Upvotes: 9

Related Questions