I have two LDAP servers operating in a replication mode. This morning I found the replicated server is no longer running. I tried to restart it and I get this in the logs/errors files. How do I recovery my database?
Fedora-Directory/1.0.2 B2006.060.1928 eng2.efjdfw.local:389 (/opt/fedora-ds/slapd-engldap2)
[11/Oct/2007:08:56:29 -0500] - Fedora-Directory/1.0.2 B2006.060.1928 starting up [11/Oct/2007:08:56:29 -0500] - Detected Disorderly Shutdown last time Directory Server was running, recovering database. [11/Oct/2007:08:56:29 -0500] - libdb: Ignoring log file: /opt/fedora-ds/slapd-engldap2/db/log.0000000137: magic number 0, not 40988 [11/Oct/2007:08:56:30 -0500] - libdb: Invalid log file: log.0000000137: Invalid argument [11/Oct/2007:08:56:30 -0500] - libdb: First log record not found [11/Oct/2007:08:56:30 -0500] - libdb: PANIC: Invalid argument [11/Oct/2007:08:56:30 -0500] - Database Recovery Process FAILED. The database is not recoverable. err=-30978: DB_RUNRECOVERY: Fatal error, run database recovery [11/Oct/2007:08:56:30 -0500] - Please make sure there is enough disk space for dbcache (10485760 bytes) and db region files [11/Oct/2007:08:56:30 -0500] - start: Failed to init database, err=-30978 DB_RUNRECOVERY: Fatal error, run database recovery [11/Oct/2007:08:56:30 -0500] - Failed to start database plugin ldbm database [11/Oct/2007:08:56:30 -0500] - WARNING: ldbm instance userRoot already exists [11/Oct/2007:08:56:30 -0500] binder-based resource limits - nsLookThroughLimit: parameter error (slapi_reslimit_register() already registered) [11/Oct/2007:08:56:30 -0500] - start: Resource limit registration failed [11/Oct/2007:08:56:30 -0500] - Failed to start database plugin ldbm database [11/Oct/2007:08:56:30 -0500] - Error: Failed to resolve plugin dependencies [11/Oct/2007:08:56:30 -0500] - Error: preoperation plugin 7-bit check is not started [11/Oct/2007:08:56:30 -0500] - Error: accesscontrol plugin ACL Plugin is not started [11/Oct/2007:08:56:30 -0500] - Error: preoperation plugin ACL preoperation is not started [11/Oct/2007:08:56:30 -0500] - Error: postoperation plugin Class of Service is not started [11/Oct/2007:08:56:30 -0500] - Error: preoperation plugin HTTP Client is not started [11/Oct/2007:08:56:30 -0500] - Error: database plugin ldbm database is not started [11/Oct/2007:08:56:30 -0500] - Error: object plugin Legacy Replication Plugin is not started [11/Oct/2007:08:56:30 -0500] - Error: object plugin Multimaster Replication Plugin is not started [11/Oct/2007:08:56:30 -0500] - Error: preoperation plugin Pass Through Authentication is not started [11/Oct/2007:08:56:30 -0500] - Error: postoperation plugin referential integrity postoperation is not started [11/Oct/2007:08:56:30 -0500] - Error: postoperation plugin Roles Plugin is not started [11/Oct/2007:08:56:30 -0500] - Error: object plugin Views is not started
Best Regards,
Greg Copeland
389-users@lists.fedoraproject.org