Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2013 18:45:36 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: openldap-2.4.35: "failed to start slapd"
Message-ID:  <517EB1C0.4020409@FreeBSD.org>
In-Reply-To: <20130429071307.50874b19@scorpio>
References:  <20130428070851.60d08788@scorpio> <CADLo839jkJOAh4nNPvn8_2VMLEuaf8%2BoKW2ibnPtM9rmqU7ghw@mail.gmail.com> <20130428131704.1eb14721@scorpio> <CADLo8382V97nGiTq4wMa_R_EXcjKpdGEZv3dEkBgrUeUwJ5yDA@mail.gmail.com> <517E0443.2050804@delphij.net> <20130429071307.50874b19@scorpio>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2IUQMLJQNASTSIDPUSFBL
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 29/04/2013 12:13, Jerry wrote:
> On Sun, 28 Apr 2013 22:25:23 -0700
> Xin Li articulated:
>=20
>> This is weird.  We do have some similar construct for the server
>> package -- if the package is being removed, the daemon would be
>> stopped.
>>
>> I haven't seen similar issue in the past, what's the BDB version used
>> with OpenLDAP?
>=20
> It is using "db46" although I have both "db48" and "db5" on my system.
> I would like to switch everything over to using "db5"; however, I am
> not sure how to accomplish that with openldap. I did see a patch for
> Debian a while back though.
>=20
> In any case, this is the first time this has happened in over 12 years
> of using and updating "openldap". It may have just been a fluke.

To rebuild openldap based on db5, add

WITH_BDB_VER?=3D  5

to /etc/make.conf and then rebuild the openldap client and server ports.

However, beware that you will need to dump out your database using
slapcat before installing the newly compiled ldap packages, and then
reload using slapadd afterwards.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



------enig2IUQMLJQNASTSIDPUSFBL
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlF+scoACgkQ8Mjk52CukIziiwCgkLfxlfQuYYvTZL4StGTEFA3N
PcwAnjuCkEAait5mCbyAg+XSw1XBS7+R
=WNVp
-----END PGP SIGNATURE-----

------enig2IUQMLJQNASTSIDPUSFBL--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?517EB1C0.4020409>