From owner-freebsd-current@FreeBSD.ORG Thu Jun 12 22:47:39 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE64C954; Thu, 12 Jun 2014 22:47:39 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9A58121D7; Thu, 12 Jun 2014 22:47:39 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1WvDmT-002781-Ub>; Fri, 13 Jun 2014 00:47:37 +0200 Received: from g226177179.adsl.alicedsl.de ([92.226.177.179] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1WvDmT-0008dj-SN>; Fri, 13 Jun 2014 00:47:37 +0200 Date: Fri, 13 Jun 2014 00:47:37 +0200 From: "O. Hartmann" To: Matthew Seaman Subject: Re: 11.0-CURRENT #1 r267422: OpenLDAP fails to startup out of the blue after buildworld Message-ID: <20140613004737.11a92984.ohartman@zedat.fu-berlin.de> In-Reply-To: <539A20D6.20704@FreeBSD.org> References: <20140612230659.37f5b528@munin.walstatt.dyndns.org> <9C4B004B82984D7688EF110733F2D1D0@multiplay.co.uk> <539A20D6.20704@FreeBSD.org> Organization: FU Berlin X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/S+N/6F=_Cn8rqsO3Xq+hjjd"; protocol="application/pgp-signature" X-Originating-IP: 92.226.177.179 X-ZEDAT-Hint: A Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2014 22:47:39 -0000 --Sig_/S+N/6F=_Cn8rqsO3Xq+hjjd Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Thu, 12 Jun 2014 22:51:18 +0100 Matthew Seaman schrieb: > On 12/06/2014 22:37, Steven Hartland wrote: > > According to that useless "suggestion" to restore from backup, I > > restored the configuration and the users from backups. slapadd works > > fine. But then starting the server fails again. >=20 > What user ID did you use to run slapadd as? It's a common mistake to do > that as root, and then end up with stuff in /var/db/openldap owned by > root, rather than ldap. Or the contents of > ${LOCALBASE}/etc/openldap/slapd.d >=20 > Fix is just to chown those two directories to ldap:ldap >=20 > Cheers, >=20 > Matthew >=20 I did this change, but as I reported just a minute ago, there was another i= ssue with a hidden syntax problem regarding MDB and HDB (leftover olcDbXXX object speci= fiers and a nasty typo). The problems played "Ringelpiez" with me and so I turned in ci= rcles trying to catch up. Problem solved! Was homebrewn. I edited the LDIF files for the config when = I changed from HDB backend to MDB backend and somehow I had some terrible typos and syntax= faults which where triggered now (and I do not know why, but I do not ask anymore). Thanks. Oliver --Sig_/S+N/6F=_Cn8rqsO3Xq+hjjd Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJTmi4JAAoJEOgBcD7A/5N8GLkH/0r6KjS5AbAlKbBXf7ueLCHy wv/jxRTdHltCjLAGW1IX6ShzBDSl6LLt5j54nGA5+CFC/pfjg+RfmCrGp0KR2XRt GA4byGTgkzpGSRLUOYQ3Td0C2jrL4RKcK7XT0B5Zt0LYYjdfs/YNUYvIwn3Yjf8F 8XzTqI0Fp8w2XougbbLeaWTnTqyBSr0G9fNKcQfZU90k6dBo12kv9GT+lVbPiMhf 2ym6XUhymLfCjJDz2PTXVZxtuLuhYJ9wv4YJKumQtKdylbfcM/QuhY2J7Ggt35ra Asi62ckr3tR7E9vhCgxJLDS34abVSpi/UTNFKbnsRa1fExG1397TpZit8V4mEqM= =0Pse -----END PGP SIGNATURE----- --Sig_/S+N/6F=_Cn8rqsO3Xq+hjjd--