Koozali.org: home of the SME Server

Your ClamAV installation is OUTDATED!

Offline ber

  • ****
  • 239
  • +0/-0
Your ClamAV installation is OUTDATED!
« on: April 24, 2010, 07:47:27 AM »
 :-x :-x hi all im getting the following emails to admin regarding clamav program being out of date.
Ive been getting this for the last week- unsure whether its a repositiry issue or whatever.
My version is 95.3 latest as i understand is 96. SME version 7.4

here is the report:

2010-04-24 12:49:49.362703500 ClamAV update process started at Sat Apr 24 12:49:49 2010
2010-04-24 12:49:49.364261500 WARNING: Your ClamAV installation is OUTDATED!
2010-04-24 12:49:49.364267500 WARNING: Local version: 0.95.3 Recommended version: 0.96
2010-04-24 12:49:49.364271500 DON'T PANIC! Read http://www.clamav.net/support/faq
2010-04-24 12:49:49.364274500 main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
2010-04-24 12:49:49.423442500 WARNING: getpatch: Can't download daily-10800.cdiff from database.clamav.net
2010-04-24 12:49:49.424563500 WARNING: getpatch: Can't download daily-10800.cdiff from database.clamav.net
2010-04-24 12:49:49.425924500 WARNING: getpatch: Can't download daily-10800.cdiff from database.clamav.net
2010-04-24 12:49:49.427325500 WARNING: getpatch: Can't download daily-10800.cdiff from database.clamav.net
2010-04-24 12:49:49.428702500 WARNING: getpatch: Can't download daily-10800.cdiff from database.clamav.net
2010-04-24 12:49:49.430154500 ERROR: getpatch: Can't download daily-10800.cdiff from database.clamav.net
2010-04-24 12:49:49.436205500 WARNING: Incremental update failed, trying to download daily.cvd
2010-04-24 12:49:49.437540500 ERROR: Can't download daily.cvd from database.clamav.net
2010-04-24 12:49:49.437847500 Giving up on database.clamav.net...
2010-04-24 12:49:49.437921500 Update failed. Your network may be down or none of the mirrors listed in /etc/freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons.


Ive had an issue with clamav 2 weeks ago that affected the servers ability to process  emails. Had some help updating sme repositories and everything was fine after updating to clamav 95.3 from previous version.

IVE tried to run freshclam in command line and here is what i get

login as: root
root@192.168.0.254's password:
Last login: Sat Apr 24 17:10:43 2010 from 192.168.0.230
[root@server ~]# freshclam
ClamAV update process started at Sat Apr 24 17:36:04 2010
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.95.3 Recommended version: 0.96
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
daily.cld is up to date (version: 10800, sigs: 53703, f-level: 51, builder: arnaud)
[root@server ~]#



- unsure whether this is a bug- can anyone advise.
tried to lookfor information about updating clamav manually???
« Last Edit: April 24, 2010, 07:49:39 AM by ber »

Offline Stefano

  • *
  • 10,850
  • +2/-0
Re: Your ClamAV installation is OUTDATED!
« Reply #1 on: April 24, 2010, 07:54:35 AM »
ber, did you try to do
Code: [Select]
yum update
?

Offline ber

  • ****
  • 239
  • +0/-0
Re: Your ClamAV installation is OUTDATED!
« Reply #2 on: April 24, 2010, 07:57:30 AM »
Hi stefano.. heres the ouput


[root@server ~]# yum update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "protect-packages" plugin
Setting up Update Process
Setting up repositories
smeaddons                 100% |=========================| 1.9 kB    00:00
smeextras                 100% |=========================| 1.9 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
http://mirror.pacific.net.au/linux/smeserver/releases/7/smeos/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
smeos                     100% |=========================| 1.9 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  18 kB    00:01
http://sme-mirror.voxteneo.com/releases/7/smeextras/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================|  18 kB    00:00
sqlite cache needs updating, reading in metadata
smeextras : ################################################## 55/55
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
No Packages marked for Update/Obsoletion
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@server ~]#

Offline Stefano

  • *
  • 10,850
  • +2/-0
Re: Your ClamAV installation is OUTDATED!
« Reply #3 on: April 24, 2010, 08:06:52 AM »
try

Code: [Select]
yum clean all
yum update

do you have any firewall in front of SME?

Offline ber

  • ****
  • 239
  • +0/-0
Re: Your ClamAV installation is OUTDATED!
« Reply #4 on: April 24, 2010, 08:14:13 AM »
Hi Stefano- no firewall installed before the server

heres the output from the commands suggested:

login as: root
root@192.168.0.254's password:
Last login: Sat Apr 24 17:35:57 2010 from 192.168.0.230
[root@server ~]# yum clean all
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "protect-packages" plugin
Cleaning up Everything
8 headers removed
8 packages removed
15 metadata files removed
0 cache files removed
5 cache files removed
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@server ~]# yum update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "protect-packages" plugin
Setting up Update Process
Setting up repositories
smeaddons                 100% |=========================| 1.9 kB    00:00
smeextras                 100% |=========================| 1.9 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
smeos                     100% |=========================| 1.9 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  184 B    00:00
primary.xml.gz            100% |=========================|  18 kB    00:02
http://sme-mirror.voxteneo.com/releases/7/smeextras/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================|  18 kB    00:01
smeextras : ################################################## 55/55
primary.xml.gz            100% |=========================| 611 kB    00:14
base      : ################################################## 1599/1599
primary.xml.gz            100% |=========================| 245 kB    00:05
updates   : ################################################## 757/757
primary.xml.gz            100% |=========================| 265 kB    00:24
smeos     : ################################################## 543/543
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
No Packages marked for Update/Obsoletion
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@server ~]#


