On 5/22/10, Ward Poelmans <[email protected]> wrote: > On Sat, May 22, 2010 at 21:26, Christopher Kurtis Koeber > <[email protected]> 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 > >
I tried running the service as root with the same results below, so I don't think this is a permissions issue, especially since I am attempting to run this straight from a standard emerge with no customizations beyond what was given in the guide. Here is the latest: hdb_db_open: warning - no DB_CONFIG file found in directory /var/lib/openldap-data: (2). Expect poor performance for suffix "dc=XXXXXXXXX,dc=XXX". hdb_db_open: database "dc=XXXXXXXXX,dc=XXX": db_open(/var/lib/openldap-data/id2entry.bdb) failed: No such file or directory (2). backend_startup_one (type=hdb, suffix="dc=XXXXXXXXX,dc=XXX"): bi_db_open failed! (2) slap_startup failed (test would succeed using the -u switch) -- Regards, Christopher Koeber

