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
StephenB
Jul 25, 2020Guru - Experienced User
dweinshel wrote:
What is FRESHCLAM?
The AV package that is installed is called ClamAV ( https://www.clamav.net/ )
freshclam is a command used by that package: https://linux.die.net/man/1/freshclam
dweinshel wrote:
Is this site monitored by Netgear?
Yes, the two mods are JohnCM_S and Marc_V Hopefully they will chime in, and tell us if this is a known issue Netgear is working on.
bsailer
Jul 26, 2020Tutor
Any news on this topic?
I'm having the same issue here: ReadyNAS 212 with newest firmware 6.10.3, since 2020-07-22 getting mails about virus definition update fails (probably due to bad network connectivity, which is also outruled by the successful mail), getting the "ERROR: Malformed database", able to run freshclam successfully.
Best regards,
Benjamin
- Marc_VJul 27, 2020NETGEAR Employee Retired
Welcome to the Community!
Thank you for providing information, we will be checking on this. It would be best if you can send us your full logs through PM and we will coordinate with the team to check on this.
Apologies for the delay in reply.
Thanks StephenB
Sincerely,
- eph3Aug 06, 2020Aspirant
This seems similar to my experience back in June when I started getting
System: Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
Somehow the database files were messed up and it could never manage to reinstall them right. I figured out how to delete them and manually reinstall them. Once I did that, the problem went away and nver came back. The details are in this thread:
- StephenBAug 07, 2020Guru - Experienced User
eph3 wrote:
This seems similar to my experience back in June when I started getting
These folks aren't seeing errors when they run freshclam from ssh (at least not the ones who are comfortable with ssh). So I think it is different.
I've been running clamav for several days now, and haven't run into the problem.
- Elk2709Sep 04, 2020Aspirant
Has there been any resolution to this issue? It appears a number of users have identifed with this problem.
I'm also been having the same issue, daily emails about the "Antivirus scanner definition file update failing due to download failure. Check your Internet Connection." The Netgear ReadyNAS 212 has been online operating perfectly since 12/31/2018. All firmware upgrades are applied as they become available, including the latest firmware 6.10.3..
This is not an internet connection problem. I'm running a Netgear network, using only Netgear Routers, switches and this NAS box. There are a number of application and user functions running on this network, interacting with various targets on the internet. None of those operations are reporting connection issues. I have even had my provider check us out. They reported back everything in normal, not even any packet loss.
Netgear, please check into this.
Run tests on your software and/or on the target site that the AV update strings are being retrieved from.
You are leaving us all exposed!
- kcejoSep 07, 2020Tutor
My antivirus definition files are continuing to update, but I am still getting the "Download firmware version () failed" error in the logs without getting any emails about the error. My firmware version is 6.10.3 and when I check for updates, it tells me that I have the most current firmware, but the error in the logs is still concerning. I wish I knew what Netgear did to resolve my antivirus definition files error to get them to update properly so that I could share it here. Sorry I'm not able to help with that. But I would like to stop getting the firmware version errors, especially when it appears there is no firmware update required.
Marc, are there any further updates to these and the other issues reported here? Is there anything you can share that was done to my machine to get the antivirus definition files to update properly again?
Ericka
- dclagnanOct 25, 2020Aspirant
Hi Netgear
I have had a similar problem with my NAS. The below message is being emailed to me every day.
"Antivirus scanner definition file update failed due to download failure. Check your Internet connection." I have attached my logs. Please advise the status of this issue
Regards
Danilo
- StephenBOct 25, 2020Guru - Experienced User
It would be good to confirm that your NAS can reach the internet - one way to do that is to download the full log zip file. Look in connman.log - if you see NTP time adjustments, then the NAS is reaching the internet.
Several people are seeing this (even if their NAS is connected to the internet), though I am not seeing it on my own NAS.
- dclagnanOct 25, 2020Aspirant
Hi
Thanks, yes I opened the log and can see it does connect. This error appeared to occur after an updateSample below
Oct 22 20:35:10 NAS connmand[1990]: ntp: adjust (slew): +0.000263 sec
Oct 22 20:52:14 NAS connmand[1990]: ntp: adjust (slew): -0.000421 sec
Oct 22 21:09:18 NAS connmand[1990]: ntp: adjust (slew): +0.000597 sec
Oct 22 21:26:22 NAS connmand[1990]: ntp: adjust (slew): +0.000485 sec
Oct 22 21:43:26 NAS connmand[1990]: ntp: adjust (slew): -0.001007 sec - StephenBOct 25, 2020Guru - Experienced User
Ok. That means you are experiencing the same issue that some others are having. It is possible to manually update the virus definitions with ssh (if you are comfortable using ssh). Otherwise there isn't anything you can do other than wait for Netgear (or ClamAV) to fix it.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!