Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Fail to start slapd after reboot
Date: Tue, 25 Sep 2007 09:50:11
Message-Id: 200709250835.09013.michaelkintzios@gmail.com
In Reply to: [gentoo-user] Fail to start slapd after reboot by Dan Johansson
1 On Sunday 23 September 2007, Dan Johansson wrote:
2 > Today I rebooted one of my servers and now slapd won't start (it's been
3 > running OK until this reboot). The is what the slapd.log says:
4 > -------------------8<-------------------------
5 > Sep 23 16:31:07 polar slapd[8763]: @(#) $OpenLDAP: slapd 2.3.35 (Sep 23
6 > 2007 16:28:27) $
7 > root@polar:/var/tmp/portage/net-nds/openldap-2.3.35-r1/work/openldap-2.3.35
8 >/servers/slapd Sep 23 16:31:08 polar slapd[8764]: bdb_db_open: Warning - No
9 > DB_CONFIG file found in directory /var/lib/openldap-data: (2) Expect poor
10 > performance for suffix dc=dmj,dc=nu.
11 > Sep 23 16:31:08 polar slapd[8764]: bdb(dc=dmj,dc=nu): Program version 4.5
12 > doesn't match environment version 0.11
13 > Sep 23 16:31:08 polar slapd[8764]: bdb_db_open: Database cannot be opened,
14 > err -30972. Restore from backup!
15 > Sep 23 16:31:08 polar slapd[8764]: bdb(dc=dmj,dc=nu): DB_ENV->lock_id_free
16 > interface requires an environment configured for the locking subsystem
17 > Sep 23 16:31:08 polar slapd[8764]: bdb(dc=dmj,dc=nu): txn_checkpoint
18 > interface requires an environment configured for the transaction subsystem
19 > Sep 23 16:31:08 polar slapd[8764]: bdb_db_close: txn_checkpoint failed:
20 > Invalid argument (22)
21 > Sep 23 16:31:08 polar slapd[8764]: backend_startup_one: bi_db_open failed!
22 > (-30972)
23 > Sep 23 16:31:08 polar slapd[8764]: bdb_db_close: alock_close failed
24 > Sep 23 16:31:08 polar slapd[8764]: slapd stopped.
25 > Sep 23 16:31:08 polar slapd[8764]: connections_destroy: nothing to destroy.
26 > -------------------8<-------------------------
27 >
28 > I've tried to restore a backup from before the reboot - but I still have
29 > the same problem. Any suggestions on what to do to solve this?
30
31 Not sure if this will help, but if I recall correctly a new slot of
32 sys-libs/db was brought out recently. Have you run etc-update and
33 revdep-rebuild since your last update?
34 --
35 Regards,
36 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Fail to start slapd after reboot Naga <nagatoro@×××××.com>