[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
operations error
Hi
I get an "operations error" when I try to add entries with
ldapadd. I checked the archives, but didn't find anything
similar enough. Here's the output of the debug mode:
sjt@sdva4813:/opt/java/sjt/Ldap/libexec> slapd -p 8081 -d
5
slapd 1.2.11-Release (Fri Aug 25 11:03:39 METDST 2000)
root@sdva4813:/opt/java/sjt/Ldap/openldap-
1.2.11/servers/slapd
slapd starting
do_bind: version 2 dn (cn=root, o=Experian, c=FR) method 128
==> ldbm_back_bind: dn: CN=ROOT,O=EXPERIAN,C=FR
dn2entry_r: dn: "CN=ROOT,O=EXPERIAN,C=FR"
=> dn2id( "CN=ROOT,O=EXPERIAN,C=FR" )
=> ldbm_cache_open( "/opt/java/sjt/Ldap//var/openldap-
ldbm/dn2id.dbb", 7, 600 )
<= ldbm_cache_open NULL "/opt/java/sjt/Ldap//var/openldap-
ldbm/dn2id.dbb" errno 0 reason "Error 0")
<= dn2id could not open dn2id.dbb
dn2entry_r: dn: "O=EXPERIAN,C=FR"
=> dn2id( "O=EXPERIAN,C=FR" )
=> ldbm_cache_open( "/opt/java/sjt/Ldap//var/openldap-
ldbm/dn2id.dbb", 7, 600 )
<= ldbm_cache_open NULL "/opt/java/sjt/Ldap//var/openldap-
ldbm/dn2id.dbb" errno 0 reason "Error 0")
<= dn2id could not open dn2id.dbb
do_bind: bound "cn=root, o=Experian, c=FR" to "cn=root,
o=Experian, c=FR"
send_ldap_result 0::
do_add
do_add: ndn (O=EXPERIAN,C=FR)
==> ldbm_back_add: o=Experian, c=FR
=> dn2id( "O=EXPERIAN,C=FR" )
=> ldbm_cache_open( "/opt/java/sjt/Ldap//var/openldap-
ldbm/dn2id.dbb", 7, 600 )
<= ldbm_cache_open NULL "/opt/java/sjt/Ldap//var/openldap-
ldbm/dn2id.dbb" errno 0 reason "Error 0")
<= dn2id could not open dn2id.dbb
entry_rdwr_wlock: ID: 0
next_id_read: could not open
"/opt/java/sjt/Ldap//var/openldap-ldbm/NEXTID"
next_id_write(33): could not open
"/opt/java/sjt/Ldap//var/openldap-ldbm/NEXTID"
=> id2children_add( 0, 1 )
=> ldbm_cache_open( "/opt/java/sjt/Ldap//var/openldap-
ldbm/id2children.dbb", 7, 600 )
<= ldbm_cache_open NULL "/opt/java/sjt/Ldap//var/openldap-
ldbm/id2children.dbb" errno 0 reason "Error 0")
<= id2children_add -1 could not open "id2children.dbb"
id2children_add failed
send_ldap_result 1::
====> cache_return_entry_w
entry_rdwr_wunlock: ID: 1
do_unbind
I ran slapd as user (sjt) on port 8081 and those lines
sound strange to me :
->why is there a reference to root at the beginning ?
->there's no openldap-ldbm/ in my var directory, so I don't
have any *.dbb file.
It looks like a denied permission, but I can't log in as
root. Can anybody confirm (or invalidate) ?
What should I do then ?
Thanks for any help
S.Jacquet
Experian, trainee
______________________________________________________
Boîte aux lettres - Caramail - http://www.caramail.com