Re: udevd[]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Hello Geert, Steve
Effectivly, I read the bugs report and follow the instructions :
touch /var/lib/libnss-ldap/bind_policy_soft
(chrooted from my rh)
I reboot and the debian boot
This correct my problem.
But if I understand, if the shutdown of the system is not make properly
the problem appear
a nw time ?
Many thanks
Guy
Steve Langasek wrote:
> On Wed, Sep 06, 2006 at 11:23:47AM +0200, Geert Stappers wrote:
>
>> On Wed, Sep 06, 2006 at 10:39:36AM +0200, De Leeuw Guy wrote:
>>
>
>
>>> When I boot or server (ia64) I receive theses errors :
>>>
>
>
>>> Starting the hotplug events dispatcher: udevd
>>> udevd[]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
>>> udevd[]: nss_ldap: failed to bind to LDAP server ldaps://foo.bar: Can't contact LDAP server
>>> udevd[]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
>>> udevd[]: nss_ldap: failed to bind to LDAP server ldaps://foo.bar: Can't contact LDAP server
>>> udevd[]: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
>>> udevd[]: nss_ldap: failed to bind to LDAP server ldaps://foo.bar: Can't contact LDAP server
>>> udevd[]: nss_ldap: reconnecting to LDAP server (sleeping 4 seconds)
>>> ...........
>>> sleep interval is doubled each time 4,8,16,32,64... and I wait more than 15 min
>>> ctrl-c stop udevd and the boot hangs
>>>
>
>
>>> How can I solve this problem ?
>>>
>
>
>> I think it are two problems:
>> * udevd was told to use nss_ldap ( It could be a user error. )
>>
>
> That is neither a problem nor a user error; udev has no special NSS config,
> it uses whatever is configured in /etc/nsswitch.conf.
>
>
>> * udevd waiting forever on an LDAP server (IMHO is fall back to plain files)
>>
>
> udevd isn't doing the waiting, the NSS module is.
>
>
>> Then there is another to find out:
>> Is it really a Debian-installer problem or is it a udev thing?
>>
>
> Neither, this is an nss_ldap upstream abortion documented in bug #375077.
>
>
--
Guy De Leeuw
EDP Manager
Eurofer ASBL
211, rue du noyer
1000, Bruxelles
Belgium
Phone : +32 (2) 738 79 40
Fax : +32 (2) 736 28 22
E-Mail : mailto:G.De_Leeuw@eurofer.be
www : http://www.eurofer.org
Reply to: