Author Topic: Mail and file sharing issues with antivirus  (Read 6581 times)

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Mail and file sharing issues with antivirus
« on: April 16, 2010, 04:43:14 pm »
Hi all,

some of you are reporting that mail services or Samba file sharing stopped working yesterday 15 April 2010. This happens only if you have antivirus enabled. Clam Antivirus has disabled all installations older than 0.95: http://www.clamav.net/lang/en/2009/10/05/eol-clamav-094 .

To fix this issue make sure you have your system updated which is a general security recommendation.

First, check that you have these lines in your /etc/apt/souces.list:

Code: [Select]
deb http://es.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb http://es.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb http://es.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse

To upgrade only Clam AV:

Code: [Select]
$ sudo apt-get update
$ sudo apt-get install clamav clamav-base clamav-daemon clamav-freshclam libclamav6

To upgrade all your system (use with caution):

Code: [Select]
$ sudo apt-get update
$ sudo apt-get upgrade

Or you can also use  Software Management module on the eBox interface.

To check you upgraded successfully to 0.95, you should get an output similar to this one:

Code: [Select]
$ dpkg -l | grep clam
ii  clamav                                0.95.3+dfsg-1ubuntu0.09.04~hardy2.3 anti-virus utility for Unix - command-line i
ii  clamav-base                           0.95.3+dfsg-1ubuntu0.09.04~hardy2.3 anti-virus utility for Unix - base package
ii  clamav-daemon                         0.95.3+dfsg-1ubuntu0.09.04~hardy2.3 anti-virus utility for Unix - scanner daemon
ii  clamav-freshclam                      0.95.3+dfsg-1ubuntu0.09.04~hardy2.3 anti-virus utility for Unix - virus database
ii  libclamav6                            0.95.3+dfsg-1ubuntu0.09.04~hardy2.3 anti-virus utility for Unix - library
« Last Edit: April 17, 2010, 05:14:57 am by J. A. Calvo »

VitRom

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Mail and file sharing issues with antivirus
« Reply #1 on: April 21, 2010, 02:35:28 pm »
well, I have 1.4-1 with all above 0.95.3...hardy2.3 too (updated manually via aptitude, mark manual, update) and GUI shows "updated at (some hours ago) succesfully" everytime I look on it and everyday. But I still see a LibClam warning "*** Engine is outdated ***" on every boot. What's wrong at this time?

Saturn2888

  • Zen Hero
  • *****
  • Posts: 707
  • Karma: +1/-0
    • View Profile
Re: Mail and file sharing issues with antivirus
« Reply #2 on: April 29, 2010, 11:59:44 pm »
I always recommend to do dist-upgrade instead of just upgrade as it seems to catch more things and doesn't actually upgrade the distribution itself. Maybe it patches it though. Is there a reason not to use it?

Is 1.4-1 the same as 1.4.3?

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Mail and file sharing issues with antivirus
« Reply #3 on: April 30, 2010, 01:53:15 am »
1.4-1 is a recopilation of the last version of each package at the moment it was released. Note that each package has a different version, the version shown in the dashboard is the version of the "ebox" package, if you want to know the versions of the rest of the packages go to the "Software Management" menu.

A new 1.4-2 installer with the latest packages available will be released soon.
Zentyal Server Lead Developer

Saturn2888

  • Zen Hero
  • *****
  • Posts: 707
  • Karma: +1/-0
    • View Profile
Re: Mail and file sharing issues with antivirus
« Reply #4 on: April 30, 2010, 01:54:02 am »
Ah ok cool. Now it makes sense thanks.