1 |
Hey! Thanks! Much better than sifting in the dark :) |
2 |
|
3 |
|
4 |
|
5 |
Here is my output: |
6 |
|
7 |
|
8 |
|
9 |
XXXXXXXXXX~ # slaptest |
10 |
|
11 |
hdb_db_open: warning - no DB_CONFIG file found in directory |
12 |
/var/lib/openldap-data: (2). |
13 |
|
14 |
Expect poor performance for suffix "dc= XXXXXXXXXXXX,dc=XXX". |
15 |
|
16 |
hdb_db_open: database "dc= XXXXXXXXXXXX,dc=XXX": |
17 |
db_open(/var/lib/openldap-data/id2entry.bdb) failed: No such file or |
18 |
directory (2). |
19 |
|
20 |
backend_startup_one (type=hdb, suffix="dc=XXXXXXXXXXXX,dc=XXX"): bi_db_open |
21 |
failed! (2) |
22 |
|
23 |
slap_startup failed (test would succeed using the -u switch) |
24 |
|
25 |
|
26 |
|
27 |
So, I am guessing I need to initialize somehow? Is that right? |
28 |
|
29 |
|
30 |
|
31 |
Thanks again. |
32 |
|
33 |
|
34 |
|
35 |
Regards, |
36 |
|
37 |
|
38 |
|
39 |
Christopher Kurtis Koeber |
40 |
|
41 |
(W): (202) 885-8654 |
42 |
|
43 |
(C): (301) 467-8417 |
44 |
|
45 |
<http://www.chriskoeber.com/> http://www.chriskoeber.com |
46 |
|
47 |
|
48 |
|
49 |
From: Kaddeh [mailto:kaddeh@×××××.com] |
50 |
Sent: Saturday, May 22, 2010 3:13 PM |
51 |
To: gentoo-user@l.g.o |
52 |
Subject: Re: [gentoo-user] Cannot start Slapd (OpenLDAP) |
53 |
|
54 |
|
55 |
|
56 |
or... |
57 |
you could run slaptest and get some failure output. |
58 |
I noticed that my slapd was having issues too, I managed to track it down to |
59 |
a bdb version mismatch |
60 |
|
61 |
miniroute ~ # slaptest |
62 |
bdb_back_initialize: BDB library version mismatch: expected Berkeley DB |
63 |
4.8.26: (2010-03-14), got Berkeley DB 4.8.30: (2010-05-03) |
64 |
backend_init: initialized for type "bdb" |
65 |
slaptest: slap_init failed! |
66 |
miniroute ~ # |
67 |
|
68 |
|
69 |
On Sat, May 22, 2010 at 11:37 AM, Ward Poelmans <wpoely86@×××××.com> wrote: |
70 |
|
71 |
On Sat, May 22, 2010 at 19:23, Christopher Kurtis Koeber |
72 |
<ckoeber@×××××.com> wrote: |
73 |
> OK, I did that, but the output is hard to parse through. Attached is text |
74 |
of |
75 |
> this command: |
76 |
> |
77 |
> /etc/init.d/slapd --debug restart |
78 |
|
79 |
That puts the debug of the init scripts on, not of openldap. Try: |
80 |
slapd -d 65535 |
81 |
|
82 |
That should give you all the debugging output of slapd. |
83 |
|
84 |
Ward |