Dernier message de la page précédente :
@Manu62170Le fichier à télécharger est bien trouvé, c'est juste l'endroit où le mettre qui n'est pas le bon (j'ai filé l'endroit pour debian, peut être que sous Mint il est ailleurs)
Dernier message de la page précédente :
@Manu62170Je me suis posée la question de savoir comment clamav pourrait aller chercher ses définitions à cet endroit puisque c'est moi qui l'ai créé.
Code : Tout sélectionner
Thu Apr 9 16:38:56 2020 -> Trying again in 5 secs...
Thu Apr 9 16:39:01 2020 -> check_for_new_database_version: Local copy of daily found: daily.cld.
Thu Apr 9 16:39:01 2020 -> Reading CVD header (daily.cld): Thu Apr 9 16:39:01 2020 -> Trying to retrieve CVD header from http://true/daily.cld
Thu Apr 9 16:39:01 2020 -> ERROR: remote_cvdhead: Download failed (6) Thu Apr 9 16:39:01 2020 -> ERROR: Message: Couldn't resolve host name
Thu Apr 9 16:39:01 2020 -> Reading CVD header (daily.cvd): Thu Apr 9 16:39:01 2020 -> Trying to retrieve CVD header from http://true/daily.cvd
Thu Apr 9 16:39:01 2020 -> ERROR: remote_cvdhead: Download failed (6) Thu Apr 9 16:39:01 2020 -> ERROR: Message: Couldn't resolve host name
Thu Apr 9 16:39:01 2020 -> WARNING: Failed to get daily database version information from server: http://true
Thu Apr 9 16:39:01 2020 -> ERROR: check_for_new_database_version: Failed to find daily database using server http://true.
Thu Apr 9 16:39:01 2020 -> updatedb: daily database update failed.
Thu Apr 9 16:39:01 2020 -> Giving up on http://true...
Thu Apr 9 16:39:01 2020 -> ERROR: Update failed for database: daily
Thu Apr 9 16:39:01 2020 -> WARNING: fc_update_databases: fc_update_database failed: HTTP GET failed (11)
Thu Apr 9 16:39:01 2020 -> ERROR: Database update process failed: HTTP GET failed (11)
Thu Apr 9 16:39:01 2020 -> ERROR: Update failed.
Code : Tout sélectionner
mia@mia-PC5:~$ sudo wget http://database.clamav.net/main.cvd -o /var/db/clamav/main.cvd
Code : Tout sélectionner
mia@mia-PC5:~$ sudo wget http://database.clamav.net/main.cvd -o /var/log/clamav/freshclam.log
Code : Tout sélectionner
mia@mia-PC5:~$ sudo rm -f /var/lib/clamav/mirrors.dat
[sudo] Mot de passe de mia :
mia@mia-PC5:~$ sudo service clamav restart
Failed to restart clamav.service: Unit clamav.service not found.
mia@mia-PC5:~$
Code : Tout sélectionner
mia@mia-PC5:~$ sudo freshclam --verbose
Thu Apr 9 16:38:41 2020 -> ClamAV update process started at Thu Apr 9 16:38:41 2020
Thu Apr 9 16:38:41 2020 -> *Current working dir is /var/lib/clamav/
Thu Apr 9 16:38:41 2020 -> ^DNS Update Info disabled. Falling back to HTTP mode.
Thu Apr 9 16:38:41 2020 -> *Current working dir is /var/lib/clamav/
Thu Apr 9 16:38:41 2020 -> *check_for_new_database_version: Local copy of daily found: daily.cld.
Thu Apr 9 16:38:41 2020 -> Reading CVD header (daily.cld): Thu Apr 9 16:38:41 2020 -> *Trying to retrieve CVD header from http://true/daily.cld
* Could not resolve host: true
* Closing connection 0
Thu Apr 9 16:38:41 2020 -> ^remote_cvdhead: Download failed (6) Thu Apr 9 16:38:41 2020 -> ^ Message: Couldn't resolve host name
Thu Apr 9 16:38:41 2020 -> Reading CVD header (daily.cvd): Thu Apr 9 16:38:41 2020 -> *Trying to retrieve CVD header from http://true/daily.cvd
* Could not resolve host: true
* Closing connection 0
Thu Apr 9 16:38:41 2020 -> ^remote_cvdhead: Download failed (6) Thu Apr 9 16:38:41 2020 -> ^ Message: Couldn't resolve host name
Thu Apr 9 16:38:41 2020 -> ^Failed to get daily database version information from server: http://true
Thu Apr 9 16:38:41 2020 -> !check_for_new_database_version: Failed to find daily database using server http://true.
Thu Apr 9 16:38:41 2020 -> *updatedb: daily database update failed.
Thu Apr 9 16:38:41 2020 -> Trying again in 5 secs...
Thu Apr 9 16:38:46 2020 -> *check_for_new_database_version: Local copy of daily found: daily.cld.
Thu Apr 9 16:38:46 2020 -> Reading CVD header (daily.cld): Thu Apr 9 16:38:46 2020 -> *Trying to retrieve CVD header from http://true/daily.cld
* Could not resolve host: true
* Closing connection 0
Thu Apr 9 16:38:46 2020 -> ^remote_cvdhead: Download failed (6) Thu Apr 9 16:38:46 2020 -> ^ Message: Couldn't resolve host name
Thu Apr 9 16:38:46 2020 -> Reading CVD header (daily.cvd): Thu Apr 9 16:38:46 2020 -> *Trying to retrieve CVD header from http://true/daily.cvd
* Could not resolve host: true
* Closing connection 0
Thu Apr 9 16:38:46 2020 -> ^remote_cvdhead: Download failed (6) Thu Apr 9 16:38:46 2020 -> ^ Message: Couldn't resolve host name
Thu Apr 9 16:38:46 2020 -> ^Failed to get daily database version information from server: http://true
Thu Apr 9 16:38:46 2020 -> !check_for_new_database_version: Failed to find daily database using server http://true.
Thu Apr 9 16:38:46 2020 -> *updatedb: daily database update failed.
Thu Apr 9 16:38:46 2020 -> Trying again in 5 secs...
Thu Apr 9 16:38:51 2020 -> *check_for_new_database_version: Local copy of daily found: daily.cld.
Thu Apr 9 16:38:51 2020 -> Reading CVD header (daily.cld): Thu Apr 9 16:38:51 2020 -> *Trying to retrieve CVD header from http://true/daily.cld
* Could not resolve host: true
* Closing connection 0
Thu Apr 9 16:38:51 2020 -> ^remote_cvdhead: Download failed (6) Thu Apr 9 16:38:51 2020 -> ^ Message: Couldn't resolve host name
Thu Apr 9 16:38:51 2020 -> Reading CVD header (daily.cvd): Thu Apr 9 16:38:51 2020 -> *Trying to retrieve CVD header from http://true/daily.cvd
* Could not resolve host: true
* Closing connection 0
Thu Apr 9 16:38:51 2020 -> ^remote_cvdhead: Download failed (6) Thu Apr 9 16:38:51 2020 -> ^ Message: Couldn't resolve host name
Thu Apr 9 16:38:51 2020 -> ^Failed to get daily database version information from server: http://true
Thu Apr 9 16:38:51 2020 -> !check_for_new_database_version: Failed to find daily database using server http://true.
Thu Apr 9 16:38:51 2020 -> *updatedb: daily database update failed.
Thu Apr 9 16:38:51 2020 -> Trying again in 5 secs...
Thu Apr 9 16:38:56 2020 -> *check_for_new_database_version: Local copy of daily found: daily.cld.
Thu Apr 9 16:38:56 2020 -> Reading CVD header (daily.cld): Thu Apr 9 16:38:56 2020 -> *Trying to retrieve CVD header from http://true/daily.cld
* Could not resolve host: true
* Closing connection 0
Thu Apr 9 16:38:56 2020 -> ^remote_cvdhead: Download failed (6) Thu Apr 9 16:38:56 2020 -> ^ Message: Couldn't resolve host name
Thu Apr 9 16:38:56 2020 -> Reading CVD header (daily.cvd): Thu Apr 9 16:38:56 2020 -> *Trying to retrieve CVD header from http://true/daily.cvd
* Could not resolve host: true
* Closing connection 0
Thu Apr 9 16:38:56 2020 -> ^remote_cvdhead: Download failed (6) Thu Apr 9 16:38:56 2020 -> ^ Message: Couldn't resolve host name
Thu Apr 9 16:38:56 2020 -> ^Failed to get daily database version information from server: http://true
Thu Apr 9 16:38:56 2020 -> !check_for_new_database_version: Failed to find daily database using server http://true.
Thu Apr 9 16:38:56 2020 -> *updatedb: daily database update failed.
Thu Apr 9 16:38:56 2020 -> Trying again in 5 secs...
Thu Apr 9 16:39:01 2020 -> *check_for_new_database_version: Local copy of daily found: daily.cld.
Thu Apr 9 16:39:01 2020 -> Reading CVD header (daily.cld): Thu Apr 9 16:39:01 2020 -> *Trying to retrieve CVD header from http://true/daily.cld
* Could not resolve host: true
* Closing connection 0
Thu Apr 9 16:39:01 2020 -> !remote_cvdhead: Download failed (6) Thu Apr 9 16:39:01 2020 -> ! Message: Couldn't resolve host name
Thu Apr 9 16:39:01 2020 -> Reading CVD header (daily.cvd): Thu Apr 9 16:39:01 2020 -> *Trying to retrieve CVD header from http://true/daily.cvd
* Could not resolve host: true
* Closing connection 0
Thu Apr 9 16:39:01 2020 -> !remote_cvdhead: Download failed (6) Thu Apr 9 16:39:01 2020 -> ! Message: Couldn't resolve host name
Thu Apr 9 16:39:01 2020 -> ^Failed to get daily database version information from server: http://true
Thu Apr 9 16:39:01 2020 -> !check_for_new_database_version: Failed to find daily database using server http://true.
Thu Apr 9 16:39:01 2020 -> *updatedb: daily database update failed.
Thu Apr 9 16:39:01 2020 -> Giving up on http://true...
Thu Apr 9 16:39:01 2020 -> !Update failed for database: daily
Thu Apr 9 16:39:01 2020 -> ^fc_update_databases: fc_update_database failed: HTTP GET failed (11)
Thu Apr 9 16:39:01 2020 -> !Database update process failed: HTTP GET failed (11)
Thu Apr 9 16:39:01 2020 -> !Update failed.
mia@mia-PC5:~$
Je le tiens !
Code : Tout sélectionner
mia@mia-PC5:~$ sudo wget http://database.clamav.net/main.cvd -o /var/log/clamav/freshclam.log
Code : Tout sélectionner
mia@mia-PC5:~$ sudo freshclam --verbose
[sudo] Mot de passe de mia :
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: initialize: libfreshclam init failed.
ERROR: Initialization error!
mia@mia-PC5:~$
Code : Tout sélectionner
mia@mia-PC5:~$ /etc/init.d/clamav-freshclam stop
[ ok ] Stopping clamav-freshclam (via systemctl): clamav-freshclam.service.
mia@mia-PC5:~$ sudo freshclam --verbose
Fri Apr 10 14:06:37 2020 -> ClamAV update process started at Fri Apr 10 14:06:37 2020
Fri Apr 10 14:06:37 2020 -> *Current working dir is /var/lib/clamav/
Fri Apr 10 14:06:37 2020 -> *Querying current.cvd.clamav.net
Fri Apr 10 14:06:37 2020 -> *TTL: 1166
Fri Apr 10 14:06:37 2020 -> *fc_dns_query_update_info: Software version from DNS: 0.102.2
Fri Apr 10 14:06:37 2020 -> *Current working dir is /var/lib/clamav/
Fri Apr 10 14:06:37 2020 -> *check_for_new_database_version: Local copy of daily found: daily.cvd.
Fri Apr 10 14:06:37 2020 -> *query_remote_database_version: daily.cvd version from DNS: 25777
Fri Apr 10 14:06:37 2020 -> daily.cvd database is up to date (version: 25777, sigs: 2252660, f-level: 63, builder: raynman)
Fri Apr 10 14:06:37 2020 -> *fc_update_database: daily.cvd already up-to-date.
Fri Apr 10 14:06:37 2020 -> *Current working dir is /var/lib/clamav/
Fri Apr 10 14:06:37 2020 -> *check_for_new_database_version: Local copy of main found: main.cvd.
Fri Apr 10 14:06:37 2020 -> *query_remote_database_version: main.cvd version from DNS: 59
Fri Apr 10 14:06:37 2020 -> main.cvd database is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
Fri Apr 10 14:06:37 2020 -> *fc_update_database: main.cvd already up-to-date.
Fri Apr 10 14:06:37 2020 -> *Current working dir is /var/lib/clamav/
Fri Apr 10 14:06:37 2020 -> *check_for_new_database_version: Local copy of bytecode found: bytecode.cvd.
Fri Apr 10 14:06:37 2020 -> *query_remote_database_version: bytecode.cvd version from DNS: 331
Fri Apr 10 14:06:37 2020 -> bytecode.cvd database is up to date (version: 331, sigs: 94, f-level: 63, builder: anvilleg)
Fri Apr 10 14:06:37 2020 -> *fc_update_database: bytecode.cvd already up-to-date.
mia@mia-PC5:~$ /etc/init.d/clamav-freshclam start
[ ok ] Starting clamav-freshclam (via systemctl): clamav-freshclam.service.
mia@mia-PC5:~$