On Tue, Jun 24, 2014 at 9:47 AM, Dan White <[email protected]> wrote: > On 06/24/14 16:19 +0800, Eileen(=^ω^=) wrote: >> >> When I start slapd, below will be come. >> >> [root@nplserver1 openldap]# slapd start -d 256 >> >> @(#) $OpenLDAP: slapd 2.4.23 (Feb 22 2013 01:50:21) $ >> >> >> [email protected]:/builddir/build/BUILD/openldap-2.4.23/openldap-2.4.23/build-servers/servers/slapd >> >> 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?
> -- > Dan White >
