I’ve always upgraded nginx on the fly following this guide: CommandLine | NGINX without problems.
I recently added IPv6 support to nginx and now, when I need to upgrade
it, it doesn’t start the new instance when I send the USR2 signal to the
master process, giving the following erros:
2010/05/29 09:05:52 [notice] 21060#0: using inherited sockets from
"14;15;"
2010/05/29 09:05:52 [emerg] 21060#0: bind() to [2001:41d0:2:8673::1]:80
failed (98: Address already in use)
[emerg]: bind() to [2001:41d0:2:8673::1]:80 failed (98: Address already
in use)
2010/05/29 09:05:52 [emerg] 21060#0: bind() to [2001:41d0:2:8673::1]:80
failed (98: Address already in use)
[emerg]: bind() to [2001:41d0:2:8673::1]:80 failed (98: Address already
in use)
2010/05/29 09:05:52 [emerg] 21060#0: bind() to [2001:41d0:2:8673::1]:80
failed (98: Address already in use)
[emerg]: bind() to [2001:41d0:2:8673::1]:80 failed (98: Address already
in use)
2010/05/29 09:05:52 [emerg] 21060#0: bind() to [2001:41d0:2:8673::1]:80
failed (98: Address already in use)
[emerg]: bind() to [2001:41d0:2:8673::1]:80 failed (98: Address already
in use)
2010/05/29 09:05:52 [emerg] 21060#0: bind() to [2001:41d0:2:8673::1]:80
failed (98: Address already in use)
[emerg]: bind() to [2001:41d0:2:8673::1]:80 failed (98: Address already
in use)
2010/05/29 09:05:52 [emerg] 21060#0: still could not bind()
[emerg]: still could not bind()
I’m using nginx 0.8.37 and I was trying to upgrade to 0.8.38.
Here’s an example of my nginx configuration regarding IPv6 (all the
other vhost have the same one):
On Sat, May 29, 2010 at 03:23:54AM -0400, Usu wrote:
I’ve always upgraded nginx on the fly following this guide: CommandLine | NGINX without problems.
I recently added IPv6 support to nginx and now, when I need to
upgrade it, it doesn’t start the new instance when I send the
USR2 signal to the master process, giving the following erros:
[code]
2010/05/29 09:05:52 [notice] 21060#0: using inherited sockets from “14;15;”
2010/05/29 09:05:52 [emerg] 21060#0: bind() to [2001:41d0:2:8673::1]:80 failed (98: Address already in use)
[emerg]: bind() to [2001:41d0:2:8673::1]:80 failed (98: Address already in use)