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

Anatoly Mikhailov anatoly at sonru.com
Wed Apr 9 12:38:51 UTC 2014


Ошибка в тексте: * апгрейд с 1.3.14 до 1.5.13 (последняя версия на сегодняшний день)

Анатолий

On 09 Apr 2014, at 13:37, Anatoly Mikhailov <anatoly at sonru.com> wrote:

> Проблема в запуске бинарника (запуск init.d скриптом приводит к аналогичному результату, что очевидно):
> 
> [root at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru



Подробная информация о списке рассылки nginx-ru