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

Re: Errors Creating Database w/ OpenLDAP 2.0.1



On Wed, 13 Sep 2000, Joseph A. Martin wrote:

> I cannot insert the one entry into the database using either slapadd
> or ldapadd. slapadd consistently tells me: 
> 
> slapadd init: initiated tool.
> ==>backsql_initialize()
> <==backsql_initialize()
> slapadd startup: initiated.
> backend_startup: starting database
> => ldbm_cache_open( "/var/lib/ldap/id2entry.dbb", 7, 600 )
> <= ldbm_cache_open NULL "/var/lib/ldap/id2entry.dbb" errno=0 reason="Success")
> Could not open/create id2entry.dbb
> slapadd: could not open database.

As which user does slapd run? Does that user have the required rights to
create/edit a file in the /var/lib/ldap directory?

Hugo.

-- 
Hugo van der Kooij; Oranje Nassaustraat 16; 3155 VJ  Maasland
hvdkooij@caiw.nl	http://home.kabelfoon.nl/~hvdkooij/
--------------------------------------------------------------
Quoting this tagline is illegal! (http://www.dtcc.edu/cs/rfc1855.html)