Skip to content
Advertisement

Failed to start ngnix.service: Unit ngnix.service not found

I have installed ngnix on ubuntu 20.04 . But when i am giving command sudo systemctl start ngnix . I am facing an error

Failed to start ngnix.service: Unit ngnix.service not found.

Please help me out through this problem.

Advertisement

Answer

It’s called nginx, not ngnix. So you need to start it as sudo systemctl start nginx (note the spelling).

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement