发新话题
打印

谁用过acid +mysql+apache+snort?

谁用过acid +mysql+apache+snort?

近日我在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

>----------------------------------------------------------
运行 http://xxx.xxx.xxx.xxx/acid/acid_main.php
显示错误如下
>The underlying database snort@localhost appears to be incomplete/invalid
>Database ERROR:Table 'snort.iphdr' doesn't exist


按照acid的install,运行了
http://xxx.xxx.xxx.xxx/acid/acid_db_install.php, 点击 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 的使用帮助,还有好几个表没有创建成功,不只是那一步出错了〉请高手指点,我很着急的      

TOP

我和你一样,也遇到了这个个问题不知道如何解决只不过我用的是windows下的      

TOP

我看了它的php源码,它的acid_db_setup.php建立数据库那页,当你建立完四个表acid_event,acid_ag_alert,acid_ag,acid_ip_cache后就没有任何数据库的写操作,根本就没有建立如snort.iphdr之类的表而且,我连索引都不能建立也不知为什么!!      

TOP

在 9 上安装过, 没有遇到这样的错误, 你在本版搜索一下可以找到, 希望有所帮助      
Advance Monitor - Linux Monitoring Solution

TOP

acid_conf.php这个文件修改过吗?      

TOP

发新话题