Date: Mon, 29 Apr 2013 14:26:48 -0400 From: Jerry <jerry@seibercom.net> To: freebsd-ports@freebsd.org Subject: Re: openldap-2.4.35: "failed to start slapd" Message-ID: <20130429142648.089ed8fe@scorpio> In-Reply-To: <517EB1C0.4020409@FreeBSD.org> 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> <517EB1C0.4020409@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/SH1e10oD+vf26CbaZUgFYk0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 29 Apr 2013 18:45:36 +0100 Matthew Seaman articulated: > 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. >=20 > To rebuild openldap based on db5, add >=20 > WITH_BDB_VER?=3D 5 >=20 > to /etc/make.conf and then rebuild the openldap client and server > ports. >=20 > 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. Thanks Matthew, I was wondering if I would have to rebuild the database. I kind of thought that I would. One question though, why "WITH_BDB_VER?=3D5" instead of the same setting sans the "?" question mark? Plus, is there really a need for a space or tab between the directive and the setting? I have seen several such flags using one style or the other. Is it just a matter of style or does it actually make any difference? --=20 Jerry =E2=99=94 Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ --Sig_/SH1e10oD+vf26CbaZUgFYk0 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJRfrtyAAoJEF2rWD2do7dNFWAIAJis2hN+MosxhzNPwybMSzeF eEcNXlx5ROkjEVF0IJ+oidZi7Qz13uCE7FDRXbL9XyR6DAuCczT/vW+s3wagJSju 8C26glIsFrqX5mXivr8C+DZ0/qE8XbQzrGftyRYSH0Nysabx6pFcXVWGIG8d+UHr oM4tXZEUnJ0Yutn4FClv+c8/d46upzLTj0N0k/eOUeCieGUeTphBb/1J3QBEJrwY DzELRHXGYWYYygAgXHaHLsrlR9Dh4yCxt2T1KPytAnbLj+OqEVbgTdQpKDVnAY6P Y4LKwe8nvp8Qju4CcVzTjI17wMh5YLqNXtlnYGQOLvDfbhaYJOOuqgeA8BdTI4M= =MzY0 -----END PGP SIGNATURE----- --Sig_/SH1e10oD+vf26CbaZUgFYk0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130429142648.089ed8fe>