Dear Miquel, I had the same problem.
I backed up, in compressed format, all the old log files.(As they aren't needed, except for historical reasons, I may deleted them.) Then, using Synaptic, I did a 'Complete Removal' i.e. purge,of all the ClamAV packages, to ensure that configuration files are removed.
• clamav • clamav-milter • clamav-daemon • clamav-freshclam • clamdscan • clamav-base • clamav-docs • libclamunrar7 • libclamav7 • libclamav9 Finally I installed them all again. That solved my problem. On 2020-09-14 05:28, Barbero Real, Miquel wrote:
Good morning, We are trying to use the freshclam as a daemon service. If we start the update process from terminal, we don't notice any problem but when freshclam starts as daemon, it's not able to complete that process. We share freshclam.log output in such conditions: Mon Sep 14 11:07:12 2020 -> -------------------------------------- Mon Sep 14 11:07:12 2020 -> freshclam daemon 0.102.4 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64) Mon Sep 14 11:07:12 2020 -> ClamAV update process started at Mon Sep 14 11:07:12 2020 Mon Sep 14 11:07:12 2020 -> Current working dir is /var/clamav/ Mon Sep 14 11:07:12 2020 -> Querying current.cvd.clamav.net Mon Sep 14 11:07:12 2020 -> TTL: 1546 Mon Sep 14 11:07:12 2020 -> fc_dns_query_update_info: Software version from DNS: 0.102.4 Mon Sep 14 11:07:12 2020 -> Current working dir is /var/clamav/ Mon Sep 14 11:07:12 2020 -> check_for_new_database_version: No local copy of "daily" database. Mon Sep 14 11:07:12 2020 -> query_remote_database_version: daily.cvd version from DNS: 25929 Mon Sep 14 11:07:12 2020 -> daily database available for download (remote version: 25929) Mon Sep 14 11:07:12 2020 -> Retrieving https://database.clamav.net/daily.cvd Mon Sep 14 11:07:12 2020 -> downloadFile: Download source: https://database.clamav.net/daily.cvd Mon Sep 14 11:07:12 2020 -> downloadFile: Download destination: /var/clamav/tmp.44050/clamav-d4bf4c9f43591f8d2c23bbb224d4c0e2.tmp Mon Sep 14 11:07:22 2020 -> WARNING: Download failed (28) Mon Sep 14 11:07:22 2020 -> WARNING: Message: Timeout was reached Mon Sep 14 11:07:22 2020 -> WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd Mon Sep 14 11:07:22 2020 -> Trying again in 5 secs... We share the same output when we use freshclam from terminal (we have tried to use clamav user to simulate the same stage): [root@server ~]# sudo -E -u clamav freshclam -v ... Mon Sep 14 11:09:25 2020 -> -------------------------------------- on Sep 14 11:09:25 2020 -> ClamAV update process started at Mon Sep 14 11:09:25 2020 Mon Sep 14 11:09:25 2020 -> Current working dir is /var/clamav/ Mon Sep 14 11:09:25 2020 -> Querying current.cvd.clamav.net Mon Sep 14 11:09:25 2020 -> TTL: 1412 Mon Sep 14 11:09:25 2020 -> fc_dns_query_update_info: Software version from DNS: 0.102.4 Mon Sep 14 11:09:25 2020 -> Current working dir is /var/clamav/ Mon Sep 14 11:09:25 2020 -> check_for_new_database_version: No local copy of "daily" database. Mon Sep 14 11:09:25 2020 -> query_remote_database_version: daily.cvd version from DNS: 25929 Mon Sep 14 11:09:25 2020 -> daily database available for download (remote version: 25929) Mon Sep 14 11:09:25 2020 -> Retrieving https://database.clamav.net/daily.cvd Mon Sep 14 11:09:25 2020 -> downloadFile: Download source: https://database.clamav.net/daily.cvd Mon Sep 14 11:09:25 2020 -> downloadFile: Download destination: /var/clamav/tmp.36972/clamav-62544403153435cc25097e8879fbbc16.tmp Mon Sep 14 11:09:40 2020 -> updatedb: Running g_cb_download_complete callback... Mon Sep 14 11:09:40 2020 -> download_complete_callback: Download complete for database : /var/clamav/tmp.36972/clamav-62544403153435cc25097e8879fbbc16.tmp-daily.cvd Mon Sep 14 11:09:40 2020 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Sep 14 11:09:40 2020 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Sep 14 11:09:40 2020 -> Testing database: '/var/clamav/tmp.36972/clamav-62544403153435cc25097e8879fbbc16.tmp-daily.cvd' ... Mon Sep 14 11:09:40 2020 -> Loading signatures from /var/clamav/tmp.36972/clamav-62544403153435cc25097e8879fbbc16.tmp-daily.cvd Mon Sep 14 11:10:05 2020 -> Properly loaded 4352681 signatures from /var/clamav/tmp.36972/clamav-62544403153435cc25097e8879fbbc16.tmp-daily.cvd Mon Sep 14 11:10:06 2020 -> Database test passed. Mon Sep 14 11:10:06 2020 -> daily.cvd updated (version: 25929, sigs: 4316395, f-level: 63, builder: raynman) Mon Sep 14 11:10:06 2020 -> fc_update_database: daily.cvd updated. ... Please, any clue to fix this behavior would be pretty appreciate. Thanks and kind regards. [https://mhisignature.s3-eu-west-1.amazonaws.com/MHI_FIRMA_SAM.JPG] http://www.melia.com/ Ofertas exclusivas y garantía del mejor precio online. Exclusive special offers and best online rate guarantee. ADVERTENCIA LEGAL: El contenido de este mail es confidencial y dirigido únicamente a su destinatario. Para acceder a su cláusula de privacidad completa pulse aquí<https://www.melia.com/es/privacy.htm>. LEGAL ADVISORY: This message is confidential and intended only for the person or entity to which it is addressed. In order to read its privacy policy click here<https://www.melia.com/en/privacy.htm>. _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
-- Udvarias Ur This letter was generated and sent from Thunderbird 60.9.0 on Ubuntu Linux 16.04.6 LTS. Cette lettre a été générée et envoyée à partir de Thunderbird 60.9.0 sur Ubuntu Linux 16.04.6 LTS. _______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml