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

Re: parent does not exist ?



Well verifying the trace of delete, i guess you are trying to delete a user
called Giridhar.... with something like
X-PID=(..), now i am not too sure but this X-PID seems to be the parent node
and i dont know whether
this dn .ie X-PID=..,O=Los Alamos National Lab., c=US exists. If its not a
dn, then for deleting the entry
you will always get an error saying parent doesn't exists. Either you create
that dn(this becomes a node at a certain level) and then below that you can
attach your cn=...,X-PID=.. etc.
Or better take the suggestion of kurt and well reload the entire database
again with ldapadd.
bye
bharat

> I get a "No such object" while adding an entry and "Operations error"
> while deleting an entry.
>
> A trace of a delete follows:
> slapd 1.2.6-Release (Fri Sep  3 15:50:43 MDT 1999)
> slapd starting
> do_bind
> do_bind: version 2 dn (cn=root, o=Los Alamos National Laboratory, c=US)
> method 128
> dn2entry_r: dn: "CN=ROOT,O=LOS ALAMOS NATIONAL LABORATORY,C=US"
> => dn2id( "CN=ROOT,O=LOS ALAMOS NATIONAL LABORATORY,C=US" )
> => ldbm_cache_open( "/usr/local/lib/openldap/dn2id.dbb", 66, 600 )
> <= ldbm_cache_open (opened 0)
> <= dn2id NOID
> dn2entry_r: dn: "O=LOS ALAMOS NATIONAL LABORATORY,C=US"
> => dn2id( "O=LOS ALAMOS NATIONAL LABORATORY,C=US" )
> => ldbm_cache_open( "/usr/local/lib/openldap/dn2id.dbb", 66, 600 )
> <= ldbm_cache_open (cache 0)
> <= dn2id 56057
> => id2entry_r( 56057 )
> => ldbm_cache_open( "/usr/local/lib/openldap/id2entry.dbb", 66, 600 )
> <= ldbm_cache_open (opened 1)
> => str2entry
> <= str2entry 0x8099940
> <= id2entry_r( 56057 ) (disk)
> ====> cache_return_entry_r
> do_bind: bound "cn=root, o=Los Alamos National Laboratory, c=US" to
> "cn=root, o=
> Los Alamos National Laboratory, c=US"
> send_ldap_result 0::
> do_delete
> dn2entry_w: dn: "CN=GIRIDHAR P RAICHUR,X-PID=12128,O=LOS ALAMOS NATIONAL
> LABORAT
> ORY,C=US"
> => dn2id( "CN=GIRIDHAR P RAICHUR,X-PID=12128,O=LOS ALAMOS NATIONAL
> LABORATORY,C=
> US" )
> => ldbm_cache_open( "/usr/local/lib/openldap/dn2id.dbb", 66, 600 )
> <= ldbm_cache_open (cache 0)
> <= dn2id 43646
> => id2entry_w( 43646 )
> => ldbm_cache_open( "/usr/local/lib/openldap/id2entry.dbb", 66, 600 )
> <= ldbm_cache_open (cache 1)
> => str2entry
> <= str2entry 0x80983f0
> <= id2entry_w( 43646 ) (disk)
> => has_children( 43646 )
> => ldbm_cache_open( "/usr/local/lib/openldap/id2children.dbb", 66, 600 )
>
> <= ldbm_cache_open (opened 2)
> <= has_children( 43646 ): no
> dn2entry_w: dn: "X-PID=12128,O=LOS ALAMOS NATIONAL LABORATORY,C=US"
> => dn2id( "X-PID=12128,O=LOS ALAMOS NATIONAL LABORATORY,C=US" )
> => ldbm_cache_open( "/usr/local/lib/openldap/dn2id.dbb", 66, 600 )
> <= ldbm_cache_open (cache 0)
> <= dn2id NOID
> dn2entry_r: dn: "O=LOS ALAMOS NATIONAL LABORATORY,C=US"
> => dn2id( "O=LOS ALAMOS NATIONAL LABORATORY,C=US" )
> ====> cache_find_entry_dn2id: found dn: O=LOS ALAMOS NATIONAL
> LABORATORY,C=US
> <= dn2id 56057 (in cache)
> => id2entry_r( 56057 )
> ====> cache_find_entry_dn2id: found id: 56057 rw: 0
> <= id2entry_r 0x8099940 (cache)
> ====> cache_return_entry_r
> <=- ldbm_back_delete: parent does not exist
> send_ldap_result 1::
> ====> cache_return_entry_w
> do_unbind
>
> What does "parent does not exist" mean? I apologise if I did not provide
> sufficient information.
> Any help in solving this problem is greatly appreciated.
>
> Giridhar Raichur
>
>