you can try to delete all files in lib folder and start freshclam again.
by the way: you should maximum once per day refresh your signature files 
otherwise the cdn will block you for 24 hours.
Do you habe seen this page?
https://docs.clamav.net/faq/faq-troubleshoot.html


Von / From: Clamav User Mailinglist <mailto:[email protected]>
An / To: Newcomer01 <mailto:[email protected]>
CC / CC: Jim Popovitch <mailto:[email protected]>
Gesendet / Sent: Sonntag, Dezember 25, 2022 um 22:16 (at 10:16 PM) +0100
Betreff / Subject: [clamav-users] freshclam: Verification: Can't verify 
database integrity
What the heck could be causing freshclam verification problems for the
past 2 days?  I'm getting rate-limited over and over because freshclam
fails to verify daily.cvd (and then retries over and over).  Is there a
known problem with daily.cvd downloads being corrupt?  Google says to
"wget http://database.clamav.net/daily.cvd"; but that no longer works.
What should I be doing differently?


~$ grep freshclam /var/log/syslog
Dec 25 18:29:29 mx3 freshclam[1013]: freshclam daemon 0.103.7 (OS: linux-gnu, 
ARCH: x86_64, CPU: x86_64)
Dec 25 18:29:29 mx3 freshclam[1013]: ClamAV update process started at Sun Dec 
25 18:29:29 2022
Dec 25 18:29:29 mx3 freshclam[1013]: ClamAV update process started at Sun Dec 
25 18:29:29 2022
Dec 25 18:29:29 mx3 freshclam[1013]: WARNING: FreshClam previously received 
error code 429 or 403 from the ClamAV Content Delivery Network (CDN).
Dec 25 18:29:29 mx3 freshclam[1013]: FreshClam previously received error code 
429 or 403 from the ClamAV Content Delivery Network (CDN).
Dec 25 18:29:29 mx3 freshclam[1013]: This means that you have been rate limited 
or blocked by the CDN.
Dec 25 18:29:29 mx3 freshclam[1013]: This means that you have been rate limited 
or blocked by the CDN.
Dec 25 18:29:29 mx3 freshclam[1013]:  1. Verify that you're running a supported 
ClamAV version.
Dec 25 18:29:29 mx3 freshclam[1013]:     See 
https://docs.clamav.net/faq/faq-eol.html for details.
Dec 25 18:29:29 mx3 freshclam[1013]:  2. Run FreshClam no more than once an 
hour to check for updates.
Dec 25 18:29:29 mx3 freshclam[1013]:     FreshClam should check DNS first to 
see if an update is needed.
Dec 25 18:29:29 mx3 freshclam[1013]:  3. If you have more than 10 hosts on your 
network attempting to download,
Dec 25 18:29:29 mx3 freshclam[1013]:  1. Verify that you're running a supported 
ClamAV version.
Dec 25 18:29:29 mx3 freshclam[1013]:     it is recommended that you set up a 
private mirror on your network using
Dec 25 18:29:29 mx3 freshclam[1013]:     cvdupdate 
(https://pypi.org/project/cvdupdate/) to save bandwidth on the
Dec 25 18:29:29 mx3 freshclam[1013]:     CDN and your own network.
Dec 25 18:29:29 mx3 freshclam[1013]:  4. Please do not open a ticket asking for 
an exemption from the rate limit,
Dec 25 18:29:29 mx3 freshclam[1013]:     it will not be granted.
Dec 25 18:29:29 mx3 freshclam[1013]: WARNING: You are still on cool-down until 
after: 2022-12-25 20:05:17
Dec 25 18:29:29 mx3 freshclam[1013]:     See 
https://docs.clamav.net/faq/faq-eol.html for details.
Dec 25 18:29:29 mx3 freshclam[1013]:  2. Run FreshClam no more than once an 
hour to check for updates.
Dec 25 18:29:29 mx3 freshclam[1013]:     FreshClam should check DNS first to 
see if an update is needed.
Dec 25 18:29:29 mx3 freshclam[1013]:  3. If you have more than 10 hosts on your 
network attempting to download,
Dec 25 18:29:29 mx3 freshclam[1013]:     it is recommended that you set up a 
private mirror on your network using
Dec 25 18:29:29 mx3 freshclam[1013]:     cvdupdate 
(https://pypi.org/project/cvdupdate/) to save bandwidth on the
Dec 25 18:29:29 mx3 freshclam[1013]:     CDN and your own network.
Dec 25 18:29:29 mx3 freshclam[1013]:  4. Please do not open a ticket asking for 
an exemption from the rate limit,
Dec 25 18:29:29 mx3 freshclam[1013]:     it will not be granted.
Dec 25 18:29:29 mx3 freshclam[1013]: You are still on cool-down until after: 
2022-12-25 20:05:17
Dec 25 18:29:29 mx3 freshclam[1013]: --------------------------------------
Dec 25 20:29:29 mx3 freshclam[1013]: Received signal: wake up
Dec 25 20:29:29 mx3 freshclam[1013]: ClamAV update process started at Sun Dec 
25 20:29:29 2022
Dec 25 20:29:29 mx3 freshclam[1013]: Received signal: wake up
Dec 25 20:29:29 mx3 freshclam[1013]: ClamAV update process started at Sun Dec 
25 20:29:29 2022
Dec 25 20:29:29 mx3 freshclam[1013]: WARNING: Cool-down expired, ok to try 
again.
Dec 25 20:29:29 mx3 freshclam[1013]: daily database available for download 
(remote version: 26761)
Dec 25 20:29:29 mx3 freshclam[1013]: Cool-down expired, ok to try again.
Dec 25 20:29:29 mx3 freshclam[1013]: daily database available for download 
(remote version: 26761)
Dec 25 20:29:30 mx3 freshclam[1013]: ERROR: Verification: Can't verify database 
integrity
Dec 25 20:29:30 mx3 freshclam[1013]: Verification: Can't verify database 
integrity
Dec 25 20:29:30 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:29:30 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:29:35 mx3 freshclam[1013]: daily database available for download 
(remote version: 26761)
Dec 25 20:29:35 mx3 freshclam[1013]: daily database available for download 
(remote version: 26761)
Dec 25 20:29:36 mx3 freshclam[1013]: ERROR: Verification: Can't verify database 
integrity
Dec 25 20:29:36 mx3 freshclam[1013]: Verification: Can't verify database 
integrity
Dec 25 20:29:36 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:29:36 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:29:41 mx3 freshclam[1013]: daily database available for download 
(remote version: 26761)
Dec 25 20:29:41 mx3 freshclam[1013]: daily database available for download 
(remote version: 26761)
Dec 25 20:29:42 mx3 freshclam[1013]: ERROR: Verification: Can't verify database 
integrity
Dec 25 20:29:42 mx3 freshclam[1013]: Verification: Can't verify database 
integrity
Dec 25 20:29:42 mx3 freshclam[1013]: Giving up on https://database.clamav.net...
Dec 25 20:29:42 mx3 freshclam[1013]: daily database available for download 
(remote version: 26761)
Dec 25 20:29:42 mx3 freshclam[1013]: Giving up on https://database.clamav.net...
Dec 25 20:29:42 mx3 freshclam[1013]: daily database available for download 
(remote version: 26761)
Dec 25 20:29:42 mx3 freshclam[1013]: ERROR: Verification: Can't verify database 
integrity
Dec 25 20:29:42 mx3 freshclam[1013]: Verification: Can't verify database 
integrity
Dec 25 20:29:42 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:29:42 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:29:47 mx3 freshclam[1013]: daily database available for download 
(remote version: 26761)
Dec 25 20:29:47 mx3 freshclam[1013]: daily database available for download 
(remote version: 26761)
Dec 25 20:29:48 mx3 freshclam[1013]: ERROR: Verification: Can't verify database 
integrity
Dec 25 20:29:48 mx3 freshclam[1013]: Verification: Can't verify database 
integrity
Dec 25 20:29:48 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:29:48 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:29:53 mx3 freshclam[1013]: daily database available for download 
(remote version: 26761)
Dec 25 20:29:53 mx3 freshclam[1013]: daily database available for download 
(remote version: 26761)
Dec 25 20:29:53 mx3 freshclam[1013]: ERROR: Can't download daily.cvd from 
https://database.clamav.net/daily.cvd
Dec 25 20:29:53 mx3 freshclam[1013]: Can't download daily.cvd from 
https://database.clamav.net/daily.cvd
Dec 25 20:29:53 mx3 freshclam[1013]: WARNING: FreshClam received error code 429 
from the ClamAV Content Delivery Network (CDN).
Dec 25 20:29:53 mx3 freshclam[1013]: FreshClam received error code 429 from the 
ClamAV Content Delivery Network (CDN).
Dec 25 20:29:53 mx3 freshclam[1013]: This means that you have been rate limited 
by the CDN.
Dec 25 20:29:53 mx3 freshclam[1013]:  1. Run FreshClam no more than once an 
hour to check for updates.
Dec 25 20:29:53 mx3 freshclam[1013]:     FreshClam should check DNS first to 
see if an update is needed.
Dec 25 20:29:53 mx3 freshclam[1013]:  2. If you have more than 10 hosts on your 
network attempting to download,
Dec 25 20:29:53 mx3 freshclam[1013]:     it is recommended that you set up a 
private mirror on your network using
Dec 25 20:29:53 mx3 freshclam[1013]:     cvdupdate 
(https://pypi.org/project/cvdupdate/) to save bandwidth on the
Dec 25 20:29:53 mx3 freshclam[1013]:     CDN and your own network.
Dec 25 20:29:53 mx3 freshclam[1013]:  3. Please do not open a ticket asking for 
an exemption from the rate limit,
Dec 25 20:29:53 mx3 freshclam[1013]:     it will not be granted.
Dec 25 20:29:53 mx3 freshclam[1013]: WARNING: You are on cool-down until after: 
2022-12-26 20:29:53
Dec 25 20:29:53 mx3 freshclam[1013]: This means that you have been rate limited 
by the CDN.
Dec 25 20:29:53 mx3 freshclam[1013]: main database available for download 
(remote version: 62)
Dec 25 20:29:53 mx3 freshclam[1013]:  1. Run FreshClam no more than once an 
hour to check for updates.
Dec 25 20:29:53 mx3 freshclam[1013]:     FreshClam should check DNS first to 
see if an update is needed.
Dec 25 20:29:53 mx3 freshclam[1013]:  2. If you have more than 10 hosts on your 
network attempting to download,
Dec 25 20:29:53 mx3 freshclam[1013]:     it is recommended that you set up a 
private mirror on your network using
Dec 25 20:29:53 mx3 freshclam[1013]:     cvdupdate 
(https://pypi.org/project/cvdupdate/) to save bandwidth on the
Dec 25 20:29:53 mx3 freshclam[1013]:     CDN and your own network.
Dec 25 20:29:53 mx3 freshclam[1013]:  3. Please do not open a ticket asking for 
an exemption from the rate limit,
Dec 25 20:29:53 mx3 freshclam[1013]:     it will not be granted.
Dec 25 20:29:53 mx3 freshclam[1013]: You are on cool-down until after: 
2022-12-26 20:29:53
Dec 25 20:29:53 mx3 freshclam[1013]: main database available for download 
(remote version: 62)
Dec 25 20:29:53 mx3 freshclam[1013]: WARNING: Can't download main.cvd from 
https://database.clamav.net/main.cvd
Dec 25 20:29:53 mx3 freshclam[1013]: WARNING: FreshClam received error code 429 
from the ClamAV Content Delivery Network (CDN).
Dec 25 20:29:53 mx3 freshclam[1013]: This means that you have been rate limited 
by the CDN.
Dec 25 20:29:53 mx3 freshclam[1013]:  1. Run FreshClam no more than once an 
hour to check for updates.
Dec 25 20:29:53 mx3 freshclam[1013]:     FreshClam should check DNS first to 
see if an update is needed.
Dec 25 20:29:53 mx3 freshclam[1013]:  2. If you have more than 10 hosts on your 
network attempting to download,
Dec 25 20:29:53 mx3 freshclam[1013]:     it is recommended that you set up a 
private mirror on your network using
Dec 25 20:29:53 mx3 freshclam[1013]:     cvdupdate 
(https://pypi.org/project/cvdupdate/) to save bandwidth on the
Dec 25 20:29:53 mx3 freshclam[1013]:     CDN and your own network.
Dec 25 20:29:53 mx3 freshclam[1013]:  3. Please do not open a ticket asking for 
an exemption from the rate limit,
Dec 25 20:29:53 mx3 freshclam[1013]: Can't download main.cvd from 
https://database.clamav.net/main.cvd
Dec 25 20:29:53 mx3 freshclam[1013]:     it will not be granted.
Dec 25 20:29:53 mx3 freshclam[1013]: WARNING: You are on cool-down until after: 
2022-12-26 20:29:53
Dec 25 20:29:53 mx3 freshclam[1013]: bytecode database available for download 
(remote version: 333)
Dec 25 20:29:53 mx3 freshclam[1013]: FreshClam received error code 429 from the 
ClamAV Content Delivery Network (CDN).
Dec 25 20:29:53 mx3 freshclam[1013]: This means that you have been rate limited 
by the CDN.
Dec 25 20:29:53 mx3 freshclam[1013]:  1. Run FreshClam no more than once an 
hour to check for updates.
Dec 25 20:29:53 mx3 freshclam[1013]:     FreshClam should check DNS first to 
see if an update is needed.
Dec 25 20:29:53 mx3 freshclam[1013]:  2. If you have more than 10 hosts on your 
network attempting to download,
Dec 25 20:29:53 mx3 freshclam[1013]:     it is recommended that you set up a 
private mirror on your network using
Dec 25 20:29:53 mx3 freshclam[1013]:     cvdupdate 
(https://pypi.org/project/cvdupdate/) to save bandwidth on the
Dec 25 20:29:53 mx3 freshclam[1013]:     CDN and your own network.
Dec 25 20:29:53 mx3 freshclam[1013]:  3. Please do not open a ticket asking for 
an exemption from the rate limit,
Dec 25 20:29:53 mx3 freshclam[1013]:     it will not be granted.
Dec 25 20:29:53 mx3 freshclam[1013]: You are on cool-down until after: 
2022-12-26 20:29:53
Dec 25 20:29:53 mx3 freshclam[1013]: bytecode database available for download 
(remote version: 333)
Dec 25 20:29:53 mx3 freshclam[1013]: ERROR: Verification: Can't verify database 
integrity
Dec 25 20:29:53 mx3 freshclam[1013]: Verification: Can't verify database 
integrity
Dec 25 20:29:53 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:29:53 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:29:58 mx3 freshclam[1013]: bytecode database available for download 
(remote version: 333)
Dec 25 20:29:58 mx3 freshclam[1013]: bytecode database available for download 
(remote version: 333)
Dec 25 20:29:59 mx3 freshclam[1013]: ERROR: Verification: Can't verify database 
integrity
Dec 25 20:29:59 mx3 freshclam[1013]: Verification: Can't verify database 
integrity
Dec 25 20:29:59 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:29:59 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:30:04 mx3 freshclam[1013]: bytecode database available for download 
(remote version: 333)
Dec 25 20:30:04 mx3 freshclam[1013]: bytecode database available for download 
(remote version: 333)
Dec 25 20:30:04 mx3 freshclam[1013]: ERROR: Verification: Can't verify database 
integrity
Dec 25 20:30:04 mx3 freshclam[1013]: Verification: Can't verify database 
integrity
Dec 25 20:30:04 mx3 freshclam[1013]: Giving up on https://database.clamav.net...
Dec 25 20:30:04 mx3 freshclam[1013]: bytecode database available for download 
(remote version: 333)
Dec 25 20:30:04 mx3 freshclam[1013]: Giving up on https://database.clamav.net...
Dec 25 20:30:04 mx3 freshclam[1013]: bytecode database available for download 
(remote version: 333)
Dec 25 20:30:04 mx3 freshclam[1013]: ERROR: Verification: Can't verify database 
integrity
Dec 25 20:30:04 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:30:04 mx3 freshclam[1013]: Verification: Can't verify database 
integrity
Dec 25 20:30:04 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:30:09 mx3 freshclam[1013]: bytecode database available for download 
(remote version: 333)
Dec 25 20:30:09 mx3 freshclam[1013]: bytecode database available for download 
(remote version: 333)
Dec 25 20:30:09 mx3 freshclam[1013]: ERROR: Verification: Can't verify database 
integrity
Dec 25 20:30:09 mx3 freshclam[1013]: Verification: Can't verify database 
integrity
Dec 25 20:30:09 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:30:09 mx3 freshclam[1013]: Trying again in 5 secs...
Dec 25 20:30:14 mx3 freshclam[1013]: bytecode database available for download 
(remote version: 333)
Dec 25 20:30:14 mx3 freshclam[1013]: bytecode database available for download 
(remote version: 333)
Dec 25 20:30:14 mx3 freshclam[1013]: ERROR: Verification: Can't verify database 
integrity
Dec 25 20:30:14 mx3 freshclam[1013]: Verification: Can't verify database 
integrity
Dec 25 20:30:14 mx3 freshclam[1013]: Giving up on https://database.clamav.net...
Dec 25 20:30:14 mx3 freshclam[1013]: Giving up on https://database.clamav.net...
Dec 25 20:30:14 mx3 freshclam[1013]: ERROR: Update failed for database: bytecode
Dec 25 20:30:14 mx3 freshclam[1013]: Update failed for database: bytecode
Dec 25 20:30:14 mx3 freshclam[1013]: ERROR: Database update process failed: 
Invalid or corrupted CVD/CLD database
Dec 25 20:30:14 mx3 freshclam[1013]: Database update process failed: Invalid or 
corrupted CVD/CLD database
Dec 25 20:30:14 mx3 freshclam[1013]: Update failed.
Dec 25 20:30:14 mx3 freshclam[1013]: ERROR: Update failed.
Dec 25 20:30:14 mx3 freshclam[1013]: --------------------------------------


~$ cat /etc/clamav/freshclam.conf
DatabaseOwner clamav
LogVerbose false
LogSyslog true
LogFacility LOG_LOCAL6
LogRotate false
Foreground false
Debug false
MaxAttempts 3
DatabaseDirectory /var/lib/clamav
DNSDatabaseInfo current.cvd.clamav.net
ConnectTimeout 30
ReceiveTimeout 0
TestDatabases yes
ScriptedUpdates yes
CompressLocalDatabase no
Bytecode true
NotifyClamd /etc/clamav/clamd.conf
Checks 12
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net




_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

Reply via email to