Click here to Skip to main content
15,885,214 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

When i am trying to restart nginx using below code --

root@EZCoderDroplet:~# sudo systemctl restart nginx

When I am using this it is showing error ...

Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.

Can you help me with this.


Thanks in advance

What I have tried:

Start

Restart

Stop

Installed

UnInstalled
Posted
Updated 29-May-19 4:50am
Comments
k5054 28-May-19 10:50am    
We'll need the detail of why the ngix service failed. As the error message shows you'll need to run the commands systemctl status ngix.service and jornalctl -xe and see what the output says.

1 solution

I second the motion (with apalogies to K5054) ... but it is pointless to keep this open.

Quote:
See "systemctl status nginx.service" and "journalctl -xe" for details.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900