Welcome! Log In Create A New Profile

Advanced

Re: On the fly update

Francis Daly
December 15, 2011 05:06PM
On Thu, Dec 15, 2011 at 02:19:40PM -0500, B.R. wrote:

Hi there,

> 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
> Wikihttp://wiki.nginx.org/CommandLine
> .
> 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 versions,
environment, and error log will help identify the problem.

Good luck with it,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

On the fly update

B.R. December 15, 2011 02:22PM

Re: On the fly update

Francis Daly December 15, 2011 05:06PM

Re: On the fly update

pepe54Lopez December 19, 2011 02:29PM

Re: On the fly update

B.R. December 19, 2011 04:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 229
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready