[Snort-users] Unable to run barnyard
jthoel at ...11827...
Fri Oct 26 11:57:23 EDT 2012
Well this is a different error and like you said, it's related to mysql.
You need to log into mysql and make sure that the password you setup
for the snort user in mysql, is the same that is is in the configs for
by2 and base.
There was a number of threads about this to weeks ago in regards to
On Fri, Oct 26, 2012 at 3:53 PM, Akinwale Fasuru <fashman2k1 at ...131...> wrote:
> Thanks Jeremy and everyone I think its work, i went checking the interface again. but i have this error coming up when i run the same command, looks like mysql configuration is not right i dont know what it is though.. pls can you help.
> --== Initializing Barnyard2 ==--
> Initializing Input Plugins!
> Initializing Output Plugins!
> Parsing config file "/etc/snort/barnyard2.conf"
> Log directory = /var/log/barnyard2
> ERROR: database: mysql_error: Access denied for user 'snort'@'localhost' (using password: YES)
> Fatal Error, Quitting..
> I also get a similar error when I put this in the URL "http://127.0.0.1/base/base_main.php" Here is what i gath:
> Error (p)connecting to DB : snort at ...274...:3306
> Check the DB connection variables in base_conf.php
> = $alert_dbname : MySQL database name where the alerts are stored
> = $alert_host : host where the database is stored
> = $alert_port : port where the database is stored
> = $alert_user : username into the database
> = $alert_password : password for the username
> Database ERROR:Access denied for user 'snort'@'localhost' (using password: YES)
> --- On Thu, 10/25/12, Jeremy Hoel <jthoel at ...11827...> wrote:
>> From: Jeremy Hoel <jthoel at ...11827...>
>> Subject: Re: [Snort-users] Unable to run barnyard
>> To: "Akinwale Fasuru" <fashman2k1 at ...131...>
>> Cc: snort-users at lists.sourceforge.net
>> Date: Thursday, October 25, 2012, 4:01 PM
>> Can you look at your barnyard2
>> conf and see if there are two interface lines?
>> The error says "ERROR: /etc/snort/barnyard2.conf(61) Config
>> "interface" can only be configured once."
>> If you don't see it, share your config here, and maybe your
>> script or any other config sources (sysconfig, default,
>> On Thu, Oct 25, 2012 at 8:50 PM, Akinwale Fasuru <fashman2k1 at ...131...>
>> > Hello fellows,
>> > I am having issues running
>> barnyard, when I try to run the command
>> > $ sudo barnyard2 -c
>> > /etc/snort/barnyard2.conf -d /var/log/snort -f
>> merged.log -w
>> > /var/log/snort/barnyard2.waldo
>> > Here is what I got
>> > --== Initializing
>> Barnyard2 ==--
>> > Initializing Input Plugins!
>> > Initializing Output Plugins!
>> > Parsing config file "/etc/snort/barnyard2.conf"
>> > ERROR: /etc/snort/barnyard2.conf(61) Config option
>> "interface" can only be configured once.
>> > Fatal Error, Quitting..
>> > Wale
>> > Everyone hates slow websites. So do we.
>> > Make your web apps faster with AppDynamics
>> > Download AppDynamics Lite for free today:
>> > http://p.sf.net/sfu/appdyn_sfd2d_oct
>> > _______________________________________________
>> > Snort-users mailing list
>> > Snort-users at 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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users
>> > Please visit http://blog.snort.org to stay current on
>> all the latest Snort news!
More information about the Snort-users