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

RE: Index repair after power outage

Good day,

There has been some discussion on the list about problems with the server
and corrupted index files.

If you would like to see if the problem is actually due to corrupted index
files, then you should try to query for your "ghosting" entries using some
non-indexed value.  The search should be slower but succesful.

If indexes are indeed the problem and the only problem, then the cleanest
solution is what you suggest- slapcat, remove the database files, and
slapadd (while the server is off).  This should cleanly regenerate the index

Hope this helps,

Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948

-----Original Message-----
From: Jesper Dalberg [mailto:dalberg@cybercity.dk]
Sent: Wednesday, August 28, 2002 6:31 AM
To: openldap-software@OpenLDAP.org
Subject: Index repair after power outage

We got a huge amount of entries in our openldap setup, and after an
unfortunate power outage, som of the entries seem to be "ghosting", not
there on ldapsearch but there when u try to add them. That leads me to
believe the the index files have been corrupted somehow. We tried to rebuild
using slapindex, but with no luck.
What do I do? Slapcat and import? That wont bring back the "ghosting"
entries, but it will probably clean up the indexes. Only downside is that we
have 1,4 mio. entries (!)
/Jesper Dalberg