I've got Ubuntu 11.04 i386 server with nginx 1.0.11 installed. Also, I'm using this init.d script, the only one I've found in several different places. It starts the server nicely, however, on stop/reset it says
* Stopping Nginx Server... [fail]
Of course, the daemon is not stopped, and upon restart the configuration is not reloaded.
How can I repair this?
/run/nginx.pid
in nginx.conf that i replaced with/var/run/nginx.pid
and it worked. thanks! – Aylmar