Alejandro Flores wrote:
Tenta utilizar as informa��es que voc� colocou no ACID pra conectar no
mysql via linha de comando, a partir da m�quina que ta o snort.
> mysql -h nome_do_host -u usuario_ACID snort_DATABASE -p

stargate        = gateway(snort)
akira           = servidro de banco de dados(MySQL)
usuarios        = snort e acid
banco de dados  = snort

Tentativa de conexao do stargate(Snort) no akira(servidor de banco de dados)

        stargate:/etc/snort# mysql -h akira -u acid snort -p
        Enter password:
        Reading table information for completion of table and column    
        names You can turn off this feature to get a quicker startup    
        with -A

        Welcome to the MySQL monitor.  Commands end with ; or \g.
        Your MySQL connection id is 23 to server version: 3.23.49-log

        Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

        mysql> select * from user;
        ERROR 1146: Table 'snort.user' doesn't exist
        mysql> quit
        Bye

        stargate:/etc/snort# mysql -h 192.168.1.3 -u acid snort -p
        Enter password:
        Reading table information for completion of table and column
        names
        You can turn off this feature to get a quicker startup with -A

        Welcome to the MySQL monitor.  Commands end with ; or \g.
        Your MySQL connection id is 24 to server version: 3.23.49-log

        Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

        mysql> select * from user;
        ERROR 1146: Table 'snort.user' doesn't exist
        mysql>

        Pelo visto nao esta existindo a comunicacao entre o stargate e o  akira.

Tenta tamb�m especificar a porta na vari�vel $alert_port = "3306";

O problema era com o parametro skip-networking do arquivo my.cnf. Precisava estar comentado.
---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br


Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a