Kernel vs LDAP (Chicken vs Egg)

Jan Safranek jsafrane at redhat.com
Mon May 28 07:53:40 UTC 2007


On Fri, 2007-05-25 at 14:56 -0700, Tim Alberts wrote:
> Well I got two servers using LDAP authentication and both systems 
> frequently lockup on power up when 'starting message bus' is.  Looking 
> at the system log, something is trying to access the LDAP service, while 
> LDAP hasn't started yet?
> 
> May 25 14:35:37 msi1 rpc.statd[2422]: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
> May 25 14:35:37 msi1 rpc.statd[2422]: nss_ldap: reconnecting to LDAP server (sleeping 8 seconds)...
> May 25 14:35:38 msi1 dbus-daemon: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
> May 25 14:35:38 msi1 dbus-daemon: nss_ldap: reconnecting to LDAP server (sleeping 8 seconds)...
> 
> 
> So how is this fixed?

Usually it helps to add the problematic service ('dbus' in your case) to
nss_initgroups_ignoreusers in /etc/ldap.conf, see 
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=206399

Jan




More information about the users mailing list