Chinaunix首页 | 论坛 | 博客
  • 博客访问: 818653
  • 博文数量: 756
  • 博客积分: 40000
  • 博客等级: 大将
  • 技术积分: 4980
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-13 14:40
文章分类

全部博文(756)

文章存档

2011年(1)

2008年(755)

我的朋友

分类:

2008-10-13 14:40:28

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

阅读(785) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~