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

Re: Recover db failed



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.


--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP     http://www.openldap.org/project/