Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: nginx service wouldn't start

$
0
0
yes the output of the test is:

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

but when I'm trying to run `sudo -nginx -s reload` I got this error:

nginx: [error] invalid PID number "" in "/run/nginx.pid"

I actually have this entry in /etc/nginx/nginx.conf this file exists but it is empty

How it can be solved?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>