I have a problem trying to recover ldap database, error are as follow:
slapd_db_recover -h /var/lib/ldap/ -c -v Finding last valid log LSN: file: 1 offset 729642 Recovery starting from [1][28] db_recover: Improper file close at 1/623901 db_recover: Recovery function for LSN 1 623901 failed on forward pass db_recover: PANIC: Invalid argument db_recover: PANIC: fatal region error detected; run recovery db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database recovery
How can I recover it?
Thanks in advance!
Sergio Belkin wrote:
I have a problem trying to recover ldap database, error are as follow:
slapd_db_recover -h /var/lib/ldap/ -c -v Finding last valid log LSN: file: 1 offset 729642 Recovery starting from [1][28] db_recover: Improper file close at 1/623901 db_recover: Recovery function for LSN 1 623901 failed on forward pass db_recover: PANIC: Invalid argument db_recover: PANIC: fatal region error detected; run recovery db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database recovery
How can I recover it?
Seems likely that you can't since it appears your log files are corrupted. You may be able to get some help from Sleepycat/Oracle support.
openldap-software@openldap.org