Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
обновление при запуске вручную
Запускаю nginx
[root@host ]# nginx
[root@host ]#
Нормально запускается и работает.
Хочу сделать обновление бинарника
[root@host ~]# kill -USR2 `cat /var/run/nginx.pid`
[root@host ~]# tail -n6 /var/log/nginx/error.log
2008/03/20 17:09:15 [notice] 61177#0: signal 31 (SIGUSR2) received, changing
binary
2008/03/20 17:09:15 [notice] 61177#0: changing binary
2008/03/20 17:09:15 [notice] 61177#0: start new binary process 51009
2008/03/20 17:09:15 [alert] 51009#0: execve() failed while executing new binary
process "nginx" (2: No such file or directory)
2008/03/20 17:09:15 [notice] 61177#0: signal 20 (SIGCHLD) received
2008/03/20 17:09:15 [notice] 61177#0: new binary process 51009 exited with code
1
сборка из www/nginx-devel
[root@host ~]# nginx -V
nginx version: nginx/0.6.29
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt=-I
/usr/local/include --with-ld-opt=-L /usr/local/lib
--conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx
--pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx-error.log
--user=www --group=www --with-debug
--http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-log-path=/var/log/nginx-access.log --with-http_stub_status_module
|