Snort mailing list archives
RE: Newbie ACID config problem
From: "John Berkers" <berjo () ozemail com au>
Date: Fri, 3 Aug 2001 07:07:43 +1000
I had the same problem at one stage. I was using a non-rpm build of PHP (I'd gone and compiled it myself). I tried getting mysql to use /tmp/mysql.sock, but that caused hassles with the local client. I ended up going back to an rpm build of PHP once the bcmath dependency for ACID was removed. Of course you could always try to fiddle the PHP build process to make it use the right mysql.sock from the outset. John Berkers berjo () ozemail com au -----Original Message----- From: snort-users-admin () lists sourceforge net [mailto:snort-users-admin () lists sourceforge net]On Behalf Of Kevin Brown Sent: Friday, 3 August 2001 5:40 To: 'ScottPhippen () vitalworks com'; snort-users () lists sourceforge net Subject: RE: [Snort-users] Newbie ACID config problem 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 _______________________________________________ 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)