On Thu, Dec 15, 2011 at 02:19:40PM -0500, B.R. wrote:
Still playing with nginx around, I hade today in mind to try the “on the
fly” update described on the CommandLine page of the nginx
The problem is, when I start the new master process, it gives me the
following error several times before aborting:
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
The notes on that page seem to work fine for me.
What precisely are you doing when you see the problem?
“start the new master process” should be something very like
kill -USR2 $(cat logs/nginx.pid)
After testing that things are as you expect, the next steps are like
kill -WINCH $(cat logs/nginx.pid.oldbin)
kill -QUIT $(cat logs/nginx.pid.oldbin)
If that fails for you, then probably more information about your
environment, and error log will help identify the problem.
Good luck with it,
Francis D. [email protected]