Mailing List Archive

invalid section : "db"
Hello,

I'm trying to setup Prelude IDS on a new server and I seem to be running into
problems with prelude-manager upon startup. It does
start but it does not connect to MySQL (maybe I'm wrong and it's
libpreludedb).
I have the following versions installed:

prelude-manager-0.9.1-r1
libprelude-0.9.3
libpreludedb-0.9.2

Here are the errors I receive when running "prelude-manager" from the command
line:

/etc/prelude-manager/prelude-manager.conf:90: invalid section : "db".
/etc/prelude-manager/prelude-manager.conf:93: invalid option "type" in
"global" section at depth 0.
/etc/prelude-manager/prelude-manager.conf:96: invalid option "host" in
"global" section at depth 0.
/etc/prelude-manager/prelude-manager.conf:99: invalid option "port" in
"global" section at depth 0.
/etc/prelude-manager/prelude-manager.conf:102: invalid option "name" in
"global" section at depth 0.
/etc/prelude-manager/prelude-manager.conf:108: invalid option "pass" in
"global" section at depth 0.
- server started (listening on 0.0.0.0 port 4690).


Here is my configuration located in /etc/prelude-manager/prelude-manager.conf:
include = /etc/prelude/default/global.conf
listen = 0.0.0.0
[db]
type = mysql
host = localhost
port = 3306
name = prelude
user = prelude
pass = *cough!* you wish *cough!*

The contents of the included global.conf are:
[prelude]


Could I be missing something? When I first set it up I just went through and
uncommented the items above, so I wouldn't think that it wouldn't be able to
recognize "[db]" as a valid section.


Any ideas on how I could troubleshoot this further would be, oh, so helpful.

Thanks in advance!


Robert Larson

--
gentoo-security@gentoo.org mailing list
RE: invalid section : "db" [ In reply to ]
Hello,

Could you send us the command line you typed ?

Thanks

-----Message d'origine-----
De : Robert Larson [mailto:robert@sixthings.com]
Envoyé : mercredi 25 janvier 2006 22:10
À : gentoo-security@lists.gentoo.org
Objet : [gentoo-security] invalid section : "db"

Hello,

I'm trying to setup Prelude IDS on a new server and I seem to be running
into
problems with prelude-manager upon startup. It does
start but it does not connect to MySQL (maybe I'm wrong and it's
libpreludedb).
I have the following versions installed:

prelude-manager-0.9.1-r1
libprelude-0.9.3
libpreludedb-0.9.2

Here are the errors I receive when running "prelude-manager" from the
command
line:

/etc/prelude-manager/prelude-manager.conf:90: invalid section : "db".
/etc/prelude-manager/prelude-manager.conf:93: invalid option "type" in
"global" section at depth 0.
/etc/prelude-manager/prelude-manager.conf:96: invalid option "host" in
"global" section at depth 0.
/etc/prelude-manager/prelude-manager.conf:99: invalid option "port" in
"global" section at depth 0.
/etc/prelude-manager/prelude-manager.conf:102: invalid option "name" in
"global" section at depth 0.
/etc/prelude-manager/prelude-manager.conf:108: invalid option "pass" in
"global" section at depth 0.
- server started (listening on 0.0.0.0 port 4690).


Here is my configuration located in
/etc/prelude-manager/prelude-manager.conf:
include = /etc/prelude/default/global.conf
listen = 0.0.0.0
[db]
type = mysql
host = localhost
port = 3306
name = prelude
user = prelude
pass = *cough!* you wish *cough!*

The contents of the included global.conf are:
[prelude]


Could I be missing something? When I first set it up I just went through
and
uncommented the items above, so I wouldn't think that it wouldn't be able to

recognize "[db]" as a valid section.


Any ideas on how I could troubleshoot this further would be, oh, so helpful.


Thanks in advance!


Robert Larson

--
gentoo-security@gentoo.org mailing list


--
gentoo-security@gentoo.org mailing list
Re: invalid section : "db" [ In reply to ]
Hello,

Thank you for your response... I was simply typing "prelude-manager" on the command line. I had tried some variations, including -D, --config, and a few others without success.

I was able to download and compile the prelude tools from prelude-ids.org to get going for now.

