[Snort-users] Error Barnyard2.conf

beenph beenph at ...11827...
Wed Oct 3 01:01:54 EDT 2012


On Wed, Oct 3, 2012 at 12:41 AM, AllowOverride <allowoverride at ...11827...> wrote:
> i can connect locally with mysql -u snort -p no problem.
> mysql -u snort -p
> Enter password:
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 87
> Server version: 5.5.24-0ubuntu0.12.04.1 (Ubuntu)
> ~~~
> mysql>
>
>
> when i launch barnyard2 i get this error:
>
>
> Oct  2 21:34:40 jupiter barnyard2[11630]: Running in Continuous mode
> Oct  2 21:34:40 jupiter barnyard2[11630]:
> Oct  2 21:34:40 jupiter barnyard2[11630]:         --== Initializing
> Barnyard2 ==--
> Oct  2 21:34:40 jupiter barnyard2[11630]: Initializing Input Plugins!
> Oct  2 21:34:40 jupiter barnyard2[11630]: Initializing Output Plugins!
> Oct  2 21:34:40 jupiter barnyard2[11630]: Parsing config file
> "/etc/snort/etc/barnyard2.conf"
>
>
> Oct  2 21:35:02 jupiter barnyard2[11630]: Log directory
> = /var/log/barnyard2
> Oct  2 21:35:02 jupiter barnyard2[11630]: Initializing daemon mode
> Oct  2 21:35:02 jupiter barnyard2[11837]: Daemon initialized, signaled
> parent pid: 11630
> Oct  2 21:35:02 jupiter barnyard2[11837]: PID path stat checked out ok,
> PID path set to /var/run/
> Oct  2 21:35:02 jupiter barnyard2[11837]: Writing PID "11837" to file
> "/var/run//barnyard2_eth0.pid"
> Oct  2 21:35:02 jupiter barnyard2[11630]: Daemon parent exiting
> Oct  2 21:35:02 jupiter barnyard2[11837]: FATAL ERROR: database:
> mysql_error: Access denied for user 'snort'@'localhost' (using password:
> YES)
>

http://dev.mysql.com/doc/refman/5.5/en/grant.html

-elz




More information about the Snort-users mailing list