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

Re: Problem with OpenLDAP 2.0.25

> I have been struggling with OpenLDAP on my freshly
> installed FreeBSD 5.0-RELEASE box.  I have installed
> OpenLDAP2 from the ports collection, set up my
> ldap.conf and slapd.conf, and started slapd.  When I
> try to ldapadd, I get an "ldap_add: Operations error."
> By turning on debugging in slapd, I see this:
> => ldbm_cache_open( "dn2id.dbb", 73, 600 )
> <= ldbm_cache_open NULL "dn2id.dbb" errno=2 reason="No
> such file or directory"
> <= dn2id could not open dn2id.dbb
> When I try to use any of the slap tools, I get
> "xxxxxx: could not open database."  I have double and
> triple checked my conf files, and brought in a friend
> to help me check them as well.  Everything looks good,
> and it is his understanding that the dbb files are
> created if they do not exist when ldapadd is run.  Can
> any tell me what is going on, or at the least get me
> some blank dbb files I can throw in to get this ball
> rolling?

what userid your slapd runs under? Does that userid
have write permission to the directory/files the db
is expected to reside?


Pierangelo Masarati