Snort mailing list archives

Re: Starting Snort at Boot Up


From: Alwin Raymundo <alrayworld () yahoo com>
Date: Fri, 30 Aug 2002 05:07:44 -0700 (PDT)

Hi Nathanael

If I'm not mistaken the mysql.sock (2) is regarding
authentication with mysql.  I remember that if you
dont supply the password,correct password, in the
snort.conf  

or 

Granting the access to the snort table of mysql

I hope this will help :-)

--- Nathanael Morrison <nathanael_morrison () cogeco ca>
wrote:
Hi,

I can't seem to get snort to start at boot up.

I'm current using the following:

Linux 2.4.18
MySQL 3.23.39
Snort 1.8.6

I created two startup scripts,  /etc/rc.mysqld and
/etc/rc.snortd.
I then run /etc/rc.mysqld first and then
/etc/rc.snortd by making a call from 
/etc/rc.local. MySQL starts up fine, but snort does
not. When I looked at the 
system logs I found the following error:

snort: FATAL ERROR: database: mysql_error: Can't
connect to local MySQL server 
through socket '/var/run/mysql/mysql.sock' (2)

Now this is the part I can't figure out. If I call
/etc/rc.snortd after 
logging in, snort starts up fine. Everything runs
great, snort is logging to 
MySQL, and I can analyse the packets with ACID.
Maybe I'm missing 
something... any ideas?

Nathanael




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of
that same old
cell phone?  Get a new here for FREE!

https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
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


=====
Alwin Raymundo

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
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: