On Thu, Oct 15, 2009 at 03:00:13PM +1300, Peter Glassenbury (CSSE) wrote:
I have F12_x86_64 installed from alpha ISO and kept up to date with a yum update. (running on a intel core2-duo)
I am always getting a hang on boot at the stage of.. Starting system message bus.
It waits at this point for just over 10 minutes, then continues through normally to runlevel 5.
Errors in /var/log/messages say
nss_ldap: failed to bind to LDAP server ......can't contact LDAP server
This may be a 5 year old bug, which I can't find right now, reported against RedHat.
What happens, if it is set to authenticate against LDAP, is that if it can't find a server. it will hang. There are probably a few lines in /etc/nsswitch.conf reading files ldap
Though it's supposed to check local files first, it doesn't.
Oddly enough, it seems to just want reassurance that an LDAP server exists--for example, if you have it set to look to an LDAP server, but there are no accounts that can authenticate against said server, it won't hang.
This can often be fixed (again, making the assumption that is the same issue), by editing /etc/ldap.conf (NOT /etc/openldap/ldap.conf) and changing the commented line bind_policy hard to an uncommented
bind_policy soft
If you have no ldap entries in nsswitch.conf, of course, it's some other issue.