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

Re: deleting database files.



Hey Sam! Did you get an answer to this? Well any case you didn't - you'll find the files in [OpenLDAP_DIR]/var/openldap-data/

It would be wise to stop the slapd daemon before killing these files of course...

Of course you can also dig this out of your slapd.conf file:

# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory       /opt/openldap-bdb/var/openldap-data

Regards
 Chris

sam wun wrote:

dear all,

where can I delete all the database files so that I can initialised it from the beginning?
I have sldap and ldap in the following path:
/usr/local/etc/openldap/
/usr/loca/libexec/


I confuse where are all the database files in my Redhat 9.0 system.
What is the proper way to delete my database(old) files?

Thanks
sam