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

RE: db_archive: DB_ENV->log_archive: DB_NOTFOUND: No matching key/data pair found



Hi Michael,

> -----Original Message-----
> From: Michael Ströder [mailto:michael@stroeder.com]
> Sent: Tuesday, June 30, 2009 6:16 PM
> To: andreas@krummrich.org
> Cc: openldap-technical@openldap.org
> Subject: Re: db_archive: DB_ENV->log_archive: DB_NOTFOUND: No matching
> key/data pair found
> 
> Andreas Krummrich wrote:
> >
> > I'm running OpenLDAP 2.4.11 on a debian lenny box
> 
> 1. This version is outdated. For various reasons you should use at least
> 2.4.16.

Okay, I will check if there are other packages for Debian.

> 
> > and it seems that I'm
> > having trouble with the log files. I had a corrupt database some days
> ago
> > and needed to restore the database from the backup.
> 
> How are you creating the backups? Note that just copying the database
> files will very likely result in such problems you describe after restore.
> 

No, I never just copy the database files. I do the backup with slapcat and
the restore using slapadd.

So it seems to have another cause!?

> See also:
> http://www.openldap.org/faq/data/cache/286.html
> 
> Ciao, Michael.
Kind Regards,
	Andreas