I have submitted a bug about this here:
http://bugs.gentoo.org/show_bug.cgi?id=120444

Thank you. :)

Robert


On Thursday 26 January 2006 03:12 am, Stéphane Joguet wrote:
> Hello,
>
> Could you send us the command line you typed ?
>
> Thanks
>
> -----Message d'origine-----
> De : Robert Larson [mailto:robert@sixthings.com]
> Envoyé : mercredi 25 janvier 2006 22:10
> À : gentoo-security@lists.gentoo.org
> Objet : [gentoo-security] invalid section : "db"
>
> I have the following versions installed:
>
> prelude-manager-0.9.1-r1
> libprelude-0.9.3
> libpreludedb-0.9.2
>
> Here are the errors I receive when running "prelude-manager" from the
> command
> line:
>
> /etc/prelude-manager/prelude-manager.conf:90: invalid section : "db".
> /etc/prelude-manager/prelude-manager.conf:93: invalid option "type" in
> "global" section at depth 0.
> /etc/prelude-manager/prelude-manager.conf:96: invalid option "host" in
> "global" section at depth 0.
> /etc/prelude-manager/prelude-manager.conf:99: invalid option "port" in
> "global" section at depth 0.
> /etc/prelude-manager/prelude-manager.conf:102: invalid option "name" in
> "global" section at depth 0.
> /etc/prelude-manager/prelude-manager.conf:108: invalid option "pass" in
> "global" section at depth 0.
> - server started (listening on 0.0.0.0 port 4690).
>
>
> Here is my configuration located in
> /etc/prelude-manager/prelude-manager.conf:
> include = /etc/prelude/default/global.conf
> listen = 0.0.0.0
> [db]
> type = mysql
> host = localhost
> port = 3306
> name = prelude
> user = prelude
> pass = *cough!* you wish *cough!*
>
> The contents of the included global.conf are:
> [prelude]
>
> gentoo-security@gentoo.org mailing list
RE: invalid section : "db" [ In reply to ]
Did you try something like “prelude-manager –db –t mysql –h localhost –p
3306 –d prelude –u prelude –P xxxx” ?



_____

De : Robert Larson [mailto:robert@sixthings.com]
Envoyé : jeudi 26 janvier 2006 19:33
À : gentoo-security@lists.gentoo.org
Objet : Re: [gentoo-security] invalid section : "db"



Hello,

Thank you for your response... I was simply typing "prelude-manager" on the
command line. I had tried some variations, including -D, --config, and a few
others without success.

I was able to download and compile the prelude tools from prelude-ids.org to
get going for now.

I have submitted a bug about this here:

http://bugs.gentoo.org/show_bug.cgi?id=120444

Thank you. :)

Robert

On Thursday 26 January 2006 03:12 am, Stéphane Joguet wrote:

> Hello,

>

> Could you send us the command line you typed ?

>

> Thanks

>

> -----Message d'origine-----

> De : Robert Larson [mailto:robert@sixthings.com]

> Envoyé : mercredi 25 janvier 2006 22:10

> À : gentoo-security@lists.gentoo.org

> Objet : [gentoo-security] invalid section : "db"

>

> I have the following versions installed:

>

> prelude-manager-0.9.1-r1

> libprelude-0.9.3

> libpreludedb-0.9.2

>

> Here are the errors I receive when running "prelude-manager" from the

> command

> line:

>

> /etc/prelude-manager/prelude-manager.conf:90: invalid section : "db".

> /etc/prelude-manager/prelude-manager.conf:93: invalid option "type" in

> "global" section at depth 0.

> /etc/prelude-manager/prelude-manager.conf:96: invalid option "host" in

> "global" section at depth 0.

> /etc/prelude-manager/prelude-manager.conf:99: invalid option "port" in

> "global" section at depth 0.

> /etc/prelude-manager/prelude-manager.conf:102: invalid option "name" in

> "global" section at depth 0.

> /etc/prelude-manager/prelude-manager.conf:108: invalid option "pass" in

> "global" section at depth 0.

> - server started (listening on 0.0.0.0 port 4690).

>

>

> Here is my configuration located in

> /etc/prelude-manager/prelude-manager.conf:

