On the fly update

Hello,

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)

So far, nothing surprising… But how to make the “on the fly” thing to
work?

Thanks for your help,

B. R.

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 D. [email protected]

I have the same problem

I will try to change the version, because I don´t know what I´m doing
wrong

Kind regards,

Posted at Nginx Forum:

Hi, I just realized my answer weren’t sent, because I used the wrong
email
address…

I wanted to say:
I didn’t read everything as I was supposed to…
Once again RTFM! :slight_smile:

Many thanks Francis.

pepe, I wasn’t following the instructions well, I suggest you read them
again carefully.
I don’t have the necessary time to try again now, but I will in a near
future (next release?)

B. R.