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

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:

http://anorien.csc.warwick.ac.uk/mirrors/buchan/openldap/rhel2.1/

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

Attachment: pgp32a1qSIdF5.pgp
Description: PGP signature