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

Problems with Starting OpenLDAP with BDB Database

I was using older version of slapd 2.2.13 which was working fine.

Currently I installed the latest version 2.3.20.

I have untouched the configuration file for both versions.

But newer version fails to start with Berkeley Database.

The LOG image with earlier database is as follows.

lapd startup: initiated.
bdb_db_open: dc=hss,dc=com
bdb_db_open: dbenv_open(/var/local/lib/ldap)
slapd starting

But with newer version the log shows the following message.

bdb_db_open: dbenv_open(/var/local/lib/ldap)
bdb(dc=hss,dc=com): Berkeley DB library configured to support only 
DB_PRIVATE environments
bdb_db_open: Database cannot be recovered, err 22. Restore from backup!
====> bdb_cache_release_all
bdb(dc=hss,dc=com): DB_ENV->lock_id_free interface requires an environment 
configured for the locking subsystem
bdb(dc=hss,dc=com): 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)
slapd shutdown: initiated

The have changed the permission of the db directory to drwxrwxrwx but does 
not seem to work.

Can anybody provide me with a possible causes and remedies?

Thank You

***********************  FSS-Private   ***********************