今天启动clamd 报错,错误日志:

Not loading PUA signatures. ERROR: Malformed database

解决方法:

删除旧的病毒数据库

[root@ivon share]# cd clamav/
[root@ivon clamav]# pwd
/usr/local/share/clamav
[root@ivon clamav]# ls
clamav-01bd7bc36fb9811f5feffe86e131b5ac  daily.cvd  daily.inc  main.inc  mirrors.dat
[root@ivon clamav]# rm -rf *

然后重新更新:

[root@ivon clamav-0.96.1]# /usr/local/clamav/bin/freshclam
LibClamAV Warning: Cannot dlopen libclamunrar_iface: file not found - unrar support unavailable
ClamAV update process started at Mon Aug 30 17:27:50 2010
Downloading main.cvd [100%]
main.cvd updated (version: 52, sigs: 704727, f-level: 44, builder: sven)
Downloading daily.cvd [100%]
daily.cvd updated (version: 11733, sigs: 116605, f-level: 53, builder: guitar)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 39, sigs: 9, f-level: 53, builder: edwin)
Database updated (821341 signatures) from db.CN.clamav.net (IP: 202.118.1.40)

 

这样在启动就ok了

service clamd start

[root@ivon clamav]# ps -ef |grep clamd
amavis    3733     1  1 10:35 ?        00:00:06 /usr/local/clamav/sbin/clamd
root      3761  3541  0 10:43 pts/0    00:00:00 grep clamd