[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: pls help: "Operations error" from ldapdelete (ITS#29)
Kurt,
> I believe you are getting an "Operations Error" as a result of
> a corrupt backend database. From the logs you have provided,
> it appears that the id of the entry being deleted does not exist
> in the its parent's list of children ids.
Shall I refer to the source code in order to interpret the debug trace ?
I'll dig into it if necessary.
> You might try poking about in the database with ldbmtest.
> However, I recommend you rebuild it using ldbmcat/ldif2ldbm.
I rebuilt the database but the problem is still not solved although
add/modify work properly. I tried to test with ldbmtest but there is no
man page for it. Here comes my config file, for your information :
------------------------------ cut here ----------------------------
include /usr/local/openldap/etc/openldap/slapd.at.conf
#include /usr/local/openldap/etc/openldap/slapd.oc.conf
include /usr/local/openldap/etc/cu.slapd.oc.conf
schemacheck off
#referral ldap://ldap.itd.umich.edu
#referral ldap://ldap1.csc.cuhk.edu.hk
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "dc=cuhk, dc=edu, dc=hk"
directory /usr/local/openldap/var/db
rootdn "cn=root, dc=cuhk, dc=edu, dc=hk"
rootpw ???
sizelimit 25000
access to dn=".*,dc=cuhk,dc=edu,dc=hk"
by dn="uid=1001,dc=cuhk,dc=edu,dc=hk" read
by dn="uid=1002,dc=cuhk,dc=edu,dc=hk" read
by self write
by * none
# No. of entries in cache
cachesize 5000
# DB cache size in bytes
# ~50Mb for index creation
#dbcachesize 50000000
# ~5Mb for production run
dbcachesize 5000000
loglevel 256
#loglevel 65535
index cn,sn,uid pres,eq,approx,sub
index mail,maildrop pres,eq,approx,sub
index universityID,computingID pres,eq,approx,sub
index default none
------------------------------ cut here -----------------------------
Would you please help? Thanks !
ST