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

Re: BDB Corruption problems



Leigh Porter wrote:
Hiya All,

I have been having some database corruption issues for the past few months. Here are the details:

I run

@(#) $OpenLDAP: slapd 2.2.26 (Jul 15 2005 14:05:34) $

root@server1.odb/database/openldap/openldap-data# db4_verify PrimaryUser.bdb
db_verify: Page 2: out-of-order key at entry 2
db_verify: Page 2: out-of-order key at entry 5


......

There is similar output on all dbd files. What does this mean?
This doesn't mean anything. OpenLDAP 2.1-2.2 back-bdb used a custom sort function for the databases, the standard BerkeleyDB tools don't work with custom sort functions. In OpenLDAP 2.3 the database format has changed so that custom sort functions are no longer needed.

--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/