[Date Prev][Date Next]
Re: How can I re-start the DB from scratch without damaging OpenLDAP?
-----BEGIN PGP SIGNED MESSAGE-----
Alessandro Bottoni wrote:
| I'm studying OpenLDAP and, from time to time, I need to delete the
| database and re-start from scratch (because I'm still experimenting
| in order to find the right directory structure for a new application).
| Can I simply stop the LDAP daemon, delete the whole database directory
| (var/lib/ldap, in my case) and restart the LDAP daemon?
| Is this method too brutal?
| Is there any "canonical" or "suggested" method to delete the old DB and
| re-start from scratch?
You defined it above.
| I'm using OpenLDAP 2.1.30 with the default BDB back-end on Mandrake 10.1.
Note that Mandrake 10.1 has openldap-2.2.17 or so in contrib, although
you may also consider rebuilding the current openldap-2.2.23-2mdk SRPM
from cooker (either one will install in parallel with your current
Or ... you can try these binaries:
Buchan Milne Senior Support Technician
Obsidian Systems http://www.obsidian.co.za
B.Eng RHCE (803004789010797)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----