有人知道下述的錯誤訊息是怎麼回事嗎?
[root@files ~]# clamscan /
LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
LibClamAV Error: cli_hex2str(): Malformed hexstring: This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later. For more information see www.clamav.net/eol-clamav-094 and www.clamav.net/download (length: 169)
LibClamAV Error: Problem parsing signature at line 61441
LibClamAV Error: Problem parsing database at line 61441
LibClamAV Error: Can't load /tmp/clamav-099d25e55f5a74c2f222a7d1df46678d/main.ndb: Malformed database
LibClamAV Error: Can't load /var/lib/clamav/main.cvd: Malformed database
ERROR: Malformed database
----------- SCAN SUMMARY -----------
Known viruses: 783426
Engine version: 0.92.1
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Time: 6.710 sec (0 m 6 s)
應該係要更新Clamav的版本了;目前tar.gz的最新版本為0.97,如透過Fedora的軟體更新,版本會較舊。另如有使用Fedora的軟體更新,要留意Fedora版本有一定支援期間限制。若要使用一軟體超過Fedora的支援期限,除非沒有更新的需求,否則建議直接使用官網提供的軟體包裝去自行安裝。謝謝。
Fedora 的生命週期政策:
We say maintained for approximately 13 months because the supported period for releases is dependent on the date the release under development goes final. As a result, Release X is supported until one month after the release of Release X+2.
樓主的 Fedora 8 已經非常老舊,除非您想手動維護各個使用到的套件或核心,否則建議應升級。
如為伺服器用途,請使用 CentOS 系列,它和 RHEL 有同等級的生命週期支援。
問題在病毒碼資料庫
LibClamAV Error: Can't load /var/lib/clamav/main.cvd: Malformed database
ERROR: Malformed database
下指令更新即可。
#freshclam
便可更新病毒資料庫,試試看吧!