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

Re: bdb_equality_candidates



Philip Colmer wrote:

> While turning up the logging a bit to try to understand why slapd was

> so busy, I noticed the following the log:

>

> bdb_equality_candidates: (objectClass) not indexed

> bdb_equality_candidates: (objectClass) not indexed

> bdb_equality_candidates: (uid) not indexed

>

> However, the configuration for the database includes this:

>

> olcDbIndex:

> entryCSN,entryUUID,uid,uidNumber,gidNumber,memberUid,uniqueMember,

> objectClass,memberOf eq

> olcDbIndex: givenName,sn sub

> olcDbIndex: mail,cn eq,sub

>

> I have stopped slapd, run slapindex and restarted slapd but the

> entries persist in the log file.

>

> Any suggestions on what I need to do to fix this, please? I'm running

> version 2.4.38.

Possibly, you have run slapindex as root??

Then your slapd process is unable to read the index. Chown the files to

openldap:openldap if that are your slapd user/group.

 

# ls -lsh /var/lib/ldap/

insgesamt 13M

4,0K -rw-r--r-- 1 openldap openldap 4,0K 18. Jul 14:50 alock

40K -rw------- 1 openldap openldap 40K 6. Mai 20:04 cn.bdb

12K -rw------- 1 openldap openldap 24K 18. Jul 14:50 __db.001

364K -rw------- 1 openldap openldap 360K 22. Jul 13:00 __db.002

308K -rw------- 1 openldap openldap 2,6M 22. Jul 13:00 __db.003

20K -rw------- 1 openldap openldap 160K 21. Jul 22:50 __db.004

984K -rw------- 1 openldap openldap 1,3M 22. Jul 13:00 __db.005

12K -rw------- 1 openldap openldap 32K 21. Jul 22:50 __db.006

4,0K -rw-r--r-- 1 openldap openldap 96 1. Jan 2012 DB_CONFIG

8,0K -rw------- 1 openldap openldap 8,0K 1. Jan 2012 dc.bdb

8,0K -rw------- 1 openldap openldap 8,0K 7. Feb 14:46 dhcpHWAddress.bdb

28K -rw------- 1 openldap openldap 28K 6. Mai 20:04 displayName.bdb

24K -rw------- 1 openldap openldap 24K 6. Mai 20:04 dn2id.bdb

8,0K -rw------- 1 openldap openldap 8,0K 6. Mai 20:04 gidNumber.bdb

8,0K -rw------- 1 openldap openldap 8,0K 6. Mai 20:04 givenName.bdb

132K -rw------- 1 openldap openldap 128K 15. Mai 13:07 id2entry.bdb

11M -rw------- 1 openldap openldap 10M 21. Jul 22:50 log.0000000001

8,0K -rw------- 1 openldap openldap 8,0K 6. Mai 20:04 loginShell.bdb

8,0K -rw------- 1 openldap openldap 8,0K 6. Mai 20:04 mail.bdb

8,0K -rw------- 1 openldap openldap 8,0K 6. Mai 19:34 memberUid.bdb

16K -rw------- 1 openldap openldap 16K 6. Mai 20:04 objectClass.bdb

8,0K -rw------- 1 openldap openldap 8,0K 6. Mai 19:34 ou.bdb

8,0K -rw------- 1 openldap openldap 8,0K 6. Mai 20:04 sambaSID.bdb

8,0K -rw------- 1 openldap openldap 8,0K 27. Nov 2012 sambaSIDList.bdb

16K -rw------- 1 openldap openldap 16K 6. Mai 20:04 sn.bdb

16K -rw------- 1 openldap openldap 16K 6. Mai 20:04 uid.bdb

8,0K -rw------- 1 openldap openldap 8,0K 6. Mai 20:04 uidNumber.bdb

8,0K -rw------- 1 openldap openldap 8,0K 1. Jan 2012 uniqueMember.bdb

 

 

>

> Many thanks.

>

> Philip

 

 

--

 

Harry Jede