[Snort-users] Starting Snort at Boot Up

Hal Wigoda hwigoda at ...468...
Mon Aug 26 16:48:04 EDT 2002

You have to create the following links to /etc/rc.d/snort


Hal Wigoda

----- Original Message -----
From: "Nathanael Morrison" <nathanael_morrison at ...6696...>
To: <snort-users at lists.sourceforge.net>
Sent: Monday, August 19, 2002 7:05 PM
Subject: [Snort-users] Starting Snort at Boot Up


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
/etc/rc.local. MySQL starts up fine, but snort does not. When I looked at
system logs I found the following error:

snort: FATAL ERROR: database: mysql_error: Can't connect to local MySQL
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?


This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
Snort-users mailing list
Snort-users at lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
Snort-users list archive:

More information about the Snort-users mailing list