[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: How do I reduce database corruption?
- To: <openldap-software@OpenLDAP.org>
- Subject: Re: How do I reduce database corruption?
- From: "nate" <ldap@aphroland.org>
- Date: Mon, 4 Mar 2002 12:41:30 -0800 (PST)
- Importance: Normal
- In-reply-to: <1651781.1015273789735.JavaMail.sharemail@berlin.sharemedia.com>
- References: <1651781.1015273789735.JavaMail.sharemail@berlin.sharemedia.com>
<quote who="Dan Shriver">
>
>
> Basically I get entries in "limbo". If I try to delete z (or
> even x) and then re add it one of two things happens:
> 1) the delete fails claiming no z object
> 2) the delete "succeeds" but on trying to re add z I am told
> the object already exists.
>
> climbing up the tree to y doesn't help (parent entries can
> successfully be deleted, re added with no phantoms- but the
> corrupt entry persists as a phantom)
>
> slapindex also fails to rectify the problem
>
> I can only get back to a consistent state by:
> 1 turn off the db
> 2 slapcat to a file
> 3 empty the db directory
> 4 turn on the db
> 5 ldapmodify -a the file multiple times (as it is output in no
> particular order)
>
> if I try to replace steps 4 & 5 by doing slapadd (a quicker way)
> I often get an even more corrupt db than what I started with.
>
> Where did you get that browser from? I am interested in
> providing my users with a "cleaner" client.
hmm, i will test a few more things on my db tonight, but
i think i did what you said you did (rename, try to delete)
without any issues.
LDAPexplorer is available here:
http://freshmeat.net/projects/ldapexplorer/
theres no real homepage, just a site with a demo, then the
ftp archive. pretty easy to setup provided you have a webserver
with php(i use php4)
good luck
nate