Snort mailing list archives
Re: Snort Beer Question
From: Theodore Stout <theodorestout () yahoo com>
Date: Fri, 23 Sep 2005 06:32:33 -0700 (PDT)
Hello there, I am drinking Asahi Super Dry right now. This is the message I got [root@localhost support-files]# /usr/local/mysql/bin/mysql ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [root@localhost support-files]# /etc/my.cnf is set as: # The following options will be passed to all MySQL clients [client] #password = password port = 3306 socket = /var/lib/mysql/mysql.sock # Here follows entries for some specific programs # The MySQL server [mysqld] port = 3306 socket = /var/lib/mysql/mysql.sock --- Dominik Gehl <dgehl () inverse ca> wrote:
Hi, the server socket value can be set with [mysqld] socket=/var/lib/mysql/mysql.sock in the /etc/my.cnf file. Did you restart MySQL after changing the socket value in this file ? Do you have any MySQL error messages in your logs ? Is the mysql server process running ? Dominik On Fri, 2005-09-23 at 03:52 -0700, Theodore Stout wrote:All, Okay, got a problem with installing Snort whichhas tobe easy to answer. I have looked on the web, at Harper, and other sources and I still can notfigurethis one out. I even took the Sourcefire Snortclassand followed the manual but this problem is still there and I know it is easy but I can't find it. As such, I have already drunk 2 big hits of beerandam planning on drinking more. Okay, while installing MySQl I am getting the following error message; "can't connect to local MySQL server throughsocket '/tmp/mysql.sock' " I am at my wits end as to why this occuring.There iswhat I have already done so you don't tell me something I already know. cp support-files/my-medium.cnf /etc/my.cnf vi /etc/my.cnf [client] socket=/var/lib/mysql/mysql.sock :wq I have changed the socket value to varioussettingslooking for the stupid location of that mysql.sockbutI can not find it. I have tried this on thefollowingOS's. (Should be meaningless but someone willask)RHEL 4 FC 1-4 (Yeah I have done this 5 times, all on the airplane) I got this problem everytime when I was typing /usr/local/mysql/bin/mysql The error messagewouldonly change value from (2), (20) to (111) as Ichangedthe value of the sockets settinig. Any idea? I have my beer ready. Hopefully thiswillbe the last time I ever install Snort and can justuseSoucefire IS.... Theo
-------------------------------------------------------
SF.Net email is sponsored by: Tame your development challenges with Apache'sGeronimo App Server. Downloadit for free - -and be entered to win a 42" plasmatv or your very ownSony(tm)PSP. Click here to play:http://sourceforge.net/geronimo.php_______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options orunsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users
-------------------------------------------------------
SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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
------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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
Current thread:
- Rules not Triggering after Snort v2.4.1 Ron Jenkins (Sep 21)
- Snort Beer Question Theodore Stout (Sep 23)
- Re: Snort Beer Question Dominik Gehl (Sep 23)
- Re: Snort Beer Question Theodore Stout (Sep 23)
- Re: Snort Beer Question Dominik Gehl (Sep 23)
- Re: Snort Beer Question Theodore Stout (Sep 23)
- Re: Snort Beer Question Joe S (Sep 23)
- RE: Snort Beer Question Charles Heselton (Sep 23)
- Re: Snort Beer Question Dominik Gehl (Sep 23)
- Snort Beer Question Theodore Stout (Sep 23)