Snort mailing list archives

Re: barnyard + postgres


From: Alexander Zenger <azen () izb net>
Date: Thu, 16 Sep 2004 09:46:33 +0200

Hello bamm,

i've tried commenting out hte mysql line and then it works
seems like barnyard could not log into two db's at the same time

Regards

Alexander Zenger

On Thu, Sep 09, 2004 at 11:36:07AM -0500, Bamm Visscher wrote:
Assuming barnyard was (correctly) compiled with postgresql support,
then 'postgres' is indeed the correct keyword:

#ifdef ENABLE_POSTGRES
            else if(strcasecmp("postgres", stoks[0]) == 0)
            {
                if(op_data->flavor == 0)
                    op_data->flavor = FLAVOR_POSTGRES;
                else
                    LogMessage("Argument Error in %s(%i): %s\n", file_name,
                            file_line, index);
            }
#endif /* ENABLE_POSTGRES */

Try commenting out the mysql line and see if the postgres one works then.

Bammkkkk



On Thu, 9 Sep 2004 17:34:56 +0200, Alexander Zenger <azen () izb net> wrote:
Hello,

i have compiled barnyard with mysql and postgres support.
the loggin in the mysql db does very well but the postgres will not work.
is it possible to log with 1 barnyard in 2 different dbs???

Is the type of db right?
output alert_acid_db: mysql, <--- was document, so here im sure and it works
output alert_acid_db: postgres <---- is "postgres" right or must it be "psql" or so
                                     i haven't it found anywhere documented

thx...

cya

Alexander Zenger

--
Internet Services OE 564

IZB Informatik-Zentrum München-Frankfurt a.M. Gmbh & Co. KG
einsteinring 17
85609 Aschheim
www.izb.net
Tel./Fon. 089/94511-8318
Fax.      089/94511-8941
azen () izb net


-- 
http://sguil.sf.net


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

-- 
Internet Services OE 564

IZB Informatik-Zentrum München-Frankfurt a.M. Gmbh & Co. KG
einsteinring 17
85609 Aschheim
www.izb.net
Tel./Fon. 089/94511-8318
Fax.      089/94511-8941
azen () izb net


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: