On Sat, May 22, 2010 at 21:26, Christopher Kurtis Koeber
<ckoe...@gmail.com> wrote:

> XXXXXXXXXX~ # slaptest
>
> hdb_db_open: warning - no DB_CONFIG file found in directory
> /var/lib/openldap-data: (2).
>
> Expect poor performance for suffix "dc= XXXXXXXXXXXX,dc=XXX".
>
> hdb_db_open: database "dc= XXXXXXXXXXXX,dc=XXX":
> db_open(/var/lib/openldap-data/id2entry.bdb) failed: No such file or
> directory (2).
>
> backend_startup_one (type=hdb, suffix="dc=XXXXXXXXXXXX,dc=XXX"): bi_db_open
> failed! (2)
>
> slap_startup failed (test would succeed using the -u switch)
>
> So, I am guessing I need to initialize somehow? Is that right?

Normally, if the directory /var/lib/openldap-data/ exists and is
read-writeable for the user under which slapd is running, slapd
creates the database for you. But you beter copy a DB_CONFIG to there
for good perfomance.

Ward

Reply via email to