Snort mailing list archives
RE: Newbie ACID config problem
From: Kevin Brown <Kevin.M.Brown () asu edu>
Date: Thu, 02 Aug 2001 12:40:17 -0700
This is a php issue, not an ACID or snort issue. The problem is that php is expecting the unix socket to connect to mysql to be located in /tmp. It's not there so it can't connect. Find mysql.sock (usually in /var/lib/mysql for Redhat when installed via rpm's) and simlink it to /tmp/mysql.sock: ln -s /var/lib/mysql.sock /tmp/mysql.sock should work then.
-----Original Message----- From: Scott Phippen [mailto:ScottPhippen () vitalworks com] Sent: Thursday, August 02, 2001 12:28 To: snort-users () lists sourceforge net Subject: [Snort-users] Newbie ACID config problem I feel kind of silly asking what is probably a very simple question, but I'm new to linux and snort...so I apologize if this seems like a no-brainer. I'm trying to get ACID to work on a linux/mysql box. I can get snort to run just fine and it logs to the database without a hitch, but when I try to run ACID via Netscape, I get the following error message: Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /home/httpd/html/adodb/adodb-mysql-inc.php on line 85. Since I'm new to linux, I'm not entirely sure where to fix this. I can connect to the MySQL database through the MySQL client, but that seems to use /usr/local/mysql/lib/mysql.sock for the socket connection...not the /tmp/mysql.sock. Of course, looking in the adodb-mysql-inc.php file, I didn't find any reference to the /tmp/socket. Any help would be greatly appreciated. Thanks in advance! Scott Phippen ScottPhippen () VitalWorks com _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: http://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
_______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: http://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Newbie ACID config problem Scott Phippen (Aug 02)
- <Possible follow-ups>
- RE: Newbie ACID config problem Kevin Brown (Aug 02)
- RE: Newbie ACID config problem John Berkers (Aug 02)