11.0-CURRENT #1 r267422: OpenLDAP fails to startup out of the blue after buildworld

Matthew Seaman matthew at FreeBSD.org
Thu Jun 12 21:51:43 UTC 2014


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140612/6102383d/attachment.sig>


More information about the freebsd-current mailing list