Welcome! Log In Create A New Profile

Advanced

USR2 signal not work, failed to upgrade executable

March 24, 2020 08:38AM
Hello,

Both nginx_new and nginx_old are good, after USR2 signal be sent to the master process, it can not start new master process. I use these steps:

1. cp -f nginx_new nginx_old
2. kill -USR2 $( cat /usr/local/nginx/logs/nginx.pid )
3. ps aux | grep nginx
no new master process, only old master process, error.log show:

[emerg] 19205#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg] 19205#0: still could not bind()
nginx: [emerg] still could not bind()

Please help, thanks.
Subject Author Posted

USR2 signal not work, failed to upgrade executable

q1548 March 24, 2020 08:38AM

Re: USR2 signal not work, failed to upgrade executable

q1548 March 25, 2020 01:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready