Gentoo Archives: gentoo-security

From: Robert Larson <robert@×××××××××.com>
To: gentoo-security@l.g.o
Subject: Re: [gentoo-security] invalid section : "db"
Date: Thu, 02 Feb 2006 21:56:27
Message-Id: 200602021546.39795.robert@sixthings.com
In Reply to: RE: [gentoo-security] invalid section : "db" by "Stéphane Joguet"
1 Thank you for your help, but I have resolved the problem. It was simply that
2 I did not specify the "dbx" USE flag (for database extraction layer) when
3 building prelude-manager.
4
5 When prelude-manager gets configured, it will check for libpreludedb. If it
6 is present, it will install support for it. When I installed prelude-manager
7 I had not yet installed libpreludedb, and I did not enable the USE flag
8 requiring that libpreludedb be installed. So, prelude-manager was actually
9 built without support for libpreludedb resulting in the errors.
10
11 Thank you again,
12
13 Robert
14
15
16 On Friday 27 January 2006 02:19 am, Stéphane Joguet wrote:
17 > Did you try something like “prelude-manager –db –t mysql –h localhost –p
18 > 3306 –d prelude –u prelude –P xxxx” ?
19 >
20 >
21 >
22 > _____
23 >
24 > De : Robert Larson [mailto:robert@×××××××××.com]
25 > Envoyé : jeudi 26 janvier 2006 19:33
26 > À : gentoo-security@l.g.o
27 > Objet : Re: [gentoo-security] invalid section : "db"
28 >
29 >
30 >
31 > Hello,
32 >
33 > Thank you for your response... I was simply typing "prelude-manager" on the
34 > command line. I had tried some variations, including -D, --config, and a
35 > few others without success.
36 >
37 > I was able to download and compile the prelude tools from prelude-ids.org
38 > to get going for now.
39 >
40 > I have submitted a bug about this here:
41 >
42 > http://bugs.gentoo.org/show_bug.cgi?id=120444
43 >
44 > Thank you. :)
45 >
46 > Robert
47 >
48 > On Thursday 26 January 2006 03:12 am, Stéphane Joguet wrote:
49 > > Hello,
50 > >
51 > >
52 > >
53 > > Could you send us the command line you typed ?
54 > >
55 > >
56 > >
57 > > Thanks
58 > >
59 > >
60 > >
61 > > -----Message d'origine-----
62 > >
63 > > De : Robert Larson [mailto:robert@×××××××××.com]
64 > >
65 > > Envoyé : mercredi 25 janvier 2006 22:10
66 > >
67 > > À : gentoo-security@l.g.o
68 > >
69 > > Objet : [gentoo-security] invalid section : "db"
70 > >
71 > >
72 > >
73 > > I have the following versions installed:
74 > >
75 > >
76 > >
77 > > prelude-manager-0.9.1-r1
78 > >
79 > > libprelude-0.9.3
80 > >
81 > > libpreludedb-0.9.2
82 > >
83 > >
84 > >
85 > > Here are the errors I receive when running "prelude-manager" from the
86 > >
87 > > command
88 > >
89 > > line:
90 > >
91 > >
92 > >
93 > > /etc/prelude-manager/prelude-manager.conf:90: invalid section : "db".
94 > >
95 > > /etc/prelude-manager/prelude-manager.conf:93: invalid option "type" in
96 > >
97 > > "global" section at depth 0.
98 > >
99 > > /etc/prelude-manager/prelude-manager.conf:96: invalid option "host" in
100 > >
101 > > "global" section at depth 0.
102 > >
103 > > /etc/prelude-manager/prelude-manager.conf:99: invalid option "port" in
104 > >
105 > > "global" section at depth 0.
106 > >
107 > > /etc/prelude-manager/prelude-manager.conf:102: invalid option "name" in
108 > >
109 > > "global" section at depth 0.
110 > >
111 > > /etc/prelude-manager/prelude-manager.conf:108: invalid option "pass" in
112 > >
113 > > "global" section at depth 0.
114 > >
115 > > - server started (listening on 0.0.0.0 port 4690).
116 > >
117 > >
118 > >
119 > >
120 > >
121 > > Here is my configuration located in
122 > >
123 > > /etc/prelude-manager/prelude-manager.conf:
124 > >
125 > > include = /etc/prelude/default/global.conf
126 > >
127 > > listen = 0.0.0.0
128 > >
129 > > [db]
130 > >
131 > > type = mysql
132 > >
133 > > host = localhost
134 > >
135 > > port = 3306
136 > >
137 > > name = prelude
138 > >
139 > > user = prelude
140 > >
141 > > pass = *cough!* you wish *cough!*
142 > >
143 > >
144 > >
145 > > The contents of the included global.conf are:
146 > >
147 > > [prelude]
148 > >
149 > >
150 > >
151 > > gentoo-security@g.o mailing list
152
153 --
154 gentoo-security@g.o mailing list