[SOLVED] Issue with ClamAV

killmasta93

Renowned Member
Aug 13, 2017
973
58
68
31
HI
Currently i was checking to update the database of clam AV im getting this error
Code:
Feb  1 23:18:52 mail freshclam[16755]: Trying again in 5 secs...
Feb  1 23:18:57 mail freshclam[16755]: Your ClamAV installation is OUTDATED!
Feb  1 23:18:57 mail freshclam[16755]: Local version: 0.101.4 Recommended version: 0.103.5
Feb  1 23:18:57 mail freshclam[16755]: DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
Feb  1 23:18:57 mail freshclam[16755]: securiteinfo.hdb is up to date (version: custom database)
Feb  1 23:18:57 mail freshclam[16755]: securiteinfo.ign2 is up to date (version: custom database)
Feb  1 23:18:58 mail freshclam[16755]: javascript.ndb is up to date (version: custom database)
Feb  1 23:18:58 mail freshclam[16755]: spam_marketing.ndb is up to date (version: custom database)
Feb  1 23:18:58 mail freshclam[16755]: securiteinfohtml.hdb is up to date (version: custom database)
Feb  1 23:18:59 mail freshclam[16755]: securiteinfoascii.hdb is up to date (version: custom database)
Feb  1 23:18:59 mail freshclam[16755]: securiteinfoandroid.hdb is up to date (version: custom database)
Feb  1 23:18:59 mail freshclam[16755]: securiteinfoold.hdb is up to date (version: custom database)
Feb  1 23:18:59 mail freshclam[16755]: securiteinfopdf.hdb is up to date (version: custom database)
Feb  1 23:18:59 mail freshclam[16755]: main.cvd is up to date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
Feb  1 23:18:59 mail freshclam[16755]: Giving up on database.clamav.net...
Feb  1 23:18:59 mail freshclam[16755]: Update failed. Your network may be down or none of the mirrors listed in /etc/clamav/freshclam.conf is working. Check https://www.clamav.net/documents/official-mirror-faq for possible reasons.


and it can ping the server

Code:
root@mail:~# ping -4 database.clamav.net
PING database.clamav.net.cdn.cloudflare.net (104.16.218.84) 56(84) bytes of data.
64 bytes from 104.16.218.84 (104.16.218.84): icmp_seq=1 ttl=55 time=36.2 ms
64 bytes from 104.16.218.84 (104.16.218.84): icmp_seq=2 ttl=55 time=36.2 ms
64 bytes from 104.16.218.84 (104.16.218.84): icmp_seq=3 ttl=55 time=36.2 ms
64 bytes from 104.16.218.84 (104.16.218.84): icmp_seq=4 ttl=55 time=36.1 ms

checked that it does not have apparmor

Code:
root@mail:~#  apt remove apparmor -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'apparmor' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 128 not upgraded.


Not sure what else i can do?

Thank you
 
Last edited:
Thanks for the reply,
pmg version

Code:
pmg-api: 6.1-2
pmg-gui: 2.1-3
pve-kernel-5.3: 6.0-12
pve-kernel-helper: 6.0-12
pve-kernel-5.3.10-1-pve: 5.3.10-1
libarchive-perl: 3.3.3-1
libjs-extjs: 6.0.1-10
libjs-framework7: 4.4.7-1
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-8
libpve-http-server-perl: 3.0-3
libxdgmime-perl: 0.01-5
lvm2: 2.03.02-3
pmg-docs: 6.1-2
proxmox-mini-journalreader: 1.1-1
proxmox-spamassassin: 3.4.2-13
proxmox-widget-toolkit: 2.0-9
pve-firmware: 3.0-4
pve-xtermjs: 3.13.2-1
zfsutils-linux: 0.8.2-pve2
Code:
root@mail:~# freshclam --version
ClamAV 0.101.4/26439/Mon Jan 31 04:24:40 2022
 
* which freshclam
this would be helpful as well

also the output of `dpkg -l |grep -i clam`

In any case - I would suggest to upgrade your PMG installation (after we've figured out what's on with clamav on your system):
pmg-api: 6.1-2
is quite outdated - I would suggest to at least upgrade to the latest available version of 6.4 - and if possible also to upgrade to pmg7:
https://pmg.proxmox.com/wiki/index.php/Upgrade_from_6.x_to_7.0
 
Thank for the reply,

Code:
root@mail:~# dpkg -l |grep -i clam
ii  clamav                         0.101.4+dfsg-1~pve1         amd64        anti-virus utility for Unix - command-line interface
ii  clamav-base                    0.101.4+dfsg-1~pve1         all          anti-virus utility for Unix - base package
ii  clamav-daemon                  0.101.4+dfsg-1~pve1         amd64        anti-virus utility for Unix - scanner daemon
ii  clamav-freshclam               0.101.4+dfsg-1~pve1         amd64        anti-virus utility for Unix - virus database update utility
ii  clamdscan                      0.101.4+dfsg-1~pve1         amd64        anti-virus utility for Unix - scanner client
ii  libclamav9:amd64               0.101.4+dfsg-1~pve1         amd64        anti-virus utility for Unix - library


after i updated to 6.4.4

Code:
root@mail:~# dpkg -l |grep -i clam
ii  clamav                         0.103.5+dfsg-0+deb10u1        amd64        anti-virus utility for Unix - command-line interface
ii  clamav-base                    0.103.5+dfsg-0+deb10u1        all          anti-virus utility for Unix - base package
ii  clamav-daemon                  0.103.5+dfsg-0+deb10u1        amd64        anti-virus utility for Unix - scanner daemon
ii  clamav-freshclam               0.103.5+dfsg-0+deb10u1        amd64        anti-virus utility for Unix - virus database update utility
ii  clamdscan                      0.103.5+dfsg-0+deb10u1        amd64        anti-virus utility for Unix - scanner client
ii  libclamav9:amd64               0.103.5+dfsg-0+deb10u1        amd64        anti-virus utility for Unix - library

i guess i needed to update it
Thank you
 
  • Like
Reactions: Stoiko Ivanov

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!