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

Re: Error OpenLDAP 2.2.4 & Berkeley 4.2.52



> El lun, 12-01-2004 a las 12:11, Pierangelo Masarati escribió:
>> >
>> > Hi all!
>> >
>> >   I've just compiled new openldap version and all steps gone ok.
>> >
>> >   But when i want to charge data into directory i obtain next error
>> > (after few minutes) "slapadd: idl.c:660:bdb_idl_insert_key:
>> Assertion"
>> >
>> >
>> >  # ./slapadd -f ../etc/openldap/slapd.conf -b "o=Universidad Carlos
>> > III,c=es" -l ../Info.ldif  -d 1
>>
>> see ITS#2905
>>
>> http://www.openldap.org/its/index.cgi/Software%20Bugs?id=2905
>>
>> if it is the same error (duplicate add
>> via slapadd) it was just fixed in HEAD.
>>
>> p.
>>
>
>   Hi!
>
>    I've verified my LDIF and there isn't any duplicate entry. It could
> be because of using aliasedObject with bdb backend?

As far as I remember, alias support is broken/unavailable
in back-bdb.  Though, I can't say for sure that your crash
is related to that.  I note that crashes in tools have become
a bit frequent, perhaps because they get less attention
than slapd itself.

p.

>
>    Thanks
>
>
>> >
>> >
>> > many log lines .... and
>> >
>> >>>> dnPrettyNormal:
>> > <ou=Receptores,ou=consejo-math,ou=Grupos,o=Universidad Carlos
>> III,c=es> <<< dnPrettyNormal:
>> > <ou=Receptores,ou=consejo-math,ou=Grupos,o=Universidad Carlos
>> III,c=es>, <ou=receptores,ou=consejo-math,ou=grupos,o=universidad
>> carlos iii,c=es>
>> >>>> dnPretty: <cn=Administrador LDAP,o=Universidad Carlos III,c=ES>
>> > <<< dnPretty: <cn=Administrador LDAP,o=Universidad Carlos III,c=ES>
>> >>>> dnNormalize: <cn=Administrador LDAP,o=Universidad Carlos
>> III,c=ES>
>> > <<< dnNormalize: <cn=administrador ldap,o=universidad carlos
>> iii,c=es>
>> >>>> dnPretty: <cn=Administrador LDAP,o=Universidad Carlos III,c=ES>
>> > <<< dnPretty: <cn=Administrador LDAP,o=Universidad Carlos III,c=ES>
>> >>>> dnNormalize: <cn=Administrador LDAP,o=Universidad Carlos
>> III,c=ES>
>> > <<< dnNormalize: <cn=administrador ldap,o=universidad carlos
>> iii,c=es> <=
>> str2entry(ou=Receptores,ou=consejo-math,ou=Grupos,o=Universidad
>> Carlos III,c=es) -> 0x81fb2a8
>> > oc_check_required entry
>> > (ou=Receptores,ou=consejo-math,ou=Grupos,o=Universidad Carlos
>> III,c=es), objectClass "organizationalUnit"
>> > oc_check_allowed type "ou"
>> > oc_check_allowed type "description"
>> > oc_check_allowed type "objectClass"
>> > oc_check_allowed type "creatorsName"
>> > oc_check_allowed type "createTimestamp"
>> > oc_check_allowed type "modifiersName"
>> > oc_check_allowed type "modifyTimestamp"
>> > oc_check_allowed type "structuralObjectClass"
>> > => bdb_tool_entry_put( -1,
>> > "ou=Receptores,ou=consejo-math,ou=Grupos,o=Universidad Carlos
>> III,c=es" )
>> > => bdb_dn2id( "ou=consejo-math,ou=grupos,o=universidad carlos
>> iii,c=es" )
>> > <= bdb_dn2id: got id=0x000001bd
>> > => bdb_dn2id( "ou=receptores,ou=consejo-math,ou=grupos,o=universidad
>> carlos iii,c=es" )
>> > <= bdb_dn2id: got id=0x000001be
>> > => entry_encode(0xffffffff):
>> > ou=Receptores,ou=consejo-math,ou=Grupos,o=Universidad Carlos
>> III,c=es => index_entry_add( -1,
>> > "ou=Receptores,ou=consejo-math,ou=Grupos,o=Universidad Carlos
>> III,c=es" )
>> > => key_change(ADD,ffffffff)
>> > slapadd: idl.c:660: bdb_idl_insert_key: Assertion `id != ((ID)~0)'
>> failed.   <----- here's the error.
>> > Aborted
>> >
>> > --
>> > +----------------------
>> > El lenguaje de la verdad es sencillo.
>> > 		-- S�©neca. (2 a.C-65) Fil�³sofo latino.
>> > ------------------------------------------------------------------------
>> >
>> > 		   '''
>> > 		  (O O)			   -= CENTRO DE CÃ?Â?LCULO =-
>> > 	+---oOO----(_)-----------+       [Grupo de Sistemas Centrales] |
>> Ignacio D�­az Asenjo   |
>> > 	|                        |    Universidad Carlos III (Leganes) |
>> nacho@di.uc3m.es    |       Edificio Betancourt (1.1J02)
>> +------------------oOO---+            Tfno: (91)624-94-81
>> > 		|__|__|
>> > 		 || ||                  (gpg-key disponible en:
>> > 		ooO Ooo                       x-hkp://pgp.rediris.es)
> --
> +----------------------
> Los falsos amigos y las deudas, siempre llegan sonriendo.
> ------------------------------------------------------------------------
>
> 		   '''
> 		  (O O)			   -= CENTRO DE CÃ?LCULO =-
> 	+---oOO----(_)-----------+       [Grupo de Sistemas Centrales]
> 	|  Ignacio Díaz Asenjo   |
> 	|                        |    Universidad Carlos III (Leganes)
> 	|    nacho@di.uc3m.es    |       Edificio Betancourt (1.1J02)
> 	+------------------oOO---+            Tfno: (91)624-94-81
> 		|__|__|
> 		 || ||                  (gpg-key disponible en:
> 		ooO Ooo                       x-hkp://pgp.rediris.es)


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it