openldap fails to start at boot time
the directory /var/run/openldap is missing, therefore the slapd does not start on boot.
Easy-fix:
Adjust the /etc/init.d/slapd file.
sed -i ‘s|depend|if [ ! -d /var/run/openldap ] then\n mkdir -p /var/run/openldap\n fi\n&|’ /etc/init.d/slapd
(or something similar)
(from redmine: issue id 2128, created on 2013-06-27, closed on 2013-07-02)
- Changesets:
- Revision f10bce07 by Natanael Copa on 2013-07-02T11:50:56Z:
main/openldap: create pid dir before checking config
ref #2128
- Revision 64443cb2 by Natanael Copa on 2013-07-02T11:51:31Z:
main/openldap: create pid dir before checking config
fixes #2128