From time to time we can't reload the nginx service and get this error... /var/run/ No su

Reloading nginx daemon configuration…cat: /var/run/ No such
or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec …
kill -l [sigspec]

can’t reload.

Any idea why?

I can’t stop it or restart it, I have to kill it and start.

uname -anginx -v


Istvan, see below:

Linux 2.6.18-128.4.1.el5PAE #1 SMP Tue Aug 4
EDT 2009 i686 athlon i386 GNU/Linux
nginx version: nginx/0.8.14


It’s a bug in the Debian/Ubuntu /etc/init.d/nginx script. It’d be nice
if someone with some Debian-fu could fix it.


couple of days ago we had this thread:,5405

the init script you might to want:,file=92,filename=nginx.init,download=1


yeah i like your redhat one, i asked someone to port over the same
neat conftest stuff etc.

Great, I’ll give that a shot. Thanks!

Pls help I have the problem, how to do?

Posted at Nginx Forum:,6380,243049#msg-243049

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs