Hello,
I installed Openldap from http://ipkg.nslu2-linux.org/feeds/op...3-1_mipsel.ipk.
After i configured slapd.conf
PHP Code:
include /opt/etc/openldap/schema/core.schema
pidfile /opt/var/run/slapd.pid
argsfile /opt/var/run/slapd.args
#######################################################################
# BDB database definitions
#######################################################################
database bdb
suffix "dc=isaay,dc=lan"
rootdn "cn=admin,dc=isaay,dc=lan"
rootpw admin
directory /opt/var/openldap-data
index objectClass eq
i also configured DB_CONF in /opt/var/openldap-data
PHP Code:
set_lg_max 5242880
set_cachesize 0 5242880 1
txn_checkpoint 128 15 0
when i start /opt/etc/init.d/S58slapd with -d 4 option
I receive the folowing message :
PHP Code:
# ./S58slapd
@(#) $OpenLDAP: slapd 2.3.43 (Jul 21 2008 07:07:58) $
@builder:/home/slug/optware/oleg/builds/openldap/servers/slapd
daemon_init: <null>
=> ldap_bv2dn(dc=isaay,dc=lan,0)
<= ldap_bv2dn(dc=isaay,dc=lan)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=isaay,dc=lan)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=isaay,dc=lan)=0
=> ldap_bv2dn(cn=admin,dc=isaay,dc=lan,0)
<= ldap_bv2dn(cn=admin,dc=isaay,dc=lan)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=admin,dc=isaay,dc=lan)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=admin,dc=isaay,dc=lan)=0
=> ldap_bv2dn(cn=Subschema,0)
<= ldap_bv2dn(cn=Subschema)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=subschema)=0
bdb_db_open: dc=isaay,dc=lan
bdb(dc=isaay,dc=lan): unrecognized name-value pair: txn_checkpoint
bdb_db_open: Database cannot be opened, err 22. Restore from backup!
bdb(dc=isaay,dc=lan): DB_ENV->lock_id_free interface requires an environment configured for the locking subsystem
bdb(dc=isaay,dc=lan): txn_checkpoint interface requires an environment configured for the transaction subsystem
bdb_db_close: txn_checkpoint failed: Invalid argument (22)
backend_startup_one: bi_db_open failed! (22)
bdb_db_close: alock_close failed
slapd stopped.
connections_destroy: nothing to destroy.
It is a new ldap installation so there is no database in /opt/var/openldap-data ? openldap-data is 0700 mod.
What's wrong ?