On Tuesday 25 September 2007, Naga wrote:
> On Tuesday 25 September 2007 09:34:58 Mick wrote:
> > On Sunday 23 September 2007, Dan Johansson wrote:
> > > Today I rebooted one of my servers and now slapd won't start (it's been
> > > running OK until this reboot). The is what the slapd.log says:
> > > -------------------8<-------------------------
> > > Sep 23 16:31:07 polar slapd[8763]: @(#) $OpenLDAP: slapd 2.3.35 (Sep 23
> > > 2007 16:28:27) $
> > > [EMAIL 
> > > PROTECTED]:/var/tmp/portage/net-nds/openldap-2.3.35-r1/work/openldap-2.
> > >3. 35 /servers/slapd Sep 23 16:31:08 polar slapd[8764]: bdb_db_open:
> > > Warning - No DB_CONFIG file found in directory /var/lib/openldap-data:
> > > (2) Expect poor performance for suffix dc=dmj,dc=nu.
> > > Sep 23 16:31:08 polar slapd[8764]: bdb(dc=dmj,dc=nu): Program version
> > > 4.5 doesn't match environment version 0.11
> > > Sep 23 16:31:08 polar slapd[8764]: bdb_db_open: Database cannot be
> > > opened, err -30972. Restore from backup!
> > > Sep 23 16:31:08 polar slapd[8764]: bdb(dc=dmj,dc=nu):
> > > DB_ENV->lock_id_free interface requires an environment configured for
> > > the locking subsystem Sep 23 16:31:08 polar slapd[8764]:
> > > bdb(dc=dmj,dc=nu): txn_checkpoint interface requires an environment
> > > configured for the transaction subsystem Sep 23 16:31:08 polar
> > > slapd[8764]: bdb_db_close: txn_checkpoint failed: Invalid argument (22)
> > > Sep 23 16:31:08 polar slapd[8764]: backend_startup_one: bi_db_open
> > > failed! (-30972)
> > > Sep 23 16:31:08 polar slapd[8764]: bdb_db_close: alock_close failed
> > > Sep 23 16:31:08 polar slapd[8764]: slapd stopped.
> > > Sep 23 16:31:08 polar slapd[8764]: connections_destroy: nothing to
> > > destroy. -------------------8<-------------------------
> > >
> > > I've tried to restore a backup from before the reboot - but I still
> > > have the same problem. Any suggestions on what to do to solve this?
> >
> > Not sure if this will help, but if I recall correctly a new slot of
> > sys-libs/db was brought out recently.  Have you run etc-update and
> > revdep-rebuild since your last update?
>
> Had the same problem, had to revert db + dump database from ldap then
> upgrade db + rebuild ldap and then import database into ldap.

Yes, that was exactly what I had to do as well, was just about to answer my 
own mail...

-- 
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to