Offline ber

  • ****
  • 239
  • +0/-0
Re: Your ClamAV installation is OUTDATED!
« Reply #5 on: April 24, 2010, 08:16:21 AM »
ran freshclam and nothing updated???


[root@server ~]# freshclam
ClamAV update process started at Sat Apr 24 18:14:58 2010
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.95.3 Recommended version: 0.96
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
daily.cld is up to date (version: 10800, sigs: 53703, f-level: 51, builder: arnaud)
[root@server ~]#

Offline Stefano

  • *
  • 10,850
  • +2/-0
Re: Your ClamAV installation is OUTDATED!
« Reply #6 on: April 24, 2010, 10:18:45 AM »
what's the result of
Code: [Select]
rpm -qa | grep clam

Offline ber

  • ****
  • 239
  • +0/-0
Re: Your ClamAV installation is OUTDATED!
« Reply #7 on: April 24, 2010, 12:52:48 PM »
hi stephano

login as: root
root@192.168.0.254's password:
Last login: Sat Apr 24 18:11:34 2010 from 192.168.0.230
[root@server ~]# rpm -qa | grep clam
clamd-0.95.3-1.el4.rf
warning: only V3 signatures can be verified, skipping V4 signature
smeserver-clamav-2.0.0-2.el4.sme
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
clamav-db-0.94.2-1.el4.rf
clamav-0.95.3-1.el4.rf
[root@server ~]#

Offline Stefano

  • *
  • 10,850
  • +2/-0
Re: Your ClamAV installation is OUTDATED!
« Reply #8 on: April 24, 2010, 01:25:49 PM »
hi..

I see something strange here, because, on a 7.4 before the last updates should be:
Code: [Select]
[root@smeserver ~]# rpm -qa 2>/dev/null | grep clam       
clamav-0.95.3-1.el4.rf
clamav-db-0.95.3-1.el4.rf
smeserver-clamav-2.0.0-6.el4.sme
clamd-0.95.3-1.el4.rf

and giving
Code: [Select]
yum update

you should have:
Code: [Select]
[root@smeserver ~]# yum update | grep clam
---> Package smeserver-clamav.noarch 0:2.0.0-8.el4.sme set to be updated
---> Package clamav-db.i386 0:0.96-1.el4.rf set to be updated
---> Package clamd.i386 0:0.96-1.el4.rf set to be updated
---> Package clamav.i386 0:0.96-1.el4.rf set to be updated
 clamav                  i386       0.96-1.el4.rf    smeupdates         12 M
 clamav-db               i386       0.96-1.el4.rf    smeupdates         23 M
 clamd                   i386       0.96-1.el4.rf    smeupdates        216 k
 smeserver-clamav        noarch     2.0.0-8.el4.sme  smeupdates         45 k

so I think it's bugzilla time for you :-)

Offline ber

  • ****
  • 239
  • +0/-0
Re: Your ClamAV installation is OUTDATED!
« Reply #9 on: April 24, 2010, 01:37:09 PM »
first bug posted thanks stephano...

Offline Stefano

  • *
  • 10,850
  • +2/-0
Re: Your ClamAV installation is OUTDATED!
« Reply #10 on: April 24, 2010, 01:53:20 PM »
first bug posted thanks stephano...

thank you

for future reference, bug 5896

Offline ber

  • ****
  • 239
  • +0/-0
Re: Your ClamAV installation is OUTDATED!
« Reply #11 on: April 25, 2010, 11:52:18 PM »
Hi after further investigation it turned out the repository update setting was "disabled"

 [root@server ~]# db yum_repositories show smeupdates
> smeupdates=repository
>   
> BaseURL=http://mirror.contribs.org/pub/smeserver/releases/7/smeupdates/$basearch
>     EnableGroups=yes
>     GPGCheck=yes
>     MirrorList=file:///etc/yum.repos.d/mirrors-smeupdates
>     Name=SME Server - updates
>     Visible=yes
>     status=disabled
> [root@server ~]#

enabled setting by running

> db yum_repositories setprop smeupdates status enabled
>
> expand-template /etc/yum.smerepos.d/sme-base.repo
>
> then run again
>
> yum update

Thanks to all in the bugs process- wouldn't have been able to resolve the issue myself.

After downloading the updates (118Mb) server locked up- scared the bejesus out of me, after a couple of reboots it settled down and reconfigured the system to a stable situation- all up and running now.

Offline jameswilson

  • *
  • 777
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Your ClamAV installation is OUTDATED!
« Reply #12 on: April 26, 2010, 12:57:39 AM »
Id like to say that this is a cracking topic for showing how the forum and bugzilla should work together.

I understand the need for bugzilla from the developers point of view, but most of the time (speaking for myself) i assume its me doing something daft not sme.

this makes sense, ir problem found, discussed on forum, escaleted to bugtracker, found to be user (as im sure is usual) not sme, reported back on forum.

Thumbs up from me anyway.

James