EMOS-clamav升级

                                            clamav升级

 

(以EMOS1.5 I386版本为例)

emos15 i386 安装后,启动系统,常显示clamav outdate 等报错信息,

clamav 的日志文件在  /var/log/clamav freshclam.log(病毒升级日志) clamd.log(系统日志)

查看版本系统自带版本

 clamd -V 

 ClamAV 0.97/17674/

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

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*

升级完成后,service clamd restart,产生以下日志,cvd文件早于cld,所以较早文件删除后不会有以下提示。

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版本升级类同。


你可能感兴趣的:(升级,EMOS,ClamAV)