# On the fly update

**URL:** <https://www.ruby-forum.com/t/on-the-fly-update/214918>\
**Category:** NGINX\
**Created:** [December 15, 2011, 8:20pm UTC](https://www.ruby-forum.com/t/on-the-fly-update/214918 "2011-12-15T20:20:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [December 15, 2011, 8:20pm UTC](https://www.ruby-forum.com/t/on-the-fly-update/214918/1 "2011-12-15T20:20:48Z")

</div>

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  
Wiki[http://wiki.nginx.org/CommandLine](http://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._

---

<div class="post-metadata">

**Author:** ![B.R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@B.R](https://www.ruby-forum.com/u/B.R)\
**Post date:** [December 15, 2011, 11:05pm UTC](https://www.ruby-forum.com/t/on-the-fly-update/214918/2 "2011-12-15T23:05:21Z")

</div>

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  
> Wiki[http://wiki.nginx.org/CommandLine](http://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. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![B.R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@B.R](https://www.ruby-forum.com/u/B.R)\
**Post date:** [December 19, 2011, 8:30pm UTC](https://www.ruby-forum.com/t/on-the-fly-update/214918/3 "2011-12-19T20:30:16Z")

</div>

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:

> **[Re: On the fly update](https://forum.nginx.org/read.php?2,220120,220274#msg-220274)**
>
> 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...

---

<div class="post-metadata">

**Author:** ![B.R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@B.R](https://www.ruby-forum.com/u/B.R)\
**Post date:** [December 19, 2011, 10:53pm UTC](https://www.ruby-forum.com/t/on-the-fly-update/214918/4 "2011-12-19T22:53:11Z")

</div>

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! 🙂

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._