> include = /etc/prelude/default/global.conf

> listen = 0.0.0.0

> [db]

> type = mysql

> host = localhost

> port = 3306

> name = prelude

> user = prelude

> pass = *cough!* you wish *cough!*

>

> The contents of the included global.conf are:

> [prelude]

>

> gentoo-security@gentoo.org mailing list
Re: invalid section : "db" [ In reply to ]
Thank you for your help, but I have resolved the problem. It was simply that
I did not specify the "dbx" USE flag (for database extraction layer) when
building prelude-manager.

When prelude-manager gets configured, it will check for libpreludedb. If it
is present, it will install support for it. When I installed prelude-manager
I had not yet installed libpreludedb, and I did not enable the USE flag
requiring that libpreludedb be installed. So, prelude-manager was actually
built without support for libpreludedb resulting in the errors.

Thank you again,

Robert


On Friday 27 January 2006 02:19 am, Stéphane Joguet wrote:
> Did you try something like “prelude-manager –db –t mysql –h localhost –p
> 3306 –d prelude –u prelude –P xxxx” ?
>
>
>
> _____
>
> De : Robert Larson [mailto:robert@sixthings.com]
> Envoyé : jeudi 26 janvier 2006 19:33
> À : gentoo-security@lists.gentoo.org
> Objet : Re: [gentoo-security] invalid section : "db"
>
>
>
> Hello,
>
> Thank you for your response... I was simply typing "prelude-manager" on the
> command line. I had tried some variations, including -D, --config, and a
> few others without success.
>
> I was able to download and compile the prelude tools from prelude-ids.org
> to get going for now.
>
> I have submitted a bug about this here:
>
> http://bugs.gentoo.org/show_bug.cgi?id=120444
>
> Thank you. :)
>
> Robert
>
> On Thursday 26 January 2006 03:12 am, Stéphane Joguet wrote:
> > Hello,
> >
> >
> >
> > Could you send us the command line you typed ?
> >
> >
> >
> > Thanks
> >
> >
> >
> > -----Message d'origine-----
> >
> > De : Robert Larson [mailto:robert@sixthings.com]
> >
> > Envoyé : mercredi 25 janvier 2006 22:10
> >
> > À : gentoo-security@lists.gentoo.org
> >
> > Objet : [gentoo-security] invalid section : "db"
> >
> >
> >
> > I have the following versions installed:
> >
> >
> >
> > prelude-manager-0.9.1-r1
> >
> > libprelude-0.9.3
> >
> > libpreludedb-0.9.2
> >
> >
> >
> > Here are the errors I receive when running "prelude-manager" from the
> >
> > command
> >
> > line:
> >
> >
> >
> > /etc/prelude-manager/prelude-manager.conf:90: invalid section : "db".
> >
> > /etc/prelude-manager/prelude-manager.conf:93: invalid option "type" in
> >
> > "global" section at depth 0.
> >
> > /etc/prelude-manager/prelude-manager.conf:96: invalid option "host" in
> >
> > "global" section at depth 0.
> >
> > /etc/prelude-manager/prelude-manager.conf:99: invalid option "port" in
> >
> > "global" section at depth 0.
> >
> > /etc/prelude-manager/prelude-manager.conf:102: invalid option "name" in
> >
> > "global" section at depth 0.
> >
> > /etc/prelude-manager/prelude-manager.conf:108: invalid option "pass" in
> >
> > "global" section at depth 0.
> >
> > - server started (listening on 0.0.0.0 port 4690).
> >
> >
> >
> >
> >
> > Here is my configuration located in
> >
> > /etc/prelude-manager/prelude-manager.conf:
> >
> > include = /etc/prelude/default/global.conf
> >
> > listen = 0.0.0.0
> >
> > [db]
> >
> > type = mysql
> >
> > host = localhost
> >
> > port = 3306
> >
> > name = prelude
> >
> > user = prelude
> >
> > pass = *cough!* you wish *cough!*
> >
> >
> >
> > The contents of the included global.conf are:
> >
> > [prelude]
> >
> >
> >
> > gentoo-security@gentoo.org mailing list

--
gentoo-security@gentoo.org mailing list