Hollo, I'm new in Ldap,
I use
Linux Suse 8.0
openldap2-2.1.4-46
openldap-lib-1.2.13
I don't know what happen in my Ldap server. I erased some
record in the next way.
# ldapdelete -v -D 'cn=Manager, dc=Colegio Oficial de Arquitectos de Madrid,dc=es' -x -f borrar.ldif -w password ldap_initialize( <DEFAULT> ) deleting entry " uid=COL666,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es" Delete Result: Success (0) deleting entry " uid=COL669,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es" Delete Result: Success (0) deleting entry " uid=COL690,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es" Delete Result: Success (0) deleting entry " uid=COL760,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es" Delete Result: Success (0) deleting entry " uid=COL827,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es" Delete Result: Success (0) deleting entry " uid=COL863,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es" Killed
But before it finished, (uid=COL863 is not the last one), it stopped without return system prompt, and the CPU was in 100% and there were more than 30 ldap process. So I had to kill ldapdelete command. But after it was not posible to connect to ldap server. I restarted it, but then it was not posible for ever, and port 389 was not open. So I had to reinstall the full openldap2-2.1.4-46 package, and load another time the data. Why happens this? How can I avoid to reinstall it? Is there a recover method without reinstall?
Any help will be appreciated. Thanks very much.
borrar.ldif (the file for
deleting)
uid=COL666,ou=smb,dc=Colegio Oficial de Arquitectos de
Madrid,dc=es
uid=COL669,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es uid=COL690,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es uid=COL760,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es uid=COL827,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es uid=COL863,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es uid=COL919,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es uid=COL965,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es uid=COL967,ou=smb,dc=Colegio Oficial de Arquitectos de Madrid,dc=es
/var/log/messages Jun 12 10:15:45 coco slapd[1176]: daemon: conn=138
fd=29 connection from IP=127.0.0.1:32970 (IP=0.0.0.0:389) accepted.
|