Date: Thu, 12 Jun 2014 22:51:18 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-current@freebsd.org Subject: Re: 11.0-CURRENT #1 r267422: OpenLDAP fails to startup out of the blue after buildworld Message-ID: <539A20D6.20704@FreeBSD.org> In-Reply-To: <9C4B004B82984D7688EF110733F2D1D0@multiplay.co.uk> References: <20140612230659.37f5b528@munin.walstatt.dyndns.org> <9C4B004B82984D7688EF110733F2D1D0@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
--
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey
[-- Attachment #2 --]
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539A20D6.20704>
