Gentoo Archives: gentoo-user

From: "ツ Leandro Sales" <leandroal@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Slapd doesn't start after update
Date: Sat, 28 Jul 2007 01:20:18
Message-Id: 5bc4c4570707271814h19bc0cccl6e08959b09f63659@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Slapd doesn't start after update by Tim Allingham
1 Hi Tim,
2
3 After I run revdep-rebuild, the log message is:
4
5 Jul 27 22:12:14 embedded slapd[7610]: @(#) $OpenLDAP: slapd 2.3.30
6 (Jul 27 2007 21:41:58) $
7 root@embedded:/var/tmp/portage/net-nds/openldap-2.3.30-r2/work/openldap-2.3.30/servers/slapd
8 Jul 27 22:12:20 embedded slapd[7610]: auxpropfunc error invalid
9 parameter supplied
10 Jul 27 22:12:20 embedded slapd[7610]: _sasl_plugin_load failed on
11 sasl_auxprop_plug_init for plugin: ldapdb
12 Jul 27 22:12:20 embedded slapd[7611]: bdb(o=Embedded,c=BR): Program
13 version 4.5 doesn't match environment version 0.561
14 Jul 27 22:12:20 embedded slapd[7611]: bdb_db_open: Database cannot be
15 opened, err -30972. Restore from backup!
16 Jul 27 22:12:20 embedded slapd[7611]: bdb(o=Embedded,c=BR):
17 DB_ENV->lock_id_free interface requires an environment configured for
18 the locking subsystem
19 Jul 27 22:12:20 embedded slapd[7611]: bdb(o=Embedded,c=BR):
20 txn_checkpoint interface requires an environment configured for the
21 transaction subsystem
22 Jul 27 22:12:20 embedded slapd[7611]: bdb_db_close: txn_checkpoint
23 failed: Invalid argument (22)
24 Jul 27 22:12:20 embedded slapd[7611]: backend_startup_one: bi_db_open
25 failed! (-30972)
26 Jul 27 22:12:20 embedded slapd[7611]: bdb_db_close: alock_close failed
27 Jul 27 22:12:20 embedded slapd[7611]: slapd stopped.
28 Jul 27 22:12:20 embedded slapd[7611]: connections_destroy: nothing to destroy.
29
30 2007/7/27, Tim Allingham <deserted@×××××××××××.au>:
31 > Have you tried using revdep-rebuild to check the links on that library?
32 > an updated version may have broken the links
33 >
34 >
35 >
36 > On Fri, 2007-07-27 at 17:59 -0300, ツ Leandro Sales wrote:
37 > > I reinstall openldap 2.2.28 and when I start slapd, I got (from the
38 > > log):
39 > >
40 > > Jul 27 17:55:11 embedded slapd[2957]: bdb_db_init: Initializing BDB
41 > > database
42 > > Jul 27 17:55:11 embedded slapd[2958]: bdb(o=Embedded,c=BR): Program
43 > > version 4.5 doesn't match environment version 0.22
44 > > Jul 27 17:55:11 embedded slapd[2958]: bdb_db_open: dbenv_open failed:
45 > > DB_VERSION_MISMATCH: Database environment version mismatch (-30972)
46 > > Jul 27 17:55:11 embedded slapd[2958]: backend_startup: bi_db_open
47 > > failed! (-30972)
48 > > Jul 27 17:55:11 embedded slapd[2958]: bdb(o=Embedded,c=BR):
49 > > DB_ENV->lock_id_free interface requires an environment configured for
50 > > the locking subsystem
51 > > Jul 27 17:55:11 embedded slapd[2958]: bdb(o=Embedded,c=BR):
52 > > txn_checkpoint interface requires an environment configured for the
53 > > transaction subsystem
54 > > Jul 27 17:55:11 embedded slapd[2958]: bdb_db_destroy: txn_checkpoint
55 > > failed: Invalid argument (22)
56 > >
57 > > Any clue from now?
58 > >
59 > > Thank you,
60 > > Leandro.
61 > >
62 > > 2007/7/27, ツ Leandro Sales <leandroal@×××××.com>:
63 > > Hi,
64 > >
65 > > I update my openldap to the latest available stable
66 > > version. After this I can't restart my server. So, I tried to
67 > > downgrade and any ldap command that I try to execute I got:
68 > >
69 > > slapcat: error while loading shared libraries:
70 > > liblber-2.3.so.0: cannot open shared object file: No such file
71 > > or directory
72 > >
73 > > How to fix this problem? Please, any clue will be accepted.
74 > >
75 > > Cheers,
76 > > Leandro.
77 > >
78 > >
79 > >
80 > > --
81 > > Leandro Melo de Sales.
82 > > Pervasive and Embedded Computing Laboratory
83 > > http://embedded.ufcg.edu.br/
84 > > +55 083 3310-1404 (extension 208)
85 > >
86 > > "There are 10 types of people in this world: those who understand
87 > > binary, those who don't"
88 >
89 >
90
91
92 --
93 Leandro Melo de Sales.
94 Pervasive and Embedded Computing Laboratory
95 http://embedded.ufcg.edu.br/
96 +55 083 3310-1404 (extension 208)
97
98 "There are 10 types of people in this world: those who understand
99 binary, those who don't"
100 --
101 gentoo-user@g.o mailing list