Snort mailing list archives
RE: Snort and mysql.sock
From: "Hartman, Shane" <SHARTMAN () thezenith com>
Date: Thu, 8 Sep 2005 11:07:53 -0400
Sounds like a rights issues, check to make sure the account you are using to start snort has rights to that file. Also you cannot use root to start snort with mysql. I usually create a snort service account to run this process. -----Original Message----- From: snort-users-admin () lists sourceforge net [mailto:snort-users-admin () lists sourceforge net] On Behalf Of Luca Losio Sent: Thursday, September 08, 2005 10:12 AM To: Snort Subject: [Snort-users] Snort and mysql.sock Hi, I'm using snort Version 2.1.2 (Build 25) on a OpenBSD 3.7 compiled with mysql support. I modified the /etc/my.cnf file for using a different mysql sock (/var/www/var/run/mysql/mysql.sock instead of var/run/mysql/mysql.sock) this why I want php scripts to connect to the mysql server. All the php scripts are working, mysql client is working correctly with this sock. Not snort. Snort complains it can't find the sock: FATAL ERROR: database: mysql_error: Can't connect to local MySQL server throughsocket '/var/run/mysql/mysql.sock' (2) I searched thru the snort.conf but I can't find this variable.. Please tell me the sock path isn't hardcoded into snort... Bye! P.s I know I can get snort working with this sock using a link, just wondering why snort want this particular sock :) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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
Attachment:
smime.p7s
Description:
Current thread:
- Snort and mysql.sock Luca Losio (Sep 08)
- Re: Snort and mysql.sock Dirk Geschke (Sep 08)
- Re: Snort and mysql.sock Luca Losio (Sep 08)
- Re: Snort and mysql.sock Dirk Geschke (Sep 08)
- Re: Snort and mysql.sock Luca Losio (Sep 08)
- Re: Snort and mysql.sock Evan J (Sep 08)
- <Possible follow-ups>
- RE: Snort and mysql.sock Hartman, Shane (Sep 08)
- Re: Snort and mysql.sock Dirk Geschke (Sep 08)