hello,
j'ai un soucis d'update de l'antivirus depuis 7 Avril sur mon NAS QNAP 469L, j'ai lu des posts sur ce forum d'un problème existant sur d'autre NAS (Asustor).
Mais pas de mise à jour coté QNAP, rien sur l'appcenter.
J'ai essayé de trouver la solution pour la poster ici, mais sans succès ... Alors si quelqu'un a une idée avant que je dépose un ticket ?
Le problème : Echec de la mise à jour automatique de l'antivirus ClamAV
j'ai essayer les relances manuelles depuis l'interface GUI du NAS, mais forcément ça ne marche pas.
Ensuite en ssh :
Essais manuel depuis ssh :
Bon ça ne marche pas plus
Après quelques recherches sur le forum Qnap officiel et sur clamAV :
vérification du host :
OK, ça c'est bon.
Donc c'est bien l'antivirus.
J'ai lu aussi que le fait qu'il ne soit pas dans la dernière version n'était par forcément un problème et le fait que QNAP ne l'upgrade pas montre aussi que ce doit êtr compatible.
Ah oui je suis aussi dans la dernière version du firmware 4.3.4.1632 du 24/03/2021
j'ai récupéré également les dernières version des dfinitions directement en ligne et je les ais importées, mais il ne se met pas plus à jour.
rw-r--r-- 1 admin administrators 1.4M 2021-02-18 00:32 bytecode.cld
-rw-r--r-- 1 admin administrators 304M 2021-04-13 07:18 daily.cld
-rw-r--r-- 1 admin administrators 101M 2021-04-13 08:38 daily.cvd
-rw-r--r-- 1 admin administrators 294M 2019-11-26 00:22 main.cld
-rw-r--r-- 1 admin administrators 113M 2021-04-13 09:30 main.cvd
-rw------- 1 admin administrators 2.6K 2021-04-13 08:38 mirrors.dat
a noter que ce sont des .cvd et non des .cld :idea:
Pour le moment j'en suis là . Et je ne trouve pas de solution.
j'ai un soucis d'update de l'antivirus depuis 7 Avril sur mon NAS QNAP 469L, j'ai lu des posts sur ce forum d'un problème existant sur d'autre NAS (Asustor).
Mais pas de mise à jour coté QNAP, rien sur l'appcenter.
J'ai essayé de trouver la solution pour la poster ici, mais sans succès ... Alors si quelqu'un a une idée avant que je dépose un ticket ?
Le problème : Echec de la mise à jour automatique de l'antivirus ClamAV
j'ai essayer les relances manuelles depuis l'interface GUI du NAS, mais forcément ça ne marche pas.
Ensuite en ssh :
Code:
[~] # cd /share/CACHEDEV1_DATA/.antivirus/usr/share/clamav/
[/share/CACHEDEV1_DATA/.antivirus/usr/share/clamav] # ls -lisart
total 612560
146538502 4 drwxr-xr-x 3 admin administrators 4096 2014-01-05 11:06 ../
146538519 300200 -rw-r--r-- 1 admin administrators 307403264 2019-11-26 00:22 main.cld
146538514 1416 -rw-r--r-- 1 admin administrators 1448960 2021-02-18 00:32 bytecode.cld
146538522 310932 -rw-r--r-- 1 admin administrators 318390272 2021-03-02 00:30 daily.cld
146538507 4 -rw------- 1 admin administrators 2652 2021-04-12 00:19 mirrors.dat
146538503 4 drwxr-xr-x 2 admin administrators 4096 2021-04-12 00:19 ./
[/share/CACHEDEV1_DATA/.antivirus/usr/share/clamav] #
Essais manuel depuis ssh :
Code:
[/share/CACHEDEV1_DATA/.antivirus/usr/share/clamav] # freshclam -u admin -v
Current working dir is /share/CACHEDEV1_DATA/.antivirus/usr/share/clamav
Max retries == 2
ClamAV update process started at Tue Apr 13 07:20:12 2021
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 204
Software version from DNS: 0.103.2
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99.3 Recommended version: 0.103.2
DON'T PANIC! Read http://www.clamav.net/documents/upgrading-clamav
main.cvd version from DNS: 59
main.cld is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
daily.cvd version from DNS: 26138
Retrieving http://db.local.clamav.net/daily-26096.cdiff
Trying to download http://db.local.clamav.net/daily-26096.cdiff (IP: 104.16.218.84)
WARNING: getfile: Unknown response from db.local.clamav.net (IP: 104.16.218.84)
WARNING: getpatch: Can't download daily-26096.cdiff from db.local.clamav.net
Querying daily.26096.84.0.0.6810DA54.ping.clamav.net
Retrieving http://db.local.clamav.net/daily-26096.cdiff
Trying to download http://db.local.clamav.net/daily-26096.cdiff (IP: 104.16.219.84)
WARNING: getfile: Unknown response from db.local.clamav.net (IP: 104.16.219.84)
WARNING: getpatch: Can't download daily-26096.cdiff from db.local.clamav.net
Querying daily.26096.84.0.0.6810DB54.ping.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://db.local.clamav.net/daily.cvd
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
WARNING: Can't download daily.cvd from db.local.clamav.net
Trying again in 5 secs...
ClamAV update process started at Tue Apr 13 07:20:22 2021
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1247
Software version from DNS: 0.103.2
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99.3 Recommended version: 0.103.2
DON'T PANIC! Read http://www.clamav.net/documents/upgrading-clamav
main.cvd version from DNS: 59
main.cld is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
daily.cvd version from DNS: 26138
Retrieving http://db.local.clamav.net/daily-26096.cdiff
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
WARNING: getpatch: Can't download daily-26096.cdiff from db.local.clamav.net
Retrieving http://db.local.clamav.net/daily-26096.cdiff
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
ERROR: getpatch: Can't download daily-26096.cdiff from db.local.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://db.local.clamav.net/daily.cvd
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
ERROR: Can't download daily.cvd from db.local.clamav.net
Giving up on db.local.clamav.net...
ClamAV update process started at Tue Apr 13 07:20:27 2021
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1069
Software version from DNS: 0.103.2
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99.3 Recommended version: 0.103.2
DON'T PANIC! Read http://www.clamav.net/documents/upgrading-clamav
main.cvd version from DNS: 59
main.cld is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
daily.cvd version from DNS: 26138
Retrieving http://db.ch.clamav.net/daily-26096.cdiff
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
WARNING: getpatch: Can't download daily-26096.cdiff from db.ch.clamav.net
Retrieving http://db.ch.clamav.net/daily-26096.cdiff
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
ERROR: getpatch: Can't download daily-26096.cdiff from db.ch.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://db.ch.clamav.net/daily.cvd
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
ERROR: Can't download daily.cvd from db.ch.clamav.net
Giving up on db.ch.clamav.net...
ClamAV update process started at Tue Apr 13 07:20:32 2021
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1064
Software version from DNS: 0.103.2
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99.3 Recommended version: 0.103.2
DON'T PANIC! Read http://www.clamav.net/documents/upgrading-clamav
main.cvd version from DNS: 59
main.cld is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
daily.cvd version from DNS: 26138
Retrieving http://db.cn.clamav.net/daily-26096.cdiff
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
WARNING: getpatch: Can't download daily-26096.cdiff from db.cn.clamav.net
Retrieving http://db.cn.clamav.net/daily-26096.cdiff
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
ERROR: getpatch: Can't download daily-26096.cdiff from db.cn.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://db.cn.clamav.net/daily.cvd
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
ERROR: Can't download daily.cvd from db.cn.clamav.net
Giving up on db.cn.clamav.net...
ClamAV update process started at Tue Apr 13 07:20:36 2021
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1007
Software version from DNS: 0.103.2
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99.3 Recommended version: 0.103.2
DON'T PANIC! Read http://www.clamav.net/documents/upgrading-clamav
main.cvd version from DNS: 59
main.cld is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
daily.cvd version from DNS: 26138
Retrieving http://db.jp.clamav.net/daily-26096.cdiff
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
WARNING: getpatch: Can't download daily-26096.cdiff from db.jp.clamav.net
Retrieving http://db.jp.clamav.net/daily-26096.cdiff
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
ERROR: getpatch: Can't download daily-26096.cdiff from db.jp.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://db.jp.clamav.net/daily.cvd
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
ERROR: Can't download daily.cvd from db.jp.clamav.net
Giving up on db.jp.clamav.net...
ClamAV update process started at Tue Apr 13 07:20:42 2021
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1584
Software version from DNS: 0.103.2
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99.3 Recommended version: 0.103.2
DON'T PANIC! Read http://www.clamav.net/documents/upgrading-clamav
main.cvd version from DNS: 59
main.cld is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
daily.cvd version from DNS: 26138
Retrieving http://db.us.clamav.net/daily-26096.cdiff
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
WARNING: getpatch: Can't download daily-26096.cdiff from db.us.clamav.net
Retrieving http://db.us.clamav.net/daily-26096.cdiff
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
ERROR: getpatch: Can't download daily-26096.cdiff from db.us.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://db.us.clamav.net/daily.cvd
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
ERROR: Can't download daily.cvd from db.us.clamav.net
Giving up on db.us.clamav.net...
ClamAV update process started at Tue Apr 13 07:20:49 2021
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1771
Software version from DNS: 0.103.2
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.99.3 Recommended version: 0.103.2
DON'T PANIC! Read http://www.clamav.net/documents/upgrading-clamav
main.cvd version from DNS: 59
main.cld is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
daily.cvd version from DNS: 26138
Retrieving http://database.clamav.net/daily-26096.cdiff
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
WARNING: getpatch: Can't download daily-26096.cdiff from database.clamav.net
Retrieving http://database.clamav.net/daily-26096.cdiff
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
ERROR: getpatch: Can't download daily-26096.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://database.clamav.net/daily.cvd
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
ERROR: Can't download daily.cvd from database.clamav.net
Giving up on database.clamav.net...
Update failed. Your network may be down or none of the mirrors listed in /etc/config/freshclam.conf is working. Check http://www.clamav.net/doc/mirrors-faq.html for possible reasons.
Bon ça ne marche pas plus

Après quelques recherches sur le forum Qnap officiel et sur clamAV :
vérification du host :
Code:
[/share/CACHEDEV1_DATA/.antivirus/usr/share/clamav] # more /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
[/share/CACHEDEV1_DATA/.antivirus/usr/share/clamav] # host -t txt current.cvd.clamav.net
current.cvd.clamav.net descriptive text "0.103.2:59:26138:1618284540:1:63:49191:333"
[/share/CACHEDEV1_DATA/.antivirus/usr/share/clamav] # host database.clamav.net
database.clamav.net is an alias for database.clamav.net.cdn.cloudflare.net.
database.clamav.net.cdn.cloudflare.net has address 104.16.218.84
database.clamav.net.cdn.cloudflare.net has address 104.16.219.84
database.clamav.net.cdn.cloudflare.net has IPv6 address 2606:4700::6810:db54
database.clamav.net.cdn.cloudflare.net has IPv6 address 2606:4700::6810:da54
OK, ça c'est bon.
Donc c'est bien l'antivirus.
J'ai lu aussi que le fait qu'il ne soit pas dans la dernière version n'était par forcément un problème et le fait que QNAP ne l'upgrade pas montre aussi que ce doit êtr compatible.
Ah oui je suis aussi dans la dernière version du firmware 4.3.4.1632 du 24/03/2021
j'ai récupéré également les dernières version des dfinitions directement en ligne et je les ais importées, mais il ne se met pas plus à jour.
rw-r--r-- 1 admin administrators 1.4M 2021-02-18 00:32 bytecode.cld
-rw-r--r-- 1 admin administrators 304M 2021-04-13 07:18 daily.cld
-rw-r--r-- 1 admin administrators 101M 2021-04-13 08:38 daily.cvd
-rw-r--r-- 1 admin administrators 294M 2019-11-26 00:22 main.cld
-rw-r--r-- 1 admin administrators 113M 2021-04-13 09:30 main.cvd
-rw------- 1 admin administrators 2.6K 2021-04-13 08:38 mirrors.dat
a noter que ce sont des .cvd et non des .cld :idea:
Pour le moment j'en suis là . Et je ne trouve pas de solution.