Re: SSL connection between Prelude-manager and MySQL

"Paulo Ferreira" <[email protected]>
Newsgroups gmane.comp.security.ids.prelude.user
Organization FCCN
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Sebastien,

No, I installed libpreludedb form source.

I tried to recompile it again and, as you can see bellow, these where my
recompilation steps.

First, to make sure that prelude-manager was not running another
libpreludedb instance, I deleted all files form libpreludedb on my system.
After that, I tried to run prelude-manager and like I was expecting, it
returned to me the following output:

24 Apr 10:32:49 (process:1671) WARNING: libpreludedb.so.0: cannot open
shared object file: No such file or directory.
24 Apr 10:32:49 (process:1671) INFO: Subscribing Normalize to active
decoding plugins.
/usr/local/etc/prelude-manager/prelude-manager.conf:154: invalid section :
"db".
/usr/local/etc/prelude-manager/prelude-manager.conf:157: invalid option
"type" in "global" section.
/usr/local/etc/prelude-manager/prelude-manager.conf:163: invalid option
"host" in "global" section.
/usr/local/etc/prelude-manager/prelude-manager.conf:166: invalid option
"port" in "global" section.
/usr/local/etc/prelude-manager/prelude-manager.conf:169: invalid option
"name" in "global" section.
/usr/local/etc/prelude-manager/prelude-manager.conf:175: invalid option
"pass" in "global" section.
/usr/local/etc/prelude-manager/prelude-manager.conf:178: invalid option
"key" in "global" section.
/usr/local/etc/prelude-manager/prelude-manager.conf:179: invalid option
"cert" in "global" section.

After that I decompressed libpreludedb source package and patched it:

$ patch -p0 < preludedb-mysql-ssl.0.patch

patching file plugins/sql/mysql/mysql.c
patching file src/preludedb-sql-settings.c
patching file src/include/preludedb-sql-settings.h

Then I simply compiled it again:

$ ./configure
(...)
*** Dumping configuration ***
    - Generate documentation    : no
    - Enable MySQL plugin       : yes
    - Enable PostgreSQL plugin  : no
    - Enable SQLite3 plugin     : no
    - Perl binding              : yes
    - Python binding            : yes
(...)
$ make
$ make install
$ ldconfig

When I tried to run prelude-manager after recompiled libpreludedb, I got the
same output I reported to you in my previous email:

24 Apr 10:47:55 (process:16386) INFO: Subscribing Normalize to active
decoding plugins.
/usr/local/etc/prelude-manager/prelude-manager.conf:178: invalid option
"key" in "global" section.
/usr/local/etc/prelude-manager/prelude-manager.conf:179: invalid option
"cert" in "global" section.

Probably I'm doing something wrong or is missing, from my system, some
additional package (I checked ./configure output and I didn't see nothing
wrong, but I'm not an expert in prelude framework :) ).

Thanks in advance, best regards,
Paulo Ferreira

> -----Original Message-----
> From: Sebastien Tricaud [mailto:[email protected]]
> Sent: quinta-feira, 24 de Abril de 2008 9:10
> To: [email protected]
> Cc: [email protected]
> Subject: Re: [prelude-user] SSL connection between Prelude-manager and
> MySQL
> 
> On Tue, Apr 22, 2008 at 2:54 PM, Paulo Ferreira <[email protected]>
> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> >  Hash: SHA1
> >
> >  Hello Sebastien,
> 
> Hello Paulo,
> 
> >
> >  When I'm starting prelude-manager, after I changed the prelude-
> manager's
> >  conf file, I'm getting the following warnings:
> >
> >  /usr/local/etc/prelude-manager/prelude-manager.conf:178: invalid option
> >  "key" in "global" section.
> 
> Is prelude manager using the same libpreludedb than the one you
> compiled along with my patch ?
> 
> make sure you do not have installed both a packaged version of
> libpreludedb and the one from the sources.
> 
> 
> Regards,
> Sebastien.


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.3 (Build 3017)
Charset: us-ascii

wj8DBQFIEFzmzlEr5GDkYkwRArRDAJ4pDap0H2sAv9TUNnBT95rVwoOH8gCfXcw1
IKmdLJPK+EmjLEpPhHGrNeM=
=HI1T
-----END PGP SIGNATURE-----
_______________________________________________
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.