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. |

| Subject: | Re: [Snort-users] MySQL Error (subject changed) |
|---|---|
| Date: | Wed, 20 Dec 2006 10:17:13 -0500 |
On 0, Paul Schmehl <pauls@utdallas.edu> wrote:
--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.
Take a look at rcorder, rc.subr and rc. Also, might be worth making sure that MySQL is actually running and using the socket /tmp/mysql.sock first though. -- Nigel Houghton Office Linebacker SF VRT ------------------------------------------------------------------------- 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> |
|---|---|---|
| ||
| Previous by Date: | Re: [Snort-users] MySQL Error (subject changed), Paul Schmehl |
|---|---|
| Next by Date: | [Snort-users] Putting -o in config file?, Hari Sekhon |
| Previous by Thread: | Re: [Snort-users] MySQL Error (subject changed), Paul Schmehl |
| Next by Thread: | [Snort-users] Putting -o in config file?, Hari Sekhon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |