1 |
On Tuesday 25 September 2007, Naga wrote: |
2 |
> On Tuesday 25 September 2007 09:34:58 Mick wrote: |
3 |
> > On Sunday 23 September 2007, Dan Johansson wrote: |
4 |
> > > Today I rebooted one of my servers and now slapd won't start (it's been |
5 |
> > > running OK until this reboot). The is what the slapd.log says: |
6 |
> > > -------------------8<------------------------- |
7 |
> > > Sep 23 16:31:07 polar slapd[8763]: @(#) $OpenLDAP: slapd 2.3.35 (Sep 23 |
8 |
> > > 2007 16:28:27) $ |
9 |
> > > root@polar:/var/tmp/portage/net-nds/openldap-2.3.35-r1/work/openldap-2. |
10 |
> > >3. 35 /servers/slapd Sep 23 16:31:08 polar slapd[8764]: bdb_db_open: |
11 |
> > > Warning - No DB_CONFIG file found in directory /var/lib/openldap-data: |
12 |
> > > (2) Expect poor performance for suffix dc=dmj,dc=nu. |
13 |
> > > Sep 23 16:31:08 polar slapd[8764]: bdb(dc=dmj,dc=nu): Program version |
14 |
> > > 4.5 doesn't match environment version 0.11 |
15 |
> > > Sep 23 16:31:08 polar slapd[8764]: bdb_db_open: Database cannot be |
16 |
> > > opened, err -30972. Restore from backup! |
17 |
> > > Sep 23 16:31:08 polar slapd[8764]: bdb(dc=dmj,dc=nu): |
18 |
> > > DB_ENV->lock_id_free interface requires an environment configured for |
19 |
> > > the locking subsystem Sep 23 16:31:08 polar slapd[8764]: |
20 |
> > > bdb(dc=dmj,dc=nu): txn_checkpoint interface requires an environment |
21 |
> > > configured for the transaction subsystem Sep 23 16:31:08 polar |
22 |
> > > slapd[8764]: bdb_db_close: txn_checkpoint failed: Invalid argument (22) |
23 |
> > > Sep 23 16:31:08 polar slapd[8764]: backend_startup_one: bi_db_open |
24 |
> > > failed! (-30972) |
25 |
> > > Sep 23 16:31:08 polar slapd[8764]: bdb_db_close: alock_close failed |
26 |
> > > Sep 23 16:31:08 polar slapd[8764]: slapd stopped. |
27 |
> > > Sep 23 16:31:08 polar slapd[8764]: connections_destroy: nothing to |
28 |
> > > destroy. -------------------8<------------------------- |
29 |
> > > |
30 |
> > > I've tried to restore a backup from before the reboot - but I still |
31 |
> > > have the same problem. Any suggestions on what to do to solve this? |
32 |
> > |
33 |
> > Not sure if this will help, but if I recall correctly a new slot of |
34 |
> > sys-libs/db was brought out recently. Have you run etc-update and |
35 |
> > revdep-rebuild since your last update? |
36 |
> |
37 |
> Had the same problem, had to revert db + dump database from ldap then |
38 |
> upgrade db + rebuild ldap and then import database into ldap. |
39 |
|
40 |
Yes, that was exactly what I had to do as well, was just about to answer my |
41 |
own mail... |
42 |
|
43 |
-- |
44 |
Dan Johansson, <http://www.dmj.nu> |
45 |
*************************************************** |
46 |
This message is printed on 100% recycled electrons! |
47 |
*************************************************** |