Date: Fri, 13 Jun 2014 00:47:37 +0200 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Matthew Seaman <matthew@FreeBSD.org> Cc: freebsd-current@freebsd.org 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <matthew@FreeBSD.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140613004737.11a92984.ohartman>