auth.log boot cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnss-ldap (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: libnss-ldap
If I create a crontab for an LDAP user, I consistently see these messages in auth.log when I boot,
[...]
May 12 12:55:39 juno cron[5014]: nss_ldap: could not connect to any LDAP server as cn=admin,
May 12 12:55:40 juno cron[5014]: nss_ldap: failed to bind to LDAP server ldap://
May 12 12:55:40 juno cron[5014]: nss_ldap: reconnecting to LDAP server...
May 12 12:55:40 juno cron[5014]: nss_ldap: could not connect to any LDAP server as cn=admin,
May 12 12:55:40 juno cron[5014]: nss_ldap: failed to bind to LDAP server ldap://
May 12 12:55:40 juno cron[5014]: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)...
May 12 12:55:40 juno cron[5014]: nss_ldap: could not connect to any LDAP server as cn=admin,
May 12 12:55:41 juno cron[5014]: nss_ldap: failed to bind to LDAP server ldap://
May 12 12:55:41 juno cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable
[...]
- and the LDAP user's crontab doesn't run, though other crontabs do.
If I remove the LDAP user's crontab and reboot, the messages aren't generated.
The LDAP server is on the LAN and is available - for example, after boot, gdmgreeter lists LDAP users.
The machine with the crontab has this line in /etc/hosts,
[...]
192.168.1.2 amos.artefactua
[...]
Both machines are Dell Optiplex 320 running Intrepid Ibex. The LDAP server is running slapd 2.4.11-0ubuntu6.1
Hi,
I have successfully configured Ubunut(jeos 8.04 on x86_64 arch). Auth works fine and automount as well. But I have same issue as mentioned by OP. these CRON messages in syslog are bothering me as well.
Aug 24 08:20:01 myftp-t CRON[21745]: pam_ldap: ldap_simple_bind Can't contact LDAP server CRON[21746] : (smmsp) CMD (test -x /etc/init. d/sendmail && /usr/share/ sendmail/ sendmail cron-msp) CRON[21774] : (root) CMD (/export/ home/ugandhi/ report_ disk) CRON[21930] : (smmsp) CMD (test -x /etc/init. d/sendmail && /usr/share/ sendmail/ sendmail cron-msp)
Aug 24 08:20:01 myftp-t /USR/SBIN/
Aug 24 08:22:01 myftp-t CRON[21773]: pam_ldap: ldap_simple_bind Can't contact LDAP server
Aug 24 08:22:01 myftp-t CRON[21773]: pam_ldap: reconnecting to LDAP server...
Aug 24 08:22:01 myftp-t CRON[21773]: pam_ldap: ldap_simple_bind Can't contact LDAP server
Aug 24 08:22:01 myftp-t /USR/SBIN/
Aug 24 08:40:01 myftp-t CRON[21929]: pam_ldap: ldap_simple_bind Can't contact LDAP server
Aug 24 08:40:01 myftp-t CRON[21929]: pam_ldap: reconnecting to LDAP server...
Aug 24 08:40:01 myftp-t CRON[21929]: pam_ldap: ldap_simple_bind Can't contact LDAP server
Aug 24 08:40:01 myftp-t /USR/SBIN/
This continuously appearing in syslog file and I don't understand why?
Is there any solution for ? My disk is going to fill up soon and it will be better if I do something now itself..:)
If there is any kind of other information required to solve this issue, I am willing to provide it ASAP.
Thanks for your help!!