Problem with freshclam

Feb 5, 2020
14
1
23
43
Hey all i noticed that my clamav is not updating the error i get is:


ClamAV update process started at Sat Feb 29 13:24:52 2020
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (daily.cvd): WARNING: remote_cvdhead: Download failed (6) WARNING: Message: Couldn't resolve host name
WARNING: Failed to get daily database version information from server: https://database.clamav.net
ERROR: check_for_new_database_version: Failed to find daily database using server https://database.clamav.net.
Trying again in 5 secs...
Reading CVD header (daily.cvd): WARNING: remote_cvdhead: Download failed (6) WARNING: Message: Couldn't resolve host name
WARNING: Failed to get daily database version information from server: https://database.clamav.net
ERROR: check_for_new_database_version: Failed to find daily database using server https://database.clamav.net.
Trying again in 5 secs...
Reading CVD header (daily.cvd): WARNING: remote_cvdhead: Download failed (6) WARNING: Message: Couldn't resolve host name
WARNING: Failed to get daily database version information from server: https://database.clamav.net
ERROR: check_for_new_database_version: Failed to find daily database using server https://database.clamav.net.
Trying again in 5 secs...
Reading CVD header (daily.cvd): WARNING: remote_cvdhead: Download failed (6) WARNING: Message: Couldn't resolve host name
WARNING: Failed to get daily database version information from server: https://database.clamav.net
ERROR: check_for_new_database_version: Failed to find daily database using server https://database.clamav.net.
Trying again in 5 secs...
Reading CVD header (daily.cvd): ERROR: remote_cvdhead: Download failed (6) ERROR: Message: Couldn't resolve host name
WARNING: Failed to get daily database version information from server: https://database.clamav.net
ERROR: check_for_new_database_version: Failed to find daily database using server https://database.clamav.net.
Giving up on https://database.clamav.net...
ERROR: Update failed for database: daily
WARNING: fc_update_databases: fc_update_database failed: HTTP GET failed (11)
ERROR: Database update process failed: HTTP GET failed (11)
ERROR: Update failed.


I can resolve the database.clamav.net so that is not the issue. anyone else got an idea whats going on.
Running Debian 10 most updated version with proxmox 6.1
 
For anyone else ending up here.
Clamd/Clamav uses 'freshclam' to update.
The solution is :

sudo aa-complain /usr/bin/freshclam

which changes apparmor from stopping it to just warning for it.
 

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!