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

Re: Problem with OpenLDAP 2.0.25

Does the directory where the database goes exist?
OpenLDAP will not create the directory if its missing,
just the files.

On Thu, Mar 13, 2003 at 11:14:17AM -0800, Joshua Call wrote:
> 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?  
> Thanks
> jc
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - establish your business online
> http://webhosting.yahoo.com