View Single Post
  #2 (permalink)  
Old 20-Apr-2009, 17:39
ab@novell.com ab@novell.com is offline
Explorer Penguin
 
Join Date: Apr 2009
Posts: 690
ab@novell.com hasn't been rated much yet
Default Re: Database Error while adding .ldif data file in LDAP Server

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The 68 message means just what it says it means... the O you are trying to
add already exists. Stop trying to add it. If you have multiple
operations in the LDIF file you can add (depending on your client) the
'-c' option to have it continue despite errors and do other things but so
far it seems like things are just fine.

Good luck.





w8swasi wrote:
> HI
> i am using openSuse11.1. while configuring LDAP Server 2.4.12 when i
> try to add my .ldif file i got this error message. The command i used
> for adding the file is *"slapadd -l ./tree.ldif"*
>
> \"BDB_DB_OPEN: DATABASE \"O=BCH\": DATABASE ALREADY IN USE.
> BACKEND_STARTUP_ONE: BI_DB_OPEN FAILED! (-1)
> SLAP_STARTUP FAILED\"
>
> and if i use this command*"ldapadd -D "cn=admin,o=bch" -x -W -f
> tree.ldif"* then i get this message
>
> ADDING NEW ENTRY \"O=BCH\"
> LDAP_ADD: ALREADY EXISTS (68)
>
> where *rcldap* is running
> any help or suggestion in this situation.
> Thanks
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJJ7PlLAAoJEF+XTK08PnB5HiIQAKY9iQlUao Sr9yf5Dw8vKmIA
YCSDlmit5xyUHtEo+BiaiFafixtFJPoP1NcW9shyyt0nmOwzoK slbHdyVI4/TqI7
9opvH4k4w0wGwJRl3cQkwJSr9m4nk+uk586sMj8ar/RrToojcZf2e3adis1xcg15
sXMNYXD+QKqNAc/jLP2BBzLy6rfnjVQ7KS5mHsZA3qEVTn5IwFQ/8ZsnwHoio500
Ec6ohc7grdNInFGOKUz50HNhuAZ4Hb5CtZHMKkFk/KtZzbd4E3wuqpfLpaIdTFls
ej5eE+I+zKnpIUaTBoDn5vOPTTcBCEtU2mOWHoyXudQHb7XvSO YS7fDsbp4cmBbH
/yavfU62ZipboZn24xJa/8DfojDDW/cDaU5LoWGGa92uQa8yjWQQU1iCrf4C91Vt
ZPx5mD2c2Esn3myeL9hq3s3GcX/iLO4GQ9cgANmXN+6Wo6thOdisk5ZLIqiepxZq
J8TSkk0PePQIa8EoSV4Ke/FQT8TMbWVOC2DiIcaQ0jiE953rze185HOEymE8iNbb
VGixYeCekjcT5MlMmFY995zVxqGDkkppTWb4fy2NEOw7/lLstAGA1nGrT34tSNu1
RINiL8T8UQcWzTBlg6kA5aEmugwK6B+bo1HZNEPKYoiPW7dBeB yEHIVgD6iReUZ6
Yki4YR+w3l9KMijLMaps
=nBoA
-----END PGP SIGNATURE-----
Reply With Quote