Snort
[Top] [All Lists]

Re: [Snort-users] MySQL Error (subject changed)

To: Snort-users@lists.sourceforge.net
Subject: Re: [Snort-users] MySQL Error (subject changed)
From: Paul Schmehl <pauls@utdallas.edu>
Date: Tue, 19 Dec 2006 21:10:53 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: snort-list@securepoint.com
In-reply-to: <20061219235626.GK2793@sourcefire.com>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=snort-users>
List-help: <mailto:snort-users-request@lists.sourceforge.net?subject=help>
List-id: "Snort users talk about... Snort!" <snort-users.lists.sourceforge.net>
List-post: <mailto:snort-users@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/snort-users>, <mailto:snort-users-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/snort-users>, <mailto:snort-users-request@lists.sourceforge.net?subject=unsubscribe>
References: <s5883526.059@mail.msp.gouv.qc.ca> <20061219235626.GK2793@sourcefire.com>
Sender: snort-users-bounces@lists.sourceforge.net
--On December 19, 2006 6:56:26 PM -0500 Nigel Houghton <nigel@sourcefire.com> wrote:

On  0, FRANCIS PROVENCHER <francis.provencher@msp.gouv.qc.ca> wrote:
Hi all, im sorry to disturb you again.

I have a problem when i reboot a freebsd box with snort.
The problem is, that the snort instance go up before Mysql server.
I have try to sleep the snort process for 15 seconde to let's Mysql go
up before without success... (/usr/local/etc/rc.d/snort -->  sleep 15)

But i have this error, on /var/log/message
: FATAL ERROR: database: mysql_error: Can't connect to local MySQL
server through socket '/tmp/mysql.sock'

Some on have an idea how to let's snort stand for Mysql instance ?

Yes. Start the mysqld daemon first. Take a look in the FreeBSD
documentation on how to do that.

mysql *should* have installed (if you installed it from ports) with a startup script named 111.mysqld.sh in /usr/local/etc/rc.d/, which *should* make it startup first. If you compiled from source, your startup script simply needs to be named mysqld.sh so that it starts before snort.sh. Startup scripts are processed numerically and then alphabetically.

Paul Schmehl (pauls@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

Attachment: p7sawz26qf1ii.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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>