The command I was using did not define a file or a directory, so I assume it was using my default slapd.conf.  

When using ‘slapd’ in tool mode, does it spawn the slapd server then perform the command, then kill the server?  Meaning, should I have ldap stopped when using slapd in tool mode?


MAT


On 3/3/09 11:51 AM, "Quanah Gibson-Mount" <quanah@zimbra.com> wrote:

--On Tuesday, March 03, 2009 7:53 AM -0700 Mathew Rowley
<mathew_rowley@cable.comcast.com> wrote:

> When using the '-n 0' option I get the following error:
>
> slapadd startup: initiated.
> backend_startup_one: starting "cn=config"
> config_back_db_open
> config_build_entry: "cn=config"
> config_build_entry: "cn=schema"
> config_build_entry: "cn={0}core"
> config_build_entry: "olcDatabase={-1}frontend"
> config_build_entry: "olcDatabase={0}config"
> config_build_entry: "olcDatabase={1}bdb"
> slapadd: could not open database.

Hi Mathew,

Are you using slapd.conf or a config directory?  Something doesn't seem
quite right at this point with your configuration.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration


--
MAT