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

Re: good time to learn how to fix problems



On Fri, Feb 11, 2005 at 11:49:33PM -0700, Craig White wrote:
> # cd /usr/local/var/openldap-data
> # db_recover
> 
> # db_recover
> db_recover: Ignoring log file: /usr/local/var/openldap-
> logs/log.0000000001: magic number 0, not 40988
> 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: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database
> recovery

Are you sure the db_recover binary you used is from the same installation
of berkeley db that openldap is using?