Hi,
I have Open LDAP version 2.3 installed on CentOS 5. Open LDAP is installed by using root account.
I’m trying to make backup of LDAP data by using slapcat tool. If this tool is running by the root user backup is successfully created. But, if this tool is running by some other user following error is displayed:
bdb_db_open: alock package is unstable
backend_startup_one: bi_db_open failed! (-1)
slap_startup failed
I try to allow reading for all files that are in /var/lib/ldap folde, but it did not help.
Can I run this tool if I’m logged in by using some other user and how I can do this?
Thanks in advance.
Best Regards, Ivan
Ivan Mladenović wrote:
I’m trying to make backup of LDAP data by using slapcat tool. If this tool is running by the root user backup is successfully created. But, if this tool is running by some other user following error is displayed:
bdb_db_open: alock package is unstable
backend_startup_one: bi_db_open failed! (-1)
slap_startup failed
It's pretty obvious that this has something to do with ownership/permissions of the database files. You might have already tried something but not correctly.
Note that you should not make the database directories/files world-readable!
Ciao, Michael.
openldap-technical@openldap.org