LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 964|回复: 1

请教高人:启动snort后出现的故障

[复制链接]
发表于 2009-11-10 12:13:46 | 显示全部楼层 |阅读模式
运行 /usr/local/snort/bin/snort  -c /www/data/ids.conf
后出现以下信息

    Ports to decode telnet on: 21 23 25 119
Portscan Detection Config:
    Detect Protocols:  TCP UDP ICMP IP
    Detect Scan Type:  portscan portsweep decoy_portscan distributed_portscan
    Sensitivity Level: Low
    Memcap (in bytes): 10000000
    Number of Nodes:   36900

X-Link2State Config:
    Ports: 25 691
database: compiled support for ( mysql )
database: configured to use mysql
database:          user = snort_oper
database: password is set
database: database name = snort_db
database:          host = localhost
database:   sensor name = 192.168.0.254
database:     sensor id = 1
database: schema version = 0
ERROR: database: The underlying database has not been initialized correctly.  This
          version of Snort requires version 106 of the DB schema.  Your DB
          doesn't appear to have any records in the 'schema' table.
          Please re-run the appropriate DB creation script (e.g. create_mysql,
          create_postgresql, create_oracle, create_mssql) located in the
          contrib\ directory.

          See the database documentation for cursory details (doc/README.database).
          and the URL to the most recent database plugin documentation.
Fatal Error, Quitting..

请问该如何处理?
发表于 2009-11-21 11:11:22 | 显示全部楼层
数据库schema不对,删除所有表再重新导一下
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表