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

Re: can not backup using slapcat+ldbm+openldap-2.3.20


Thanks for the fast reply, really appresiate it.

I will use back-bdb since there is no fix for this.

Thanks again.


On 6/3/06, Howard Chu <hyc@symas.com> wrote:
This is a design limitation of back-ldbm. There is no fix, use back-bdb

Yoseph Basri wrote:
> 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> #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

-- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc OpenLDAP Core Team http://www.openldap.org/project/