Snort mailing list archives

Re: problem with mysql and snort


From: Joel Esler <joel.esler () sourcefire com>
Date: Wed, 28 Jun 2006 19:52:13 -0400

First things first I guess...

is mysql running?  'ps ax | grep mysql'

Joel

On  0, Tom?s Rodriguez Orta <admin () angerona cult cu> wrote:
Hello friends.
I have installed the snort and mysql 4.0.21, but when I execute the snort in
the console, it showing the followin error.
polux#snort
database: compiled support for ( mysql )
database: configured to use mysql
database:          user = root
database: password is set
database: database name = snort
database:          host = localhost
database:   sensor name = 192.168.0.1
ERROR: database: mysql_error: Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (38)
Fatal Error, Quitting..

why?
I try to solve the problem
first- the file mysql.sock is in /var/db/mysql/mysql.sock not  in the
/tmp/mysql.sock, in the file my.cfg of the mysql, I write the followin line.
socket = /var/db/mysql/mysql.sock
big-tables
skip-innodb
skip-locking
[mysql.server]
user=mysql
basedir=/usr/local/mysql/
[mysql_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysql.pid

second- I make an symbolic enlace with
ln -s /var/db/mysql/mysql.sock  /tmp/mysql.sock

and the final result was negative, the problem continue.
please, I need some help for  run snort very well without problem.
I hope some help.
best regards sincerely TOMAS





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


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


Current thread: