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.




Network Security Snort-Users
[Top] [All Lists]

Re: [Snort-users] Snort Beer Question

Subject: Re: [Snort-users] Snort Beer Question
Date: Fri, 23 Sep 2005 06:56:50 -0700 (PDT)
True!

I forgot all about the horrors of installing Snort.  I
am just going to recompile everything and follow
Harper to the letter.  Hopefully, I can make it work.

Theo

BTW, Installing Snort is much more enjoyable while
drinking Asahi beer.

--- Dominik Gehl <dgehl@inverse.ca> wrote:

Did you install MySQL through RPM ? If yes, you
should be able to start
the daemon with
service mysqld start

The mysql executable is only the client and is
trying to connect to an
already running server ...

Dominik

On Fri, 2005-09-23 at 06:32 -0700, Theodore Stout
wrote:
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
which
has to
be easy to answer.  I have looked on the web,
at
Harper, and other sources and I still can not
figure
this one out.  I even took the Sourcefire
Snort
class
and 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
beer
and
am planning on drinking more.

Okay, while installing MySQl I am getting the
following error message;

"can't connect to local MySQL server through
socket '
/tmp/mysql.sock' "

I am at my wits end as to why this occuring. 
There is
what 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 various
settings
looking for the stupid location of that
mysql.sock
but
I can not find it.  I have tried this on the
following
OS's.  (Should be meaningless but someone will
ask)

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 message
would
only change value from (2), (20) to (111) as I
changed
the value of the sockets settinig.  

Any idea?  I have my beer ready.  Hopefully
this
will
be the last time I ever install Snort and can
just
use
Soucefire IS....

Theo







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





=== message truncated ===



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

<Prev in Thread] Current Thread [Next in Thread>