Snort mailing list archives

Re: Unable to run barnyard


From: Akinwale Fasuru <fashman2k1 () yahoo com>
Date: Fri, 26 Oct 2012 08:53:41 -0700 (PDT)

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@localhost: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 () gmail com> wrote:

From: Jeremy Hoel <jthoel () gmail com>
Subject: Re: [Snort-users] Unable to run barnyard
To: "Akinwale Fasuru" <fashman2k1 () yahoo com>
Cc: snort-users () 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
option
"interface" can only be configured once."

If you don't see it, share your config here, and maybe your
init
script or any other config sources (sysconfig, default,
etc)

On Thu, Oct 25, 2012 at 8:50 PM, Akinwale Fasuru <fashman2k1 () yahoo com>
wrote:
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 () 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!


------------------------------------------------------------------------------
The Windows 8 Center 
In partnership with Sourceforge
Your idea - your app - 30 days. Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: