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

RE: Database cannot be opened

I can use one of those RPM's to fix the problem with my BDB install?  If so,
which one?  I just now tried installing bdb from here:
http://rpm.sh-linux.org/rpm-index-fc3/sh3/db4-utils-4.2.52-6.sh3.html and my
linux fc3 system reported that it's already installed.

What can I try next?  Thanks,


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Buchan Milne
Sent: Thursday, March 09, 2006 2:03 AM
To: Dave Horsfall
Cc: OpenLDAP Software List
Subject: Re: Database cannot be opened

On Thursday 09 March 2006 07:22, Dave Horsfall wrote:
> On Wed, 8 Mar 2006, Anagnost, Ted wrote:
> > Ok, did a make clean;make depend;make;make test and got this:
> [...]
> > bdb(o=OpenLDAP Project,l=Internet): Berkeley DB library configured 
> > to support only DB_PRIVATE environments
> > bdb_db_open: Database cannot be opened, err 22. Restore from backup!
> > ====> bdb_cache_release_all
> > bdb(o=OpenLDAP Project,l=Internet): DB_ENV->lock_id_free interface 
> > requires an environment configured for the locking subsystem 
> > bdb(o=OpenLDAP Project,l=Internet): txn_checkpoint interface 
> > requires an environment configured for the transaction subsystem
> > bdb_db_close: txn_checkpoint failed: Invalid argument (22)
> Which brings us back to my original answer; your BDB is either 
> misconfigured or you're linking against the wrong one.

I would guess that the problem is the Berkeley DB packages have been built
on another platform, ie one with NPTL support, and are being run on a
platform without NPTL support.

I was considering offering these packages before, but they (the build for
RHEL2.1) have not really tested them much, but they may be worth a try:



Buchan Milne
ISP Systems Specialist