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

Re: change my database directory

Gérard Madiot wrote:
I would like to change my database directory.
I changed for newdir in slapd.conf and DB_CONFIG

What did you change in DB_CONFIG? Do you mean you just moved this file into the new physical directory?

I have deleted my default database directory /var/lib/openldap/openldap-data
When I run:
slapd -Tt -F /home/ldap/newdir -f /home/ldap/newdir/slapd.conf
I get the message:
bdb_db_open: Cannot access database directory /var/lib/openldap/openldap-data (2)
but I don't find any reference to openldap-data in my config files. Any suggestion?.

Are you trying to convert you slapd.conf to LDIF?

Kind Regards,

Gavin Henry.
OpenLDAP Engineering Team.

E ghenry@OpenLDAP.org

Community developed LDAP software.