PrimTux, la distribution éducative
Problemes avec antivirus freshclam - Version imprimable

+- PrimTux, la distribution éducative (https://forum.primtux.fr)
+-- Forum : PrimTux: LA DISTRIBUTION: présentation, aide et développement (https://forum.primtux.fr/forumdisplay.php?fid=5)
+--- Forum : Foire aux questions (https://forum.primtux.fr/forumdisplay.php?fid=15)
+--- Sujet : Problemes avec antivirus freshclam (/showthread.php?tid=1226)



Problemes avec antivirus freshclam - lebardix - 09-10-2019

Sur Primtux4 des lenteurs au démarrage suite aux tentatives de mises à jour de "freshclam" (et aussi en fonctionnement)

Code :
[== Undefined ==]
Oct  9 00:17:01 primtux205 CRON[3656]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Oct  9 00:26:49 primtux205 freshclam[382]: Wed Oct  9 00:26:49 2019 -> Received signal: wake up
Oct  9 00:26:49 primtux205 freshclam[382]: Wed Oct  9 00:26:49 2019 -> ClamAV update process started at Wed Oct  9 00:26:49 2019
Oct  9 00:26:49 primtux205 freshclam[382]: Wed Oct  9 00:26:49 2019 -> nonblock_connect: connect(): fd=4 errno=101: Network is unreachable
Oct  9 00:26:49 primtux205 freshclam[382]: Wed Oct  9 00:26:49 2019 -> Can't connect to port 80 of host db.local.clamav.net (IP: 2606:4700::6810:da54)
Oct  9 00:26:49 primtux205 freshclam[382]: Wed Oct  9 00:26:49 2019 -> ^getfile: Unknown response from db.local.clamav.net (IP: 104.16.219.84): HTTP/1.1 403
Oct  9 00:26:49 primtux205 freshclam[382]: Wed Oct  9 00:26:49 2019 -> ^Can't download main.cvd from db.local.clamav.net
Oct  9 00:27:29 primtux205 freshclam[382]: Wed Oct  9 00:27:29 2019 -> *Can't query main.0.105.0.0.6810DB54.ping.clamav.net
Oct  9 00:27:29 primtux205 freshclam[382]: Wed Oct  9 00:27:29 2019 -> Trying again in 5 secs...
Oct  9 00:27:34 primtux205 freshclam[382]: Wed Oct  9 00:27:34 2019 -> Trying host db.local.clamav.net (104.16.218.84)...
Oct  9 00:27:34 primtux205 freshclam[382]: Wed Oct  9 00:27:34 2019 -> ^getfile: Unknown response from db.local.clamav.net (IP: 104.16.218.84): HTTP/1.1 403
Oct  9 00:27:34 primtux205 freshclam[382]: Wed Oct  9 00:27:34 2019 -> ^Can't download main.cvd from db.local.clamav.net
Oct  9 00:28:09 primtux205 freshclam[382]: Wed Oct  9 00:28:09 2019 -> *Can't query main.0.105.0.0.6810DA54.ping.clamav.net
Oct  9 00:28:09 primtux205 freshclam[382]: Wed Oct  9 00:28:09 2019 -> Trying again in 5 secs...
Oct  9 00:28:14 primtux205 freshclam[382]: Wed Oct  9 00:28:14 2019 -> Trying host db.local.clamav.net (2606:4700::6810:db54)...
Oct  9 00:28:14 primtux205 freshclam[382]: Wed Oct  9 00:28:14 2019 -> nonblock_connect: connect(): fd=4 errno=101: Network is unreachable
Oct  9 00:28:14 primtux205 freshclam[382]: Wed Oct  9 00:28:14 2019 -> Can't connect to port 80 of host db.local.clamav.net (IP: 2606:4700::6810:db54)
Oct  9 00:28:14 primtux205 freshclam[382]: Wed Oct  9 00:28:14 2019 -> ^Can't download main.cvd from db.local.clamav.net
Oct  9 00:28:14 primtux205 freshclam[382]: Wed Oct  9 00:28:14 2019 -> Trying again in 5 secs...
Oct  9 00:28:19 primtux205 freshclam[382]: Wed Oct  9 00:28:19 2019 -> ^Can't download main.cvd from db.local.clamav.net
Oct  9 00:28:19 primtux205 freshclam[382]: Wed Oct  9 00:28:19 2019 -> Trying again in 5 secs...
Oct  9 00:28:24 primtux205 freshclam[382]: Wed Oct  9 00:28:24 2019 -> !Can't download main.cvd from db.local.clamav.net
Oct  9 00:28:24 primtux205 freshclam[382]: Wed Oct  9 00:28:24 2019 -> Giving up on db.local.clamav.net...
Oct  9 00:28:24 primtux205 freshclam[382]: Wed Oct  9 00:28:24 2019 -> ^Can't download main.cvd from database.clamav.net
Oct  9 00:28:24 primtux205 freshclam[382]: Wed Oct  9 00:28:24 2019 -> Trying again in 5 secs...
Oct  9 00:28:29 primtux205 freshclam[382]: Wed Oct  9 00:28:29 2019 -> ^Can't download main.cvd from database.clamav.net
Oct  9 00:28:29 primtux205 freshclam[382]: Wed Oct  9 00:28:29 2019 -> Trying again in 5 secs...
Oct  9 00:28:34 primtux205 freshclam[382]: Wed Oct  9 00:28:34 2019 -> ^Can't download main.cvd from database.clamav.net
Oct  9 00:28:34 primtux205 freshclam[382]: Wed Oct  9 00:28:34 2019 -> Trying again in 5 secs...
Oct  9 00:28:39 primtux205 freshclam[382]: Wed Oct  9 00:28:39 2019 -> ^Can't download main.cvd from database.clamav.net
Oct  9 00:28:39 primtux205 freshclam[382]: Wed Oct  9 00:28:39 2019 -> Trying again in 5 secs...
Oct  9 00:28:44 primtux205 freshclam[382]: Wed Oct  9 00:28:44 2019 -> !Can't download main.cvd from database.clamav.net
Oct  9 00:28:44 primtux205 freshclam[382]: Wed Oct  9 00:28:44 2019 -> Giving up on database.clamav.net...
Oct  9 00:28:44 primtux205 freshclam[382]: Wed Oct  9 00:28:44 2019 -> Update failed. Your network may be down or none of the mirrors listed in /etc/clamav/freshclam.conf is working. Check https://www.clamav.net/documents/official-mirror-faq for possible reasons.

Après une simple recherche, il semblerait que ce soit un problème de version obsolète, le réseau fonctionnant normalement..

question : est-ce toujours activé (notamment dans les cas de PC autonome sans réseau ?), et raisonnablement comment s'en passer


Problemes avec antivirus freshclam - Steph - 10-10-2019

Non c'est pas vraiment utile, sauf à tout ralentir mais c'est une dépendance de dansguardian. Essaie un peu:

Dans un fichier /etc/rc0.d/clamav, copie ceci et rends-le exécutable:
Code :
#!/bin/sh

/etc/init.d/clamav stop
/etc/init.d/clamav-freshclam stop

Dans /etc/rc.local, ajoute ceci:

Code :
sudo /etc/rc0.d/clamav
exit 0

Si ça ne marche pas, on fera autrement.


Problemes avec antivirus freshclam - lebardix - 17-10-2019

Salut Steph

Bon effectivement, il n'y a plus de mise à jour de la base, plus de message dans freshclam.log
plus de daemon freshclam

Clamav ne me semble aussi pas trop utile...

mais au pire pourquoi la mise à jour ne fonctionnerait pas ?
  • serait-ce un probleme avec les proxy et autres filtres de AmonEcole, Primtux ??
  • ou bien c'est non fonctionnel avec primtux4 ??
  • de DNS



Problemes avec antivirus freshclam - Steph - 17-10-2019

Je l'ai constaté dès le début de PrimTux ce ralentissement, s'il n'y avait pas dansguardian, ça ne serait pas installé, je n'ai pas d'autre réponse!