NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
HansRL
Jul 10, 2020Apprentice
Antivirus scanner definition file update failed
ReadyNAS 212 OSversion 6.10.3 Since a couple of days (starting July 5th) my virus definition file update failes.. stating check internet-connection ; my internet connection is fine because the rea...
- Dec 23, 2020
I kept getting errors while executing command: 'systemctl status clamav-freshclam.service' ; see below
root@Geldrop:~# systemctl status clamav-freshclam.service
● clamav-freshclam.service - ClamAV virus database updater
Loaded: loaded (/lib/systemd/system/clamav-freshclam.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-12-23 14:33:45 CET; 15s ago
Process: 6263 ExecStart=/usr/bin/freshclam --quiet (code=exited, status=1/FAILURE)
Main PID: 6263 (code=exited, status=1/FAILURE)Dec 23 14:33:45 Geldrop systemd[1]: Starting ClamAV virus database updater...
Dec 23 14:33:45 Geldrop freshclam[6263]: ClamAV update process started at Wed Dec 23 14:33:45 2020
Dec 23 14:33:45 Geldrop freshclam[6263]: main.cvd is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
Dec 23 14:33:45 Geldrop freshclam[6263]: daily.cld is up to date (version: 26026, sigs: 4328586, f-level: 63, builder: raynman)
Dec 23 14:33:45 Geldrop freshclam[6263]: bytecode.cvd is up to date (version: 331, sigs: 94, f-level: 63, builder: anvilleg)
Dec 23 14:33:45 Geldrop systemd[1]: clamav-freshclam.service: Main process exited, code=exited, status=1/FAILURE
Dec 23 14:33:45 Geldrop systemd[1]: Failed to start ClamAV virus database updater.
Dec 23 14:33:45 Geldrop systemd[1]: clamav-freshclam.service: Unit entered failed state.
Dec 23 14:33:45 Geldrop systemd[1]: clamav-freshclam.service: Failed with result 'exit-code'.The following I did after reading the following web-page (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972974):
stopping clamav: 'systemctl stop clamav-daemon'stopping clamav freshclam: 'systemctl stop clamav-freshclam'
adjusting member 'usr.bin.freshclam' in dir: /etc/apparmor.d ; adding 'capability dac_override,' and 'capability chown,'
capability setgid,
capability setuid,
capability dac_override,
capability chown,removing all file from dir: '/var/lib/clamav' (bytecode ; daily ; main ; mirrors ; antivir)
starting clamav : 'systemctl start clamav-daemon'
starting clamav freshclam: 'systemctl start clamav-freshclam'
starting 'clamav freshclam' takes a while (about 2 minutes, I guess) and afterwards it looks like the normal databased-updater is working again.... lets see what happens the coming days...
regards
MaxKublin
Sep 14, 2021Aspirant
root@MAKUNASWEB:~# freshclam ClamAV update process started at Tue Sep 14 12:58:58 2021 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.100.2 Recommended version: 0.103.3 DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav main.cvd is up to date (version: 61, sigs: 6607162, f-level: 90, builder: sigmgr) Downloading daily-26293.cdiff [100%] Downloading daily-26294.cdiff [100%] daily.cld updated (version: 26294, sigs: 1972718, f-level: 90, builder: raynman) bytecode.cld is up to date (version: 333, sigs: 92, f-level: 63, builder: awillia2) Database updated (8579972 signatures) from database.clamav.net (IP: 104.16.218.84) Clamd successfully notified about the update. root@MAKUNASWEB:~# |
I have several 626X/628X
On bad "good" machine, I get:
root@MAKUNASWEB2:~# freshclam ClamAV update process started at Tue Sep 14 12:59:19 2021 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.100.2 Recommended version: 0.103.3 DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav main.cvd is up to date (version: 61, sigs: 6607162, f-level: 90, builder: sigmgr) nonblock_connect: connect(): fd=4 errno=101: Network is unreachable Can't connect to port 80 of host database.clamav.net (IP: 2606:4700::6810:db54) Trying host database.clamav.net (2606:4700::6810:da54)... nonblock_connect: connect(): fd=4 errno=101: Network is unreachable Can't connect to port 80 of host database.clamav.net (IP: 2606:4700::6810:da54) WARNING: getpatch: Can't download daily-26276.cdiff from database.clamav.net WARNING: getpatch: Can't download daily-26276.cdiff from database.clamav.net WARNING: getpatch: Can't download daily-26276.cdiff from database.clamav.net WARNING: getpatch: Can't download daily-26276.cdiff from database.clamav.net WARNING: getpatch: Can't download daily-26276.cdiff from database.clamav.net WARNING: Incremental update failed, trying to download daily.cvd nonblock_connect: connect(): fd=4 errno=101: Network is unreachable Can't connect to port 80 of host database.clamav.net (IP: 2606:4700::6810:db54) Trying host database.clamav.net (2606:4700::6810:da54)... nonblock_connect: connect(): fd=4 errno=101: Network is unreachable Can't connect to port 80 of host database.clamav.net (IP: 2606:4700::6810:da54) WARNING: Can't download daily.cvd from database.clamav.net Trying again in 5 secs... |
StephenB
Sep 14, 2021Guru - Experienced User
MaxKublin wrote:
Database updated (8579972 signatures) from database.clamav.net (IP: 104.16.218.84)
Can't connect to port 80 of host database.clamav.net (IP: 2606:4700::6810:da54)
One obvious difference is that the NAS that is failing is trying to connect with ipv6, and the one that succeeds is using ipv4.
Which suggests that you might try disabling ipv6 on the NAS that fails.
- MaxKublinSep 14, 2021Aspirant
Good point with IP V4 vs IP V6.
However, nothing has changed here - all machines succeeded to update the antivirus for a long time.
However, I will give it a try and change to IP V4.
Any hints what needs to be configured on the NAS?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!