[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-software
Subject:    =?Windows-1252?Q?Index_corruption_on_openldap_2.0.25=B2?=
From:       "Julien Delaporte" <jde () net-tone ! com>
Date:       2002-11-28 13:19:33
[Download RAW message or body]

Hello,

I am running an openldap 2.0.25 with 7000 entries on Berkeley DB backend , and last \
week its seems that the index for objectclass attribute became corrupted : Searchs \
criteria objectclass='STRING' where not returning all the entries present in the \
directory, just part of them. Some subtree parts did not appear any longer when \
performing the search.  If the seach was performed using another criteria missing \
entries where showned.

I tried to rebuild the indexes stopping the ldap server and running the slapindex \
index tool passing the correct slapd config file argument. The result was that the \
object class index got even more corrupted. less entries were returned by the search \
based on ObjectClass.

Eventually I did a complete database rebuilt with slapcat and slapindex and \
everything returned to normal.

Has anyone heard or find out how indexes got get corrupted, and how to repair them ? \
Any explanation on how this come to occur or solution to fix this are welcomed !

Best regards

Julien


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am running an openldap 2.0.25 with 7000 entries 
on <FONT face="Times New Roman" size=3>Berkeley DB </FONT>backend , and last 
week its seems that the index for objectclass attribute became corrupted 
:</FONT></DIV>
<DIV><FONT face=Arial size=2>Searchs criteria objectclass='STRING' where not 
returning all the entries present in the directory, just part of them. Some 
subtree parts did not appear any longer when performing the search. 
</FONT></DIV>
<DIV><FONT face=Arial size=2>If the seach was performed using another criteria 
missing entries where showned.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I tried to rebuild the indexes stopping the ldap 
server and running the slapindex index tool passing the correct slapd config 
file argument. The result was that the object class index got even more 
corrupted. less entries were returned by the search based on 
ObjectClass.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Eventually I did a complete database rebuilt with 
slapcat and slapindex and everything returned to normal.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Has anyone heard or find out how indexes got get 
corrupted, and how to repair them ? Any explanation on how this come to occur or 
solution to fix this are welcomed !</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best regards</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Julien</FONT></DIV></BODY></HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic