Date: Mon, 28 Jun 2010 12:47:23 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: =?UTF-8?B?RXJpayBOw7hyZ2FhcmQ=?= <norgaard@locolomo.org> Cc: Frank Bonnet <f.bonnet@esiee.fr>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: slapd crash the HP proliant DL360 at 8.0 Message-ID: <4C288BCB.806@infracaninophile.co.uk> In-Reply-To: <8C94099E-A380-47E9-9E6E-1353459A4A23@locolomo.org> References: <4C285459.2010704@esiee.fr> <CA71A6A9-9BD2-498C-A661-B8AF085AD0D1@locolomo.org> <4C2871E2.6030907@esiee.fr> <8C94099E-A380-47E9-9E6E-1353459A4A23@locolomo.org>
index | next in thread | previous in thread | raw e-mail
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 28/06/2010 12:23:36, Erik Nørgaard wrote:
> On 28/giu/2010, at 11:56, Frank Bonnet <f.bonnet@esiee.fr> wrote:
>
>> Argh !!!
>>
>> I upgraded slapd to 2.4.22 and it does not start anymore !!!
>>
>> some symbol cannot be found anymore
>>
>> I had to revert to 2.3.4x to have a working slapd !!!
>>
>> What's wrong with 2.4.22 folks ?
>
> I don't think there's anything wrong except with your upgrading. Openldap uses Berkeley DB as backend and upgrading your ldap you may also have upgraded to a different bdb.
As I recall, slapd frequently won't read the BDB data files from a
different minor version (eg 2.3 -> 2.4). Basically you should dump your
LDAP directory using slapcat, move aside your old /var/db/openldap and
create a new one, upgrade slapd, use slapadd to reload your data, then
restart slapd.
As a matter of course when updating slapd, always use slapcat to grab a
copy of the directory before starting. You can't always tell if the
update will require you to reload the data, so it's wise to always be
prepared.
Cheers,
Matthew
- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew@infracaninophile.co.uk Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkwoi8sACgkQ8Mjk52CukIwHwQCeM0i32NTU+n9m8aNrB34dVq7b
dq4AnjQ7hp0GssYqwaf1YxFtUoyRFPiY
=rX41
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C288BCB.806>
