I think that's it's a bug in nss_ldap !
in ldap.conf I put local ldap server (127.0.0.1) and an adress for a slave
ldap server (xx.xxx.x.x).
Each time I have a panic action, I have
Aug 29 15:11:24 coradm01-node1 smbd: nss_ldap: reconnected to LDAP server
ldap://xx.xxx.x.xx
or
Aug 29 16:33:22 coradm01-node1 smbd: nss_ldap: reconnected to LDAP server
ldap://127.0.0.1/ after 1 attempt
Coud anyone confirm that
nscd is not started
Thanks
St?phane Purnelle
-----------------------------------
St?phane PURNELLE stephane.purnelle@corman.be
Service Informatique Corman S.A. Tel : 00 32 087/342467
samba-bounces+stephane.purnelle=corman.be@lists.samba.org a ?crit sur
29/08/2008 16:18:26 :
> Hi,
>
> My server sent me some panic actions.
>
> From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2008/08/29
> 15:11:23, 0] lib/fault.c:fault_report(44)
> ===============================================================
> [2008/08/29 15:11:23, 0] lib/util.c:smb_panic(1663) PANIC (pid 24872):
> internal error [2008/08/29 15:11:24, 0] lib/util.c:log_stack_trace(1767)
> BACKTRACE: 41 stack frames: #0
/usr/local/sbin/smbd(log_stack_trace+0x1a) > [0x5555557d72e0] #1 /usr/local/sbin/smbd(smb_panic+0x5b)
[0x5555557d73f0] > #2 /usr/local/sbin/smbd [0x5555557c3d6a] #3 /lib64/libpthread.so.0
> [0x2aaaac3f9e70] #4 /lib64/libc.so.6(gsignal+0x35) [0x2aaaadf56055] #5
> /lib64/libc.so.6(abort+0x110) [0x2aaaadf57af0] #6
> /lib64/libc.so.6(__assert_fail+0xf6) [0x2aaaadf4f756] #7
> /lib64/libnss_ldap.so.2 [0x2aaab31b758f] #8 /lib64/libnss_ldap.so.2
> [0x2aaab3196215] #9 /lib64/libnss_ldap.so.2 [0x2aaab31973c0] #10
> /lib64/libnss_ldap.so.2 [0x2aaab3198396] #11 /lib64/libnss_ldap.so.2
> [0x2aaab318c493] #12 /lib64/libnss_ldap.so.2 [0x2aaab318ba19] #13
> /lib64/libn!
> ss_ldap.so.2(_nss_ldap_search_s+0x184) [0x2aaab318c244] #14
> /lib64/libnss_ldap.so.2(_nss_ldap_getbyname+0x5b) [0x2aaab318cd0b] #15
> /lib64/libnss_ldap.so.2(_nss_ldap_getpwuid_r+0x49) [0x2aaab318d319] #16
> /lib64/libc.so.6(getpwuid_r+0xa5) [0x2aaaadfba885] #17
> /lib64/libc.so.6(getpwuid+0x6f) [0x2aaaadfba1ef] #18
> /usr/local/sbin/smbd(sys_getpwuid+0x9) [0x5555557c6e17] #19
> /usr/local/sbin/smbd [0x5555557861a3] #20 /usr/local/sbin/smbd
> [0x5555557863c4] #21 /usr/local/sbin/smbd(pdb_uid_to_rid+0x28)
> [0x55555578764f] #22 /usr/local/sbin/smbd(uid_to_sid+0x1bf)
> [0x55555578bcd8] #23 /usr/local/sbin/smbd [0x55555564faa5] #24
> /usr/local/sbin/smbd [0x555555652483] #25
> /usr/local/sbin/smbd(posix_get_nt_acl+0x3dc) [0x5555556533a2] #26
> /usr/local/sbin/smbd(posix_fget_nt_acl+0xd6) [0x5555556534b0] #27
> /usr/local/sbin/smbd [0x555555668c78] #28
> /usr/local/sbin/smbd(is_visible_file+0x33d) [0x5555555f9a1d] #29
> /usr/local/sbin/smbd [0x5555555f9f52] #30
> /usr/local/sbin/smbd(dptr_ReadDirName+0x40) [!
> 0x5555555f9fb8] #31 /usr/local/sbin/smbd [0x55555562ea46] #32 !
> /usr/loc
> al/sbin/smbd [0x5555556320c7] #33 /usr/local/sbin/smbd [0x555555632561]
> #34 /usr/local/sbin/smbd(reply_trans2+0x69e) [0x555555639bc8] #35
> /usr/local/sbin/smbd [0x555555656f72] #36 /usr/local/sbin/smbd
> [0x555555658893] #37 /usr/local/sbin/smbd(smbd_process+0xcae)
> [0x555555659601] #38 /usr/local/sbin/smbd(main+0x1eb2) [0x5555559d0427]
> #39 /lib64/libc.so.6(__libc_start_main+0xf4) [0x2aaaadf438a4] #40
> /usr/local/sbin/smbd [0x5555555e5889] [2008/08/29 15:11:24, 0]
> lib/util.c:smb_panic(1668) smb_panic(): calling panic action
> [/srv/bin/panic.sh mve portmver]
>
> My script contain a sleep 9000 and I make a bt of the process and I have
: >
>
> (gdb) bt
> #0 0x00002aaaadfbb0e5 in waitpid () from /lib64/libc.so.6
> #1 0x00002aaaadf61e83 in do_system () from /lib64/libc.so.6
> #2 0x00005555557d745c in smb_panic () from /usr/local/sbin/smbd
> #3 0x00005555557c3d6a in sig_fault () from /usr/local/sbin/smbd
> #4 <signal handler called>
> #5 0x00002aaaadf56055 in raise () from /lib64/libc.so.6
> #6 0x00002aaaadf57af0 in abort () from /lib64/libc.so.6
> #7 0x00002aaaadf4f756 in __assert_fail () from /lib64/libc.so.6
> #8 0x00002aaab31b758f in _nss_ldap_mergeconfigfromdns ()
> from /lib64/libnss_ldap.so.2
> #9 0x00002aaab3196215 in _nss_ldap_mergeconfigfromdns ()
> from /lib64/libnss_ldap.so.2
> #10 0x00002aaab31973c0 in _nss_ldap_mergeconfigfromdns ()
> from /lib64/libnss_ldap.so.2
> #11 0x00002aaab3198396 in _nss_ldap_mergeconfigfromdns ()
> from /lib64/libnss_ldap.so.2
> #12 0x00002aaab318c493 in _nss_ldap_read () from /lib64/libnss_ldap.so.2
> #13 0x00002aaab318ba19 in _nss_ldap_next_entry () from
> /lib64/libnss_ldap.so.2
> #14 0x00002aaab318c244 in _nss_ldap_search_s () from
> /lib64/libnss_ldap.so.2
> #15 0x00002aaab318cd0b in _nss_ldap_getbyname () from
> /lib64/libnss_ldap.so.2
> #16 0x00002aaab318d319 in _nss_ldap_getpwuid_r () from
> /lib64/libnss_ldap.so.2
> #17 0x00002aaaadfba885 in getpwuid_r@@GLIBC_2.2.5 () from
/lib64/libc.so.6> #18 0x00002aaaadfba1ef in getpwuid () from /lib64/libc.so.6
>
> nss_ldap version : nss_ldap-253-5.el5
>
> What's happen ?
>
> Thanks
>
> St?phane Purnelle
>
> -----------------------------------
> St?phane PURNELLE stephane.purnelle@corman.be
> Service Informatique Corman S.A. Tel : 00 32 087/342467
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba