Hi,
I'm having problems getting 2.1.22 working with bdb back end on redhat 9.
The data directory (/var/run/openldap-data) exists and is empty. I'm using RPM
from http://www.int-evry.fr/mci/user/procacci/SRPMS/9/.
Tried to search for similar problems from google and this list archives
but didn't found anything.
I appreciate any help I can get.
Here's what I get when start the slapd:
[root@wts57 old_ldap_conf]# slapd -d 1
@(#) $OpenLDAP: slapd 2.1.22 (Jul 1 2003 17:47:56) $
root@corbeau.int-evry.fr:/usr/src/redhat/BUILD/openldap-2.1.22/build-krb5/servers/slapd
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: socket() failed errno=97 (Address family not supported by protocol)
daemon: initialized ldap:///
daemon_init: 2 listeners opened
slapd init: initiated server.
slap_sasl_init: initialized!
bdb_initialize: initialize BDB backend
bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002)
dnNormalize: <cn=Subschema>
=> ldap_bv2dn(cn=Subschema,0)
<= ldap_bv2dn(cn=Subschema,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=subschema,272)=0
<<< dnNormalize: <cn=subschema>
bdb_db_init: Initializing BDB database
.
.
.
slapd startup: initiated.
bdb_db_open: dbenv_open(/var/run/openldap-data)
bdb(o=wts): unable to initialize mutex: Function not implemented
bdb(o=wts): /var/run/openldap-data/__db.001: unable to initialize environment lock: Function not implemented
bdb_db_open: dbenv_open failed: Function not implemented (38)
backend_startup: bi_db_open(0) failed! (38)
slapd shutdown: initiated
====> bdb_cache_release_all
slapd shutdown: freeing system resources.
bdb(o=wts): txn_checkpoint interface requires an environment configured for the transaction subsystem
bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
====> bdb_cache_release_all
slapd stopped.
connections_destroy: nothing to destroy.
Regards,
Hessu