07/21/2005 06:50 PM 81,920 dn2id.bdb
07/21/2005 06:50 PM 1,015,808 id2entry.bdb
07/21/2005 06:50 PM 10,485,760 log.0000000001
07/21/2005 06:50 PM 32,768 objectClass.bdb
07/21/2005 06:49 PM 16,384 __db.001
07/21/2005 06:49 PM 270,336 __db.002
07/21/2005 06:49 PM 98,304 __db.003
07/21/2005 06:49 PM 376,832 __db.004
07/21/2005 06:49 PM 24,576 __db.005
9 File(s) 12,402,688 bytes
2 Dir(s) 24,146,268,160 bytes free]
I ran the db_recover utility as below:
C:\Program Files\OpenLDAP>db_recover -v -h var\openldap-data
db_recover: unable to join the environment
db_recover: unlink: var\openldap-data\__db.005: Permission denied
db_recover: unlink: var\openldap-data\__db.004: Permission denied
db_recover: unlink: var\openldap-data\__db.003: Permission denied
db_recover: unlink: var\openldap-data\__db.002: Permission denied
db_recover: unlink: var\openldap-data\__db.001: Permission denied
db_recover: Ignoring log file: var\openldap-data\log.0000000001:
unsupported log version 10
db_recover: Invalid log file: log.0000000001: Invalid argument
db_recover: PANIC: Invalid argument
db_recover: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
db_recover: fatal region error detected; run recovery
db_recover: unable to join the environment
db_recover: unlink: var\openldap-data\__db.005: Permission denied
db_recover: unlink: var\openldap-data\__db.004: Permission denied
db_recover: unlink: var\openldap-data\__db.003: Permission denied
db_recover: unlink: var\openldap-data\__db.002: Permission denied
db_recover: unlink: var\openldap-data\__db.001: Permission denied
db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database recovery
Would you know why I'm getting all these errors? Am I using the wrong
version of db_recover? Or is the home directory supposed to be
different when running db_recover under the OpenLDAP folder?