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

Re: Problem after upgrade



On Monday 20 March 2006 17:04, Matt wrote:
> Hi,
> I just upgraded my openldap to 2.2.29 and now when I try to start I get:

From what?

>
> slapd startup: initiated.
> backend_startup: starting "dc=REMOVED,dc=net"
> bdb_db_open: dc=REMOVED,dc=net
> bdb_db_open: dbenv_open(/var/lib/ldap)
> bdb(dc=REMOVED,dc=net): Program version 4.3 doesn't match environment
> version bdb_db_open: dbenv_open failed: DB_VERSION_MISMATCH: Database
> environment version mismatch (-30974)
> backend_startup: bi_db_open failed! (-30974)
> slapd shutdown: initiated
> ====> bdb_cache_release_all
> bdb(dc=REMOVED,dc=net): DB_ENV->lock_id_free interface requires an
> environment configured for the locking subsystem
> slapd shutdown: freeing system resources.
> bdb(dc=REMOVED,dc=net): txn_checkpoint interface requires an
> environment configured for the transaction subsystem
> bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
> slapd stopped.
> connections_destroy: nothing to destroy.
>
>
> Can anyone offer any insight?

You could run database recovery with the utilities for the previous version of 
Berkeley DB you were using. But, you may also want to take note that AFAIK 
the recommended version of Berkeley DB to use is still 4.3.

Besides the database library version, note that all the recent major version 
changes in OpenLDAP required a database export(slapcat)/import (slapadd). So, 
if you are upgrading from 2.1 or older, skip database recovery, and slapcat 
with your previous version and slapadd with the new one.

Finally, I'd wonder why you are upgrading to an unsupported (2.2.x) 
version ...

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

Attachment: pgpNALqb9hjdn.pgp
Description: PGP signature