4 msgOO save error with 2.3
7 msgOT: howto setup vsftpd and virtual hosts by NAM...
2 msgRunning X under Gentoo in Virtualbox
3 msgKiosk server
3 msglogrotate not working
3 msgr8169 and slow transfers over LAN
3 msgPHP emerging error
14 msgIs this drive toast--addendum
13 msgIs this drive toast?
2 msgTrouble fetching all required files for network...
6 msgHow to get hotplug goign?
5 msgauto proxy config (Firefox, and more)
6 msgAti 3d not working
3 msgHow to dhcp to a specific address, and thank you
1 msgTrying to recover ALSA functionality after PEBK...
5 msgnew machine: Intel quad vs duo
8 msgshared portage tree

Fail to start slapd after reboot
\ Dan Johansson (23 Sep 2007)
. \ Mick (25 Sep 2007)
. . \ Naga (25 Sep 2007)
. . . \ Dan Johansson (25 Sep 2007)

18 msgChanging CHOST
8 msgRoot NFS Kernel option
Subject:Re: Fail to start slapd after reboot
Group:Gentoo-user
From:Dan Johansson
Date:25 Sep 2007


 

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) $
> > > root/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!
***************************************************



© 2004-2008 readlist.com