Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Users
[Top] [All Lists]

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

Subject: Re: [Snort-users] Snort -> Barnyard -> Remote MySQL DB (mysql.sock error)
Date: Mon, 17 Jul 2006 14:18:46 -0400


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=lnk&kid=120709&bid=263057&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/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

<Prev in Thread] Current Thread [Next in Thread>