From owner-freebsd-current@FreeBSD.ORG Thu Jun 12 21:51:43 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 869607A6 for ; Thu, 12 Jun 2014 21:51:43 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1A21C2CF4 for ; Thu, 12 Jun 2014 21:51:42 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s5CLpSnm045620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 12 Jun 2014 22:51:35 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: lucid-nonsense.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s5CLpSnm045620 Authentication-Results: smtp.infracaninophile.co.uk/s5CLpSnm045620; dkim=none reason="no signature"; dkim-adsp=none Message-ID: <539A20D6.20704@FreeBSD.org> Date: Thu, 12 Jun 2014 22:51:18 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: 11.0-CURRENT #1 r267422: OpenLDAP fails to startup out of the blue after buildworld References: <20140612230659.37f5b528@munin.walstatt.dyndns.org> <9C4B004B82984D7688EF110733F2D1D0@multiplay.co.uk> In-Reply-To: <9C4B004B82984D7688EF110733F2D1D0@multiplay.co.uk> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LEE8qDNOvoLHLFB4RR5M7SkR5TrKLqUJ2" X-Virus-Scanned: clamav-milter 0.98.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk 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 21:51:43 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --LEE8qDNOvoLHLFB4RR5M7SkR5TrKLqUJ2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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. 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 Fix is just to chown those two directories to ldap:ldap Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --LEE8qDNOvoLHLFB4RR5M7SkR5TrKLqUJ2 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.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTmiDeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATowQP/2sjnnF54tHmtyTDtM0x0xWr MbGv6xFp9fH9c9meItgR+HFlwTENFmwcJZNcwLOD2pPES+9uxnsGy3N2rQ0FOsLI +gTENG8iO21uiEjBa1wdJ1t/s7ncX5neF9p+DtUiiD5tW9VtI8rZ2KpLX+DcSNlx ChdZ+JKvVWE4yGHTsjAbfN5iP5C7lJzgzlemyOHMjEQygh4YRrXgNRtMASCVYBlm ofNCebmk7D4S/Yl38MNU2Fwh1bDMvm6MqITJqnRGo2YvffiCL5t0PaOgIUvAwJHr 9MYske+ExOB3hA3MOd1a/T9ssYXGImviuwkj9QgAdwHsKTg2FzkDRbpZQVqq/gqC edQb5j0NT9/vbsmkCj0xd9YbiVMkLcxwlgj5c9JQ9saD3GZ28w0mYYgKv/dmWsBd AnaXpNuG5RfdusIU3PII1FEWFvJGSfEexTFiP9luHFOUQ6dHQNQHVPPM+bCVLLww 7UOIEoQLf/AJIgEOOZjudIL1UFc5nB0JseFV0Ma5ARzYsdTh6g4bpq84TV0AYwnG 9kJX19hQuWNzTq6srLGwwMIKgyZYFHSHIkv3meOcc6dkQVrMfZNOtxf6+G2yALWL k2QtZyqRnPnUUPuLkiNNrMM6WwGMyfGBNPL0o5/m6aKUoJ3t8dIZp4Vk7DNNNEEw f75d+xbJKbYbpOX6RS4u =37SO -----END PGP SIGNATURE----- --LEE8qDNOvoLHLFB4RR5M7SkR5TrKLqUJ2--