Re: bdb_index_read: failed

2010-05-07 Thread Howard Chu

Chris Jacobs wrote:

This was all assuming that this was an established service - and if you've
simply taken over an admin role, this could have been going on for a while
and the final 'culprit' may simply be missing indexes.


There is no missing index. The index is working correctly, it was simply asked 
to find a value that does not exist. There's nothing abnormal about that, 
there's nothing to fix. This whole thread is much ado about nothing.

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


Re: bdb_index_read: failed

2010-05-07 Thread Chris Jacobs
Ah, hah.  I admit, I hadn't read that far back and made some ass/umptions.

Doh.

- chris

Chris Jacobs, Systems Administrator
Apollo Group  |  Apollo Marketing | Aptimus
2001 6th Ave Ste 3200 | Seattle, WA 98121
phone: 206.441.9100 x1245 | mobile: 206.601.3256 | fax: 206.441.9661
email: chris.jac...@apollogrp.edu

- Original Message -
From: Howard Chu h...@symas.com
To: Chris Jacobs
Cc: 'ar...@infopact.nl' ar...@infopact.nl; 'openldap-technical@openldap.org' 
openldap-technical@openldap.org
Sent: Fri May 07 01:06:15 2010
Subject: Re: bdb_index_read: failed

Chris Jacobs wrote:
 This was all assuming that this was an established service - and if you've
 simply taken over an admin role, this could have been going on for a while
 and the final 'culprit' may simply be missing indexes.

There is no missing index. The index is working correctly, it was simply asked
to find a value that does not exist. There's nothing abnormal about that,
there's nothing to fix. This whole thread is much ado about nothing.
--
   -- Howard Chu
   CTO, Symas Corp.   http://www.symas.com
   Director, Highland Sun http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/


This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.




Re: bdb_index_read: failed

2010-05-04 Thread Howard Chu

Arwin wrote:

Hi all,

We are running 1 master server and a couple of slaves, all openldap-2.4 on 
Ubuntu 8.04 lts, syncrepl
and cn=config configuration.
The last couple of days we are getting a few of the following errors in the 
slapd logs:

Apr 29 11:03:41 ldapsrvr-1 slapd[6112]: bdb_idl_fetch_key: [b49d1940]
Apr 29 11:03:41 ldapsrvr-1 slapd[6112]:= bdb_index_read: failed (-30990)
Apr 29 11:03:41 ldapsrvr-1 slapd[6112]:= bdb_equality_candidates: id=0, 
first=0, last=0
Apr 29 11:03:41 ldapsrvr-1 slapd[6112]: =  bdb_equality_candidates 
(objectClass)

Tried solving it by re-adding the index and running slapindex but the errors 
still remain.

Everything seems to work ok though, replication works, we can add/edit entries 
and user
authentication of accounts in the dit work just fine.

Can anybody tell me if this (bdb_index_read: failed (-30990)) is something that 
needs to be fixed
and if so, how?


No. It's normal, it just means it was looking for the index of a value that 
doesn't exist in your DB.


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