Author Topic: Zentyal 2.2 antivirus not updating  (Read 4671 times)

cougarmaster

  • Zen Monk
  • **
  • Posts: 80
  • Karma: +0/-0
    • View Profile
Zentyal 2.2 antivirus not updating
« on: May 05, 2012, 01:46:07 pm »
Hi all,

   Cannot update the antivirus getting following messages anyway to resolve?

           ClamAV update process started at Sat May  5 20:30:32 2012
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
WARNING: Current functionality level = 58, recommended = 60
Please check if ClamAV tools are linked against the proper version of libclamav
DON'T PANIC! Read http://www.clamav.net/support/faq
WARNING: getpatch: Can't download daily-14829.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download daily-14829.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download daily-14829.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download daily-14829.cdiff from db.local.clamav.net
WARNING: getpatch: Can't download daily-14829.cdiff from db.local.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
WARNING: Can't download daily.cvd from db.local.clamav.net
Trying again in 5 secs...

TIA
Eric

christian

  • Guest
Re: Zentyal 2.2 antivirus not updating
« Reply #1 on: May 05, 2012, 02:05:39 pm »

No Smile

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
  • meep* meep*
    • View Profile
Re: Zentyal 2.2 antivirus not updating
« Reply #2 on: June 02, 2012, 05:42:53 pm »
cougarmaster:

Have you been able to fix this issue? If yes, would you mind sharing your method? because I'm having the same kinda of problem.

The link given by christian, LinuxRocks' quoted log(s) look differently from yours. And mine looks exactly like the one you posted. I also got the "outdated" msg using freshclam.

I posted on the clamav mailing list yesterday, still waiting for their reply although there seems not to be many activity over there recently,
meep* meep*

No Smile

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
  • meep* meep*
    • View Profile
Re: Zentyal 2.2 antivirus not updating
« Reply #3 on: June 07, 2012, 02:23:20 am »
Hello christian, Zentyal,

Could you advise me on this?
I'm getting bombed by the alerts from my server. Even though I've changed the clam conf + freshclam conf file to not attempt updating every hour, and restarted clamav already, the alerts still come 24 times a day.

clamav mailing list seems to be totally waste of time, is there anything else i can do?
meep* meep*

christian

  • Guest
Re: Zentyal 2.2 antivirus not updating
« Reply #4 on: June 07, 2012, 08:45:03 am »
Explanation is here.

DB can't be updated because ClamAV engine is not at the right level (last version).
Reason, if I understand well, is that ClamAV engine being part of Zentyal, they may not have pushed the very last version, which prevents the update.

In case my explanation is the correct one, I know this is not satisfactory because this means more viruses not detected  :(
Does it prevent to manually update ClamAV then DB ?

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Zentyal 2.2 antivirus not updating
« Reply #5 on: June 07, 2012, 09:25:32 am »
Hello,

to clarify things, the database  is updated. However some of the new signatures are not loaded because the outdated clamav version.

This situation is pretty common because ubuntu's clamav normally is outdated compared with the upstream clamav.

No Smile

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
  • meep* meep*
    • View Profile
Re: Zentyal 2.2 antivirus not updating
« Reply #6 on: June 08, 2012, 06:53:56 am »
Thanks guys,

after a couple of hours removing old repos clamav and installing latest clamav, some screw-ups with my bash, path ... it seems i finally got it:

Code: [Select]
sudo /usr/local/clamav-0.97.4/bin/freshclam
ClamAV update process started at Fri Jun  8 00:49:24 2012
connect_error: getsockopt(SO_ERROR): fd=5 error=111: Connection refused
Can't connect to port 80 of host database.clamav.net (IP: 128.177.8.31)
Trying host database.clamav.net (208.70.244.158)...
Downloading main.cvd [100%]
main.cvd updated (version: 54, sigs: 1044387, f-level: 60, builder: sven)
Downloading daily.cvd [100%]
daily.cvd updated (version: 15019, sigs: 217077, f-level: 63, builder: guitar)
Downloading bytecode-170.cdiff [100%]
Downloading bytecode-171.cdiff [100%]
Downloading bytecode-172.cdiff [100%]
Downloading bytecode-173.cdiff [100%]
Downloading bytecode-174.cdiff [100%]
Downloading bytecode-175.cdiff [100%]
Downloading bytecode-176.cdiff [100%]
Downloading bytecode-177.cdiff [100%]
Downloading bytecode-178.cdiff [100%]
Downloading bytecode-179.cdiff [100%]
Downloading bytecode-180.cdiff [100%]
Downloading bytecode-181.cdiff [100%]
Downloading bytecode-182.cdiff [100%]
Downloading bytecode-183.cdiff [100%]
Downloading bytecode-184.cdiff [100%]
Downloading bytecode-185.cdiff [100%]
bytecode.cld updated (version: 185, sigs: 39, f-level: 63, builder: neo)
Database updated (1261503 signatures) from database.clamav.net (IP: 208.70.244.158)

If anyone interested, here are the links I followed:

http://joshua14.homelinux.org/blog/?p=855
http://www.gossamer-threads.com/lists/clamav/users/51980
http://forums.freebsd.org/showthread.php?t=6163

Thanks so much again christian, Javier
meep* meep*