[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#3906) slapadd can't find default database dir
Russell.Mosemann@cune.edu wrote:
> > It works for me:
> > rm -rf /usr/local/etc/openldap/slapd.d/* slaptest -f slapd.conf -F
> > /usr/local/etc/openldap/slapd.d slapadd -l input.ldif
> Interestingly, that works for me, too. However, this does not. The
> contents of slapd.d appear to be built, but something must not be
> quite right.
> rm -rf /usr/local/etc/openldap/slapd.d/* /usr/local/libexec/slapd -u
> ldap -f /usr/local/etc/openldap/slapd.conf \ -F
> /usr/local/etc/openldap/slapd.d kill -HUP <slapd's PID>
Look at a recursive diff between the slapd.d in one case vs the other.
Perhaps you've killed slapd before the conversion finished.
> slapadd -l input.ldif Available database(s) do not allow slapadd
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/