近日我在Red Hat 7.2上试着搭建一个IDS,snort,acid,mysql,apahce,php都已装好,运行时发现错误如下:
>----------------------------------------------------------
>snnort -c /etc.snort.conf -l /var/log/snort -l exl0 -D
>snort -e
>........
>database: mysql_error: Table 'snort.sensor' doesn't exist
>database: mysql_error: Table 'snort.sensor' doesn't exist
>SQL=INSERT INTO sensor (hostname, interface, detail, encoding) VALUES
>('myip,'eth0','1','0')
>database: mysql_error: Table 'snort.sensor' doesn't exist
>database: Problem obtaining SENSOR ID (sid) from mysql->snort->sensor
>----------------------------------------------------------
运行
显示错误如下
>The underlying database snort@localhost appears to be incomplete/invalid
>Database ERROR:Table 'snort.iphdr' doesn't exist
按照acid的install,运行了
点击 Create ACID AG
创建表结构,但是在mysql中,看到的结果如下:
>mysql> show databases;
>+---------------+
>| Database |
>+---------------+
>| mysql |
>| snort |
>| snort_archive |
>| test |
>+---------------+
>4 rows in set (0.05 sec)
没有snort.sensor 和snort.iphdr,我该如何下手才能清除掉这个错误,为什么无法创建sensor 和iphdr表结构么?而且按照acid 的使用帮助,还有好几个表没有创建成功,不只是那一步出错了〉请高手指点,我很着急的
--------------------next---------------------
阅读(768) | 评论(0) | 转发(0) |