Gentoo Archives: gentoo-user

From: Dan Johansson <Dan.Johansson@×××.nu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Fail to start slapd after reboot
Date: Sun, 23 Sep 2007 15:40:36
Message-Id: 200709231725.42110.Dan.Johansson@dmj.nu
1 Today I rebooted one of my servers and now slapd won't start (it's been
2 running OK until this reboot). The is what the slapd.log says:
3 -------------------8<-------------------------
4 Sep 23 16:31:07 polar slapd[8763]: @(#) $OpenLDAP: slapd 2.3.35 (Sep 23 2007
5 16:28:27) $
6 root@polar:/var/tmp/portage/net-nds/openldap-2.3.35-r1/work/openldap-2.3.35/servers/slapd
7 Sep 23 16:31:08 polar slapd[8764]: bdb_db_open: Warning - No DB_CONFIG file
8 found in directory /var/lib/openldap-data: (2) Expect poor performance for
9 suffix dc=dmj,dc=nu.
10 Sep 23 16:31:08 polar slapd[8764]: bdb(dc=dmj,dc=nu): Program version 4.5
11 doesn't match environment version 0.11
12 Sep 23 16:31:08 polar slapd[8764]: bdb_db_open: Database cannot be opened,
13 err -30972. Restore from backup!
14 Sep 23 16:31:08 polar slapd[8764]: bdb(dc=dmj,dc=nu): DB_ENV->lock_id_free
15 interface requires an environment configured for the locking subsystem
16 Sep 23 16:31:08 polar slapd[8764]: bdb(dc=dmj,dc=nu): txn_checkpoint interface
17 requires an environment configured for the transaction subsystem
18 Sep 23 16:31:08 polar slapd[8764]: bdb_db_close: txn_checkpoint failed:
19 Invalid argument (22)
20 Sep 23 16:31:08 polar slapd[8764]: backend_startup_one: bi_db_open failed!
21 (-30972)
22 Sep 23 16:31:08 polar slapd[8764]: bdb_db_close: alock_close failed
23 Sep 23 16:31:08 polar slapd[8764]: slapd stopped.
24 Sep 23 16:31:08 polar slapd[8764]: connections_destroy: nothing to destroy.
25 -------------------8<-------------------------
26
27 I've tried to restore a backup from before the reboot - but I still have the
28 same problem. Any suggestions on what to do to solve this?
29 --
30 Dan Johansson, <http://www.dmj.nu>
31 ***************************************************
32 This message is printed on 100% recycled electrons!
33 ***************************************************

Attachments

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

Replies

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