[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap and freebsd

On Wednesday 13 December 2000 01:05, Rob Simmons wrote:
> I'm running FreeBSD 4.2-STABLE and I'm having a bit of a problem with
> openldap.  I installed the port version 1.2.11_1.  Everything is working to
> spec, except if I reboot the box all the db files in /var/run/openldap-ldbm
> get blown away.  I have a feeling that it has something to do with the
> rc.shutdown script and its calling of the /usr/local/etc/rc.d/slapd.sh
> script so this mailing list might not be the place to ask this question.
> I've also posted this to freebsd-questions, so hopefully someone else will
> have encountered this problem before.

yes, I've seen it too...
This is because FreeBSD clears /var/run during the boot proces...
What you can do is to put your openldap-ldbm directory in /var/db
or in some other place and point your directory directive in 
/usr/local/etc/openldap/slapd.conf there...