Ivan Mladenović wrote:
I’m trying to make backup of LDAP data by using slapcat tool. If
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)
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!