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

Re: bdb_index_read: failed (-30989)

matthew sporleder wrote:
On 6/17/07, JOYDEEP <j.bakshi@unlimitedmail.org> wrote:
Dear list,

what does this error mean ?

bdb_index_read: failed (-30989)

and how can I fix it ?

here is the index portion of my slapd.conf

# Indices to maintain
index   objectClass     eq
index   accountActive,virtualDomain  eq
index   mail     eq

It looks like your index might be corrupt.  When you search for
something that isn't indexed but you get a message more like this:
<= bdb_equality_candidates: (myAttrib) index_param failed (18).

Whereas your message (bdb_index_read: failed (-30989)) seems to be
more related to sleepycat not being able to read the index, not a
specific attribute.  :)

No. Depending on the version of BerkeleyDB being used, this could be a DB_NOTFOUND result (which just means the data being queried for doesn't exist) or a DB_OLDVERSION result (which means the DB file was created by an older version of BDB). Since the original poster didn't provide a BerkeleyDB version number, it's impossible to tell what the actual problem is.

Don't just throw out random guesses when you don't have enough information to answer a question. Ask more questions and get the necessary info.

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