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

Re: Entries in LDAP dir seem to sporadically become unreadable





--On Monday, October 31, 2005 9:51 AM -0800 George Farris <farrisg@mala.bc.ca> wrote:

There was a thread about loosing indexes earlier this year.  We are
experiencing the same problem that every once in a while the ldbm
database must be re-indexed by stopping slapd, running slapindex on the
database and then starting slapd again.  Was there ever a resolution to
this problem?

We are having to doing this about once per day on Ubuntu Breezy,
OpenLDAP 2.2.26-3

What would be the reason the ldap server looses indexes?  We have not
modified the slapd.conf file in a long time, have not added or deleted
any indexes.

Any tips greatly appreciated.

You are using ldbm, and then wondering why you are having problems? :) Seems somewhat explanatory to me... I suggest upgrading to one of the more stable and robust backends, like hdb (OpenLDAP 2.3.11 or later if you want really good performance from it) or bdb (any of OL 2.2 or 2.3).


--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin