Hi Arthur, On Fri, Aug 29, 2014 at 12:09:17AM +0200, Arthur de Jong wrote: > On Thu, 2014-08-28 at 12:34 +0200, Andreas B. Mundt wrote: > > another issue I just observed: nslcd 'sometimes', perhaps 1 of 5 reboots, > > fails to start/run at boot.
> Is there anything in the logs? > > There is a known issue in nslcd/ldap/gnutls: > https://bugs.debian.org/643948 > https://bugs.launchpad.net/bugs/1029656 > > If this is the same issue, providing the information as described in > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643948#61 > is probably very helpful. Being able to get a stack trace from this > would be very useful. I added: (date ; gdb -return-child-result -ex run -ex "thread apply all bt full" -ex "quit" --args ldapsearch -x -H ldap://ldap/ -b 'dc=intern' uid=admin mail ) < /dev/null >> /var/log/nslcd.ldapsearch.boot.log 2>&1 & But this seems not to give any hints: Fri Aug 29 17:04:29 CEST 2014 GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1 [...] Reading symbols from ldapsearch...(no debugging symbols found)...done. Starting program: /usr/bin/ldapsearch -x -H ldap://ldap/ -b dc=intern uid=admin mail [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". # extended LDIF # # LDAPv3 # base <dc=intern> with scope subtree # filter: uid=admin # requesting: mail # # admin, people, gosa, intern dn: uid=admin,ou=people,ou=gosa,dc=intern # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 [Inferior 1 (process 557) exited normally] where for this boot again 'systemctl status nslcd -l' shows: nslcd.service - LSB: LDAP connection daemon Loaded: loaded (/etc/init.d/nslcd) Active: active (exited) since Fri 2014-08-29 17:04:29 CEST; 21s ago Process: 455 ExecStart=/etc/init.d/nslcd start (code=exited, status=0/SUCCESS) Aug 29 17:04:28 workstation00 systemd[1]: Starting LSB: LDAP connection daemon... Aug 29 17:04:29 workstation00 nslcd[547]: version 0.9.4 starting Aug 29 17:04:29 workstation00 nslcd[455]: Starting LDAP connection daemon: nslcdnslcd: unable to daemonize: Success Aug 29 17:04:29 workstation00 nslcd[455]: failed! Aug 29 17:04:29 workstation00 systemd[1]: Started LSB: LDAP connection daemon. In the log: Aug 29 17:04:29 workstation00 nslcd[547]: version 0.9.4 starting Aug 29 17:04:29 workstation00 ifup[257]: Sending network state change signal to nslcd...done. Aug 29 17:04:29 workstation00 nslcd[455]: Starting LDAP connection daemon: nslcdnslcd: unable to daemonize: Success Aug 29 17:04:29 workstation00 nslcd[455]: failed! Hm. Any other hints how to pin down the issue? Best regards, Andi -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

