Forum: NGINX from time to time we can't reload the nginx service and get this error... /var/run/nginx.pid: No su

27d07ab5a9b0923e138819caa42e09c1?d=identicon&s=25 Ilan Berkner (Guest)
on 2009-09-11 00:36
(Received via mailing list)
Reloading nginx daemon configuration...cat: /var/run/nginx.pid: No such
file
or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ...
or
kill -l [sigspec]

 can't reload.

Any idea why?

I can't stop it or restart it, I have to kill it and start.
022210bcab2575d7518b94f94b04df69?d=identicon&s=25 István (Guest)
on 2009-09-11 00:57
(Received via mailing list)
uname -anginx -v

pls.
27d07ab5a9b0923e138819caa42e09c1?d=identicon&s=25 Ilan Berkner (Guest)
on 2009-09-11 01:03
(Received via mailing list)
Istvan, see below:

Linux server2.mydomain.com 2.6.18-128.4.1.el5PAE #1 SMP Tue Aug 4
20:58:34
EDT 2009 i686 athlon i386 GNU/Linux
nginx version: nginx/0.8.14

Thanks!
2e321cc0efe9422d37165e922298494e?d=identicon&s=25 Cliff Wells (Guest)
on 2009-09-11 01:14
(Received via mailing list)
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.

Cliff
F5a6ed477b109fe6acc11a5a8f87e7e8?d=identicon&s=25 Michael Shadle (Guest)
on 2009-09-11 01:23
(Received via mailing list)
yeah i like your redhat one, i asked someone to port over the same
neat conftest stuff etc.
022210bcab2575d7518b94f94b04df69?d=identicon&s=25 István (Guest)
on 2009-09-11 01:42
(Received via mailing list)
couple of days ago we had this thread:

http://forum.nginx.org/read.php?2,5405

the init script you might to want:

http://forum.nginx.org/file.php?2,file=92,filename...

regards,
Istvan
27d07ab5a9b0923e138819caa42e09c1?d=identicon&s=25 Ilan Berkner (Guest)
on 2009-09-11 01:48
(Received via mailing list)
Great, I'll give that a shot.  Thanks!
2974d09ac2541e892966b762aad84943?d=identicon&s=25 liyucmh (Guest)
on 2013-09-25 14:30
(Received via mailing list)
Pls help I have the problem, how to do?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,6380,243049#msg-243049
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.