On 06/24/14 10:10 -0400, Mauricio Tavares wrote:
On Tue, Jun 24, 2014 at 9:47 AM, Dan White dwhite@olp.net wrote:
On 06/24/14 16:19 +0800, Eileen(=^ω^=) wrote:
bdb(dc=npl,dc=tmsr): unable to join the environment bdb_db_open: database "dc=npl,dc=tmsr" cannot be opened, err 11. Restore from backup! bdb(dc=npl,dc=tmsr): txn_checkpoint interface requires an environment configured for the transaction subsystem bdb_db_close: database "dc=npl,dc=tmsr": txn_checkpoint failed: Invalid argument (22). backend_startup_one (type=bdb, suffix="dc=npl,dc=tmsr"): bi_db_open failed! (11) bdb_db_close: database "dc=npl,dc=tmsr": alock_close failed slapd stopped.
I'm not familiar with the specific error messages you're getting. There are error codes in your output produced by BerkeleyDB. Consult the documentation for that project for how to proceed in the safest manner.
Have you performed any upgrades? Do you have any permissions problems on your directory location? Check the location corresponding to your configured directory/olcDbDirectory.
I does sound like the database is corrupted somehow. slapcat
needs slapd to be running, right?
slapcat does not need slapd to be running, but will probably hit similar errors.