Welcome! Log In Create A New Profile

Advanced

Re: nginx-0.8.41 и nginx-0.7.67 segfault centos 5.5

Kirill V. Borodin
June 22, 2010 04:54AM
Вот что получается, по каким-то причинам master-процесс nginx глючит
если на сервере включена LDAP-авторизация

# grep ldap /etc/pam.d/system-auth
auth sufficient pam_ldap.so use_first_pass
account [default=bad success=ok user_unknown=ignore] pam_ldap.so
password sufficient pam_ldap.so use_authtok
session optional pam_ldap.so

если зацепиться за мастера

*break main
*|set follow-fork-mode ||child|

(gdb) backtrace
#0 0x000000000047291a in sigsuspend ()
#1 0x0000000000000004 in ?? ()
#2 0x000000000041d17d in ngx_master_process_cycle (cycle=0x77f7b0) at
src/os/unix/ngx_process_cycle.c:169
#3 0x0000000000401a1a in main (argc=28, argv=0x77e6e0) at
src/core/nginx.c:396
(gdb) continue
Continuing.
[New process 19537]

Program received signal SIGSEGV, Segmentation fault.
[Switching to process 19537]
0x00002aaaaae1e5ac in _nss_ldap_inc_depth () from /lib64/libnss_ldap.so.2

вылечилось всё только путём запуска nscd

Boris Dolgov wrote:
> 2010/6/21 Kirill V. Borodin <kirill@post.km.ru>:
>
>> Подскажите пожалуйста, никогда не падал nginx таким образом сразу после
>> сборки:
>>
> ...
>
>> Спасибо!
>>
> А бектрейс? :)
>

--
С уважением,
Кирилл Бородин

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

nginx-0.8.41 и nginx-0.7.67 segfault centos 5.5

Kirill V. Borodin June 21, 2010 07:06AM

Re: nginx-0.8.41 и nginx-0.7.67 segfault centos 5.5

Boris Dolgov June 21, 2010 07:54AM

Re: nginx-0.8.41 и nginx-0.7.67 segfault centos 5.5

Kirill V. Borodin June 22, 2010 04:54AM

Re: nginx-0.8.41 и nginx-0.7.67 segfault centos 5.5

vgoncharov June 21, 2010 03:50PM

Re: nginx-0.8.41 и nginx-0.7.67 segfault centos 5.5

Kirill V. Borodin June 22, 2010 05:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
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