Re: [Snort-users] Snort -> Barnyard -> Remote MySQL DB (mysql.sock

This is a discussion on Re: [Snort-users] Snort -> Barnyard -> Remote MySQL DB (mysql.sock within the Snort forums, part of the System Security and Security Related category; Dan Brummer wrote: > Hello, > Sorry for posting this in the snort-users forum but I have been unable &...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-17-2006
Anthony J Placilla
 
Posts: n/a
Default Re: [Snort-users] Snort -> Barnyard -> Remote MySQL DB (mysql.sock



Dan Brummer wrote:
> Hello,
> Sorry for posting this in the snort-users forum but I have been unable
> to find any help anywhere else. I recently configured Snort and
> Barnyard on a remote sensor. I would like to log the alerts to a
> central MySQL server. I have configured everything correctly but when I
> run Barnyard I get the following error:
>
> Failed to connect to database (null):XXXXXXXX@(null)/(null): Can't
> connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
> Fatal Error, Quitting..
> Exiting
>
> Any ideas? MySQL server is not installed/running on this remote sensor
> and I would like it to not have MySQL server.
>
> Thank you guys for your help.
>
> -Dan


When you built barnyard did you do
../configure --enable-mysql ?

if no you need to do so & it will look for
/usr/include/mysql/mysql.h

which is part of the mysql-devel package

--
Tony Placilla, RHCT, GSEC
anthony_placilla@suth.com


GPG-Key-ID: 1024D/C78F8B64 http://pgp.mit.edu
Key fingerprint = A8D5 7AFF CE88 4179 C792 D9A9 F197 2A15 C78F 8B64


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=snort-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:59 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0