[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Problem with OpenLDAP 2.0.25
To answer Pierangelo and Ian's questions...
The folder exists, slapd is currently running under the root account,
which owns the folder. I have also made the folder read/writeable by
all users, just to see if that is the problem.
jc
-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Pierangelo
Masarati
Sent: Thursday, March 13, 2003 1:14 PM
To: joshcall@yahoo.com
Cc: openldap-software@OpenLDAP.org
Subject: 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?
p.
--
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it