From owner-freebsd-ports@FreeBSD.ORG Mon Apr 29 18:27:01 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C1857F1D for ; Mon, 29 Apr 2013 18:27:01 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-yh0-x22f.google.com (mail-yh0-x22f.google.com [IPv6:2607:f8b0:4002:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 72C7516B7 for ; Mon, 29 Apr 2013 18:27:01 +0000 (UTC) Received: by mail-yh0-f47.google.com with SMTP id f64so565054yha.6 for ; Mon, 29 Apr 2013 11:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=x-received:date:from:to:subject:message-id:in-reply-to:references :reply-to:organization:x-mailer:face:mime-version:content-type; bh=aIejvuvUur/nnGw3nkbBVymgtGF/daTnWG05jsQNSSI=; b=PgV+gIeI4GFFX+4y7nxqhfLqa3ufkIYEsHyt6SNzZ55oXYD0AEmWXGrXF5iHC2BDDx a/tPDm6tSg0oKCw+Y5Ih+jDABXDWD/HSjagnbGBZ5UhTADxBthpwp5MY3Ekan/JB/2fv OFO1jicBbaAY6iPpnfSpMn8z6ya6RBLpLRMjU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :reply-to:organization:x-mailer:face:mime-version:content-type :x-gm-message-state; bh=aIejvuvUur/nnGw3nkbBVymgtGF/daTnWG05jsQNSSI=; b=h6j3IEjus6LlUQUQ7Nf8tjQRd9qGKNMqWVILYF/JyArtS2F950BfTlQURI/26Sz6FO vyHkWUzTGINOgN4G1SEIt69iYarwKTj8bDGWixKxwqxHGJZhO3ASv1tIJ5lGGEjes5AG M/cPOvGYOg2L0PZVnaJbY9Hwvd0ROb9pE0g3MrZLi3a6dd1yiXd+jggZKivke6HMgroi AnUZBQk9L6cviQEJtyaeVHpWgjF5qPq0UG1nNlnpc/A5YhgFdRVPRcSP2+cRN4NVyeDz HgenC7j3UkI1yE4BCoYm6U9/8D3/Pa1NfehQ6HNa0x8dtPhVq4+TkEO5U9YJnDPGHdrJ euoA== X-Received: by 10.236.0.107 with SMTP id 71mr33234849yha.177.1367260020859; Mon, 29 Apr 2013 11:27:00 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPSA id a24sm33209091yhj.23.2013.04.29.11.26.59 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 11:27:00 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3ZzvTt5vPfz2CG57 for ; Mon, 29 Apr 2013 14:26:58 -0400 (EDT) Date: Mon, 29 Apr 2013 14:26:48 -0400 From: Jerry 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> <20130428131704.1eb14721@scorpio> <517E0443.2050804@delphij.net> <20130429071307.50874b19@scorpio> <517EB1C0.4020409@FreeBSD.org> Organization: seibercom.net X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/SH1e10oD+vf26CbaZUgFYk0"; protocol="application/pgp-signature" X-Gm-Message-State: ALoCoQmf11lqKyHwmok8kULoVZj7afY66cdg2uCtLrci3TCEw6/WJArU1yaqOxtnIEDRu5reL/Li X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2013 18:27:01 -0000 --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--