On Fri, May 13, 2011 at 4:02 PM, Tito Mari Francis Escaqo
<[email protected]> wrote:
> Good day!
> I was able to install OpenLDAP 2.4.23p1 on OpenBSD 4.9, sure enough it will
> run as daemon when I edited /etc/rc.conf as below:
> ldapd_flags=""
>
> I run slaptest -u and get the complaint:
> unable to open file "/var/run/openldap/slapd.pid"
>
> I find that /var/run/openldap is not created, when I execute:
> mkdir /var/run/openldap
>
> if we execute slaptest -u again, it will say test OK, but if I reboot the
> box, the path /var/run/openldap will be erased again. Can you please advise
> me how this can be resolved? Thank you very much.

Doesn't this package use new rc.subr(8) framework?  I reckon there
should be an /etc/rc.d/slapd.rc ...

--
Zak B. Elep || orangeandbronze.com
1486 7957 454D E529 E4F1  F75E 5787 B1FD FA53 851D

Reply via email to