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

can not backup using slapcat+ldbm+openldap-2.3.20



Hi OpenLDAP users,

I'm facing problem to backup my database when using openldap 2.3.20.

I need to create backup database ldbm using slapcat command. But I
have problem when run command #slapcat -l <filename> while slapd
service is running.
the error message:
ldbm_back_db_open: database already in use
backend_startup_one: bi_db_open failed! (-1)
slap_startup failed

If i stop slapd and run the command again, there is no error and
slapcat success backup the file.

my current system:
openldap-2.3.20+ldbm backend

uname:

Linux <hostname> 2.6.16.16 #1 SMP Wed May 24 11:12:13 SGT 2006 i686 GNU/Linux

I have tested also openldap-2.3.20 using DBD backend, and slapcat can
run successfully without stop slapd.

Another server running openldap-2.2.26+ldbm, and no error also.

Anyone has the same problem and any solution for this problem?

Thanks

YB