[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapd failing



Payal Rathod wrote:
Hi,
I am very very new to ldap, so please bear with me for a few question.
To make things easy for me in beginning I used openldap (2.1.25) rpm bundled with my OS Mandrake 10.0 (official). But when I start it
from init.d/ldap start I get in syslog,


Oct 12 15:13:30 localhost  -- rp[1181]: LOGIN ON vc/2 BY rp
Oct 12 15:41:10 localhost slapd[1859]: bdb_db_init: Initializing BDB database
Oct 12 15:41:10 localhost slapd[1860]: bdb(dc=localhost): unable to initialize mutex: Function not implemented
Oct 12 15:41:10 localhost slapd[1860]: bdb(dc=localhost): /var/lib/ldap/__db.001: unable to initialize environment lock: Function not implemented
Oct 12 15:41:10 localhost slapd[1860]: bdb_db_open: dbenv_open failed: Function
not implemented (38)
Oct 12 15:41:10 localhost slapd[1860]: backend_startup: bi_db_open(0) failed! (38)
Oct 12 15:41:10 localhost slapd[1860]: bdb(dc=localhost): txn_checkpoint interface requires an environment configured for the transaction subsystem
Oct 12 15:41:10 localhost slapd[1860]: bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
Oct 12 15:41:10 localhost slapd[1860]: slapd stopped.
Oct 12 15:41:10 localhost slapd[1860]: connections_destroy: nothing to destroy.

Can anyone guage what is wrong?

What CPU are you running this on? I suspect it's a non-i686, since you are having problems with NPTL.


You can try either:
-updating your kernel to the current security updates kernel
-rebuilding the current openldap package from cooker/10.1 on a 10.0 machine

One person who reported the same issue on this list reported that updating the kernel worked (no details, possibly the misdetection of the CPU flag required for NPTL support on certain <i686 CPUs), and more recent openldap packages build db4.2 without posix threads (instead using assembly mutex locks). So, either *should* fix this.

Please report the outcome so I can be sure.

Regards,
Buchan

--
Buchan Milne                      Senior Support Technician
Obsidian Systems                  http://www.obsidian.co.za
B.Eng                                RHCE (803004789010797)