EMOS-clamav升級

                                            clamav升級ide

 

(以EMOS1.5 I386版本爲例)spa

emos15 i386 安裝後,啓動系統,常顯示clamav outdate 等報錯信息,rest

clamav 的日誌文件在  /var/log/clamav freshclam.log(病毒升級日誌) clamd.log(系統日誌)日誌

查看版本系統自帶版本 rem

 clamd -V get

 ClamAV 0.97/17674/it

1.clamav 升級 (emos15 i386)
http://apt.sw.be/redhat/el5/en/i386/dag/RPMS/rpm包)

clamav-db-0.98-2.el5.rf.i386.rpm 25-Sep-2013 21:44
clamav-0.96.1-1.el5.rf.i386.rpm 20-May-2010 08:09
io

2. 再從 0.96.1-1 升級到 0.98-4(最新版本-截止2014年7月)

wget http://apt.sw.be/redhat/el5/en/i386/dag/RPMS/clamav-0.98.4-1.el5.rf.i386.rpm
wget http://apt.sw.be/redhat/el5/en/i386/dag/RPMS/clamav-db-0.98.4-1.el5.rf.i386.rpm
wget http://apt.sw.be/redhat/el5/en/i386/dag/RPMS/clamav-devel-0.98.4-1.el5.rf.i386.rpm
wget http://apt.sw.be/redhat/el5/en/i386/dag/RPMS/clamd-0.98.4-1.el5.rf.i386.rpm
[root@mail clamav-new]# rpm -Uvh ./clam*

class

升級完成後,service clamd restart,產生如下日誌,cvd文件早於cld,因此較早文件刪除後不會有如下提示。date

Starting Clam AntiVirus Daemon: LibClamAV Warning: Detected duplicate databases /var/clamav/main .cvd and

/var/clamav/main.cld. The /var/clamav/main.cvd database is older and will not be loaded , you should manually remove

it from the database directory.

總結:

 1.全部都完成後,servce clamd restart 再也不有報錯日誌,運行freshclam再也不報錯。

2.x86版本升級類同。

相關文章
相關標籤/搜索