[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

ldap: ping does not return

From "Re: Latest FC kernel still have SMP bugs?"

Nigel Wade wrote:
Herbert Gasiorowski wrote:

Nigel Wade wrote:

Herbert Gasiorowski wrote:

I've built the RHEL3 kernel on FC1 and run the system up using this. Ordinary ldap requests seem quite happy, but I'm still seeing the futex lock problem with nss_ldap. E.g. when I add 'hosts: files ldap dns' to /etc/nsswitch.conf I get:

# strace ping host
munmap(0xb75ff000, 4096)                = 0
uname({sys="Linux", node="hostname", ...}) = 0
futex(0x53e4ec, FUTEX_WAIT, 2, NULL

Setting LD_ASSUME_KERNEL=2.4.1 cures this particular problem, but isn't a solution for a system relying on LDAP for all authentication and NSS functions.

The problem remains in FC2 (Test 3) with the 2.6 kernel!

LD_ASSUME_KERNEL=2.4.1 seems to cure at least "ping host"

This is in some way related to nscd.

If nscd isn't running hosts don't resolve using LDAP. AFAIK, nscd should not be compulsory.

Thanks, this seems to solve my problem and finally I managed to install nscd!

I do this, but I have to say I don't like it. It's very precarious - if nscd hangs or crashes for some reason the m/c is unusable. You can't even login as root at the console to fix nscd if host resolution is hanging. Eventually pretty much everything hangs.

Actually it does not solve my problem: I need to use "hosts: files ldap dns"
in nsswitch.conf, but then again ping never returns and nscd crashes.
(It only works with "hosts: files dns ldap" and nscd)

Herbert Gasiorowski

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]