[Pkg-openldap-devel] Bug#593550: Bug#593550: A fix

Quanah Gibson-Mount quanah at zimbra.com
Thu Aug 19 16:19:55 UTC 2010



--On August 19, 2010 11:03:19 AM +0200 Matthijs Mohlmann 
<matthijs at cacholong.nl> wrote:

> On Aug 19, 2010, at 10:32 AM, Michael Rasmussen wrote:
>
>> Hi,
>>
>> A way to fix this:
>> apt-get install db4.7-util
>> cd /var/lib/ldap
>> db4.7_checkpoint -1
>> db4.7_recover
>> dpkg --configure -a
>>
>
> Thanks for the fix, but I do not understand why your environment is still
> 4.7 The 2.4.23-2 version should already have db 4.8 as default.
>
> I'll investigate what's going on here.

What version was being migrated from (i.e., what version of BDB was 
openldap linked against?).  If it was prior to BDB 4.8, then you have to do 
a slapcat/slapadd of the database (I assume that's already being done), but 
before that, it is critical to completely checkpoint the database via 
db_recover (one of the steps taken above).

--Quanah

-- 
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration






More information about the Pkg-openldap-devel mailing list