Welcome! Log In Create A New Profile

Advanced

апгрейд бинарника

Anatoly Mikhailov
April 09, 2014 08:38AM
Проблема в запуске бинарника (запуск init.d скриптом приводит к аналогичному результату, что очевидно):

[root@localhost nginx]# /etc/init.d/nginx start
Starting nginx:

После чего скрипт ждет STDIN и не заканчивает работу. Соответственно, после закрытия консоли, Nginx вылетает.
Обновление было с 1.3.14 до 1.3.15, с последующим обновлением бинарника:

kill -USR2 $(cat /opt/nginx/logs/nginx.pid);
kill -WINCH $(cat /opt/nginx/logs/nginx.pid.oldbin);
kill -QUIT $(cat /opt/nginx/logs/nginx.pid.oldbin);

Error.log следующий:
2014/04/09 12:30:51 [notice] 1887#0: using inherited sockets from "1.5.13"
2014/04/09 12:30:53 [notice] 1896#0: using inherited sockets from "1.5.13"
2014/04/09 12:30:53 [notice] 1896#0: using the "epoll" event method
2014/04/09 12:30:53 [notice] 1896#0: nginx/1.5.13
2014/04/09 12:30:53 [notice] 1896#0: built by gcc 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC)
2014/04/09 12:30:53 [notice] 1896#0: OS: Linux 3.4.43-43.43.amzn1.x86_64
2014/04/09 12:30:53 [notice] 1896#0: getrlimit(RLIMIT_NOFILE): 1024:4096
2014/04/09 12:30:53 [notice] 1896#0: start worker processes
2014/04/09 12:30:53 [notice] 1896#0: start worker process 1897

Окружение:
nginx version: nginx/1.5.13
built by gcc 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/opt/nginx --with-pcre=/usr/src/pcre-8.32 --with-pcre-jit --with-openssl=/usr/src/openssl-1.0.1g --with-openssl-opt=no-krb5 --with-http_ssl_module --with-http_spdy_module --without-mail_pop3_module --without-mail_smtp_module --without-mail_imap_module --with-http_stub_status_module --with-http_gzip_static_module --with-http_secure_link_module --with-http_flv_module --with-http_mp4_module
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

апгрейд бинарника

Anatoly Mikhailov April 09, 2014 08:38AM

Re: апгрейд бинарника

Anatoly Mikhailov April 09, 2014 08:40AM

Re: апгрейд бинарника

Anatoly Mikhailov April 09, 2014 09:40AM

Re: апгрейд бинарника

Maxim Dounin April 09, 2014 10:10AM

Re: апгрейд бинарника

Anatoly Mikhailov April 09, 2014 10:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready