OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Semerjian, Ohanes (Semerjian.Ohaneswcom.com.au)
Date: Wed Feb 20 2002 - 17:08:18 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Please see the answer to the questions below. I had several machines running
    snort and log to mysql and using ACID to pull the reports. Couple of things

    Dose your snort logging successfully to mysql...!For me its look like the
    problem u have is not with ACID its Mysql problem. Don't use the socket
    option when u compile Mysql, try that and see if still have a problem.

    Best Regards

    Ohanes Semerjian

    -----Original Message-----
    From: Guillaume [mailto:guillaumeanteria.fr]
    Sent: Wednesday, 20 February 2002 20:18
    To: Semerjian, Ohanes
    Cc: snort-userslists.sourceforge.net
    Subject: RE: [Snort-users] Problem connecting to local mysql with new
    acid

    >>I receive the following error message:
    >>
    >>Warning: Can't connect to local MySQL server through socket
    >>'/tmp/mysql.sock' (111) in
    >>/var/www/html/acid/adodb-mysql.inc.php on line 81
    >>localhost

    - does this file exist ? [ohanes] if u mean /tmp/mysql.sock then yes it dose

    - if yes, what access rights on it ? [ohanes] 4777
    - try to launch the mysql server with the --socket option, using a different
    directory in whoch mysqld will create its socket file and for which it has
    required rights.
    - note that you can specify this path in your configuration file (generally
    /etc/my.cnf) like that :

    [client]
    socket=path-for-socket-file

    [mysqld]
    socket=path-for-socket-file

    Guillaume

    [ Sent with SquirrelMail - http://www.squirrelmail.org ]

    _______________________________________________
    Snort-users mailing list
    Snort-userslists.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