Page 1 of 1

clamAV virus database

Posted: 28 Apr 2022, 13:50
by gretor
Hello,

the virus database of clam on AV is very outdated on terra master. The update function does not seem to work. Is there any way to trigger the definition update again ? Maybe via SSH or so ?

greetings

gretor.

P.S. The old forum posts from 2020 with the same problem didn't really help me.

Re: clamAV virus database

Posted: 28 Apr 2022, 18:16
by TMSupport
Please refer to the following steps.
1. Log in to the SSH terminal
2. Edit the freshclam.conf

Code: Select all

vi /etc/freshclam.conf
3. Replace the contents of freshclam.conf with the following and save

Code: Select all

DatabaseDirectory  /usr/local/share/clamav/
UpdateLogFile /var/log/freshclam.log
LogFileMaxSize 2M
PidFile /var/run/freshclam.pid
Checks 12
#DatabaseOwner clamav
DatabaseMirror db.local.clamav.net
DatabaseMirror db.ch.clamav.net
DatabaseMirror db.cn.clamav.net
DatabaseMirror db.jp.clamav.net
DatabaseMirror db.us.clamav.net
DatabaseMirror db.uk.clamav.net
DatabaseMirror database.clamav.net
4.

Code: Select all

freshclam --user=root
If it doesn't work, you can wait for the update, which will be updated recently.

Re: clamAV virus database

Posted: 12 Jun 2022, 19:22
by PriestyUK
Can anyone tell me what i'm doing wrong as ClamAV still doesnt want to update even though I have done what was said? Do I need to reboot before running the freshclam --user=root command?

Image
Image

Re: clamAV virus database

Posted: 13 Jun 2022, 00:43
by crisisacting
PriestyUK wrote: 12 Jun 2022, 19:22 Can anyone tell me what i'm doing wrong as ClamAV still doesnt want to update even though I have done what was said? Do I need to reboot before running the freshclam --user=root command?

Image
Image
That version is End of Life & blocked from updating: https://blog.clamav.net/2021/12/reminde ... e.html?m=1

Re: clamAV virus database

Posted: 13 Jun 2022, 00:46
by PriestyUK
O dam.... what now :roll:

Re: clamAV virus database

Posted: 13 Jun 2022, 01:01
by crisisacting
PriestyUK wrote: 13 Jun 2022, 00:46 O dam.... what now :roll:
One would need to independently build a newer tpk for installation, since Terra-Master has not kept their official package, from their integrated repository, current.

Re: clamAV virus database

Posted: 13 Jun 2022, 01:46
by PriestyUK
Well they should bloody well get on with it :roll: