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

Re: (ITS#5129) slapindex -q corrupts database if the DB_CONFIG file has changed

quanah@zimbra.com wrote:
> Full_Name: Quanah Gibson-Mount
> Version: 2.3.37
> OS: 
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> After getting repeat DB corruptions, I finally tracked down the issue to this:
> If DB_CONFIG has changed since the last time slapd was started, and slapindex -q
> is run, the database ends up corrupt.

Don't do that.

HEAD has been fixed to exit in this situation.
   -- 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/