1 |
On 5/22/10, Ward Poelmans <wpoely86@×××××.com> wrote: |
2 |
> On Sat, May 22, 2010 at 21:26, Christopher Kurtis Koeber |
3 |
> <ckoeber@×××××.com> wrote: |
4 |
> |
5 |
>> XXXXXXXXXX~ # slaptest |
6 |
>> |
7 |
>> hdb_db_open: warning - no DB_CONFIG file found in directory |
8 |
>> /var/lib/openldap-data: (2). |
9 |
>> |
10 |
>> Expect poor performance for suffix "dc= XXXXXXXXXXXX,dc=XXX". |
11 |
>> |
12 |
>> hdb_db_open: database "dc= XXXXXXXXXXXX,dc=XXX": |
13 |
>> db_open(/var/lib/openldap-data/id2entry.bdb) failed: No such file or |
14 |
>> directory (2). |
15 |
>> |
16 |
>> backend_startup_one (type=hdb, suffix="dc=XXXXXXXXXXXX,dc=XXX"): |
17 |
>> bi_db_open |
18 |
>> failed! (2) |
19 |
>> |
20 |
>> slap_startup failed (test would succeed using the -u switch) |
21 |
>> |
22 |
>> So, I am guessing I need to initialize somehow? Is that right? |
23 |
> |
24 |
> Normally, if the directory /var/lib/openldap-data/ exists and is |
25 |
> read-writeable for the user under which slapd is running, slapd |
26 |
> creates the database for you. But you beter copy a DB_CONFIG to there |
27 |
> for good perfomance. |
28 |
> |
29 |
> Ward |
30 |
> |
31 |
> |
32 |
|
33 |
I tried running the service as root with the same results below, so I |
34 |
don't think this is a permissions issue, especially since I am |
35 |
attempting to run this straight from a standard emerge with no |
36 |
customizations beyond what was given in the guide. |
37 |
|
38 |
Here is the latest: |
39 |
|
40 |
hdb_db_open: warning - no DB_CONFIG file found in directory |
41 |
/var/lib/openldap-data: (2). |
42 |
Expect poor performance for suffix "dc=XXXXXXXXX,dc=XXX". |
43 |
hdb_db_open: database "dc=XXXXXXXXX,dc=XXX": |
44 |
db_open(/var/lib/openldap-data/id2entry.bdb) failed: No such file or |
45 |
directory (2). |
46 |
backend_startup_one (type=hdb, suffix="dc=XXXXXXXXX,dc=XXX"): |
47 |
bi_db_open failed! (2) |
48 |
slap_startup failed (test would succeed using the -u switch) |
49 |
|
50 |
-- |
51 |
Regards, |
52 |
Christopher Koeber |