Re: prelude manager problem

Matthieu Audisio <[email protected]>
Newsgroups gmane.comp.security.ids.prelude.user
Message-ID <[email protected]>
Hi,

I think you just have to uncomment the line [db] in your configuration file
:


[db]

# The type of database: mysql, pgsql or sqlite3.
 type = mysql



Regards.



2009/6/4 lovewadhwa <[email protected]>

> Hi
> I installed prelude packages with the following specified versions:
>
> libprelude-0.9.22
> libpreludedb-0.9.15.1
> prelude-manager-0.9.14.2
>
> When i try to start prelude manager i m getting the following error:
>
> 04 Jun 15:57:28 (process:17200) INFO: Subscribing Normalize to active
> decoding plugins.
> /usr/local/prelude/prelude-manager/etc/prelude-manager/prelude-manager.conf:184:
> invalid option "type" in "global" section.
> /usr/local/prelude/prelude-manager/etc/prelude-manager/prelude-manager.conf:190:
> invalid option "host" in "global" section.
> /usr/local/prelude/prelude-manager/etc/prelude-manager/prelude-manager.conf:196:
> invalid option "name" in "global" section.
> /usr/local/prelude/prelude-manager/etc/prelude-manager/prelude-manager.conf:202:
> invalid option "pass" in "global" section.
> 04 Jun 15:57:28 (process:17200) INFO: server started (listening on
> 127.0.0.1 port 4690).
> 04 Jun 15:57:28 (process:17200) ERROR: could not lookup user 'prelude'.
> (manager-options.c:394 set_user)
> 04 Jun 15:57:28 (process:17200) WARNING: Option error: error while
> setting option 'user'.
>
> I have provided the correct mysql credentials in prelude manager conf
> file as shown below:
>
> # [db]
>
> # The type of database: mysql, pgsql or sqlite3.
>  type = mysql
>
> # Only if you use sqlite3.
> # file = /your/path/to/your/db/idmef-db.sql
>
> # Host the database is listening on.
>  host = localhost
>
> # Port the database is listening on.
> # port = 3306
>
> # Name of the database.
>  name = prelude
>
> # Username to be used to connect the database.
>  user = prelude
>
> # Password used to connect the database.
>  pass = prelude
>
>
> The grants have been provided as per the above information in mysql.
>
>
>
> When i compiled prelude-manager, i had compiled with mysql support and
> even after running configure script, it showed me the following:
>
> *** Dumping configuration ***
>    - TCP wrapper support    : no
>    - XML plugin support     : yes
>    - Database plugin support: yes
>
> Please help.
>
> _______________________________________________
> Prelude-user site list
> [email protected]
> http://lists.prelude-ids.org/mailman/listinfo/prelude-user
>
_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.