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
TerryJColes
Mar 06, 2021Luminary
TerryJColes wrote:If I get the dreaded definition file update failed message, I'll report back.
I didn't. Fingers crossed that this is the last time I will need to post here.
HansRL
Mar 07, 2021Apprentice
Hi all,
First of all it looks promising this hotfix, already 2 updates went well and without any issue.
On March 5th, I did saw in the system main-view it mentioned "Firmware : 6.10.4 hotfix 1 " , but checking the logs I had my doubts...
no entry in the log regarding the update to hotfix 1 and found also next message:
rn-update.sh[14483]: E: Sub-process /usr/bin/dpkg returned an error code (1)
first tried a reboot but still finding entries in logs which gives me indications the hotfix was NOT installed correctly
so I did a reinstall of the firmware with version 6.10.4 and immediately after finishing this reinstall I got an entry in the log stating
"A hotfix was applied to your system (6.10.4 Hotfix 1)."
And of course checking again the logs:
readynasd[2373]: A hotfix was applied to your system (6.10.4 Hotfix 1).
rgds
- tewatson60Mar 10, 2021Tutor
AV updates failing again - two days straight now. Firmware v6.10.4 Hotfix 1 was applied last month and seemed to work for a while. This is becoming tedious.
Tom
- scrjsMar 10, 2021Apprentice
tewatson60 wrote:AV updates failing again - two days straight now. Firmware v6.10.4 Hotfix 1 was applied last month and seemed to work for a while. This is becoming tedious.
Tom
tewatson60
I rebooted my ReadyNAS with Hotfix 1 applied and did see one instance where AV Updates where not being applied.I logged into my ReadyNAS via a command prompt with command SSH root@root@xxxxxReadyNAS (use your admin password when promted) and found after checking the freshclam service using the command below in bold and that it had failed with an error similar to
root@xxxxxReadyNAS:~# 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 Day 2021-mm-yy hh:mm:ss AEDT; xxh ago Process: 4507 ExecStart=/usr/bin/freshclam --quiet (code=exited, status=1/FAILURE) Main PID: 4507 (code=exited, status=1/FAILURE)
I then issued the command
root@xxxxxReadyNAS:~# systemctl start clamav-freshclam.service
and the freshclam service started successfully and has been running without issue. If you check the status again you will see something like
root@xxxxxReadyNAS:~# 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: inactive (dead) since Wed 2021-03-10 08:33:47 AEDT; 20h ago Process: 6711 ExecStart=/usr/bin/freshclam --quiet (code=exited, status=0/SUCCESS) Main PID: 6711 (code=exited, status=0/SUCCESS) Mar 10 08:33:11 xxxxxReadyNAS systemd[1]: Starting ClamAV virus database updater... Mar 10 08:33:12 xxxxxReadyNAS freshclam[6711]: ClamAV update process started at Wed Mar 10 08:33:12 2021 Mar 10 08:33:12 xxxxxReadyNAS freshclam[6711]: main.cld is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr) Mar 10 08:33:19 xxxxxReadyNAS freshclam[6711]: Downloading daily-26103.cdiff [100%] Mar 10 08:33:25 xxxxxReadyNAS freshclam[6711]: daily.cld updated (version: 26103, sigs: 3958648, f-level: 63, builder: raynman) Mar 10 08:33:31 xxxxxReadyNAS freshclam[6711]: Can't query daily.26103.93.1.0.6810DA54.ping.clamav.net Mar 10 08:33:32 xxxxxReadyNAS freshclam[6711]: bytecode.cld is up to date (version: 333, sigs: 92, f-level: 63, builder: awillia2) Mar 10 08:33:46 xxxxxReadyNAS freshclam[6711]: Database updated (8523642 signatures) from database.clamav.net (IP: 104.16.218.84) Mar 10 08:33:46 xxxxxReadyNAS freshclam[6711]: Clamd successfully notified about the update. Mar 10 08:33:47 xxxxxReadyNAS systemd[1]: Started ClamAV virus database updater.
My guess it may be failing for reasons unknown after a reboot and then without rebooting your NAS you start the Freshclam service it will continue to run.
My ReadyNAS has been running since the last reboot on Mar 5 without missing an AV Update - tewatson60Mar 10, 2021Tutor
Thx for the insight. My concern is whether simply rebooting the device requires some sort of manual clam freshening intervention every time, which is kind of unacceptable.
Tom
- scrjsMar 10, 2021Apprentice
tewatson60 wrote:Thx for the insight. My concern is whether simply rebooting the device requires some sort of manual clam freshening intervention every time, which is kind of unacceptable.
Tom
Yes I suspect so
B_L & dingjs1421 - Your thoughts would be appreciated?
- tewatson60Mar 10, 2021Tutor
Netgear advised me (through PM) they identified the problem and will fix it in the next firmware release.
Tom
- B_LMar 10, 2021NETGEAR Expert
Hi scrjs ,
I found the root cause of the issue that tewatson60 reported. The hotfix 1 stopped working if you configure any system services (for example, enable/disable NFS), or update share settings. I am working with engineering team to have it fixed asap.
You can enable the SDM and send the port number to me via a private message. I can apply a temporary fix for you.
- scrjsMar 10, 2021Apprentice
B_L wrote:Hi scrjs ,
I found the root cause of the issue that tewatson60 reported. The hotfix 1 stopped working if you configure any system services (for example, enable/disable NFS), or update share settings. I am working with engineering team to have it fixed asap.
You can enable the SDM and send the port number to me via a private message. I can apply a temporary fix for you.
Thanks B_L
Thats good news! Shame Hotfix 1 wasn't the end of this story.
Thank you for your kind offer of a temp fix,
I don't reboot my ReadyNAS often nor make changes like enable/disable NFS, or update share settings so I am happy to simply re-start freshclam via
root@xxxxxReadyNAS:~# systemctl start clamav-freshclam.service
manually in the interim till the hotfix 2 is available (I am guessing that is what your temp fix is doing).
Please keep us in the loop when you have an ETA...
- StephenBMar 11, 2021Guru - Experienced User
tewatson60 wrote:
My concern is whether simply rebooting the device requires some sort of manual clam freshening intervention every time, which is kind of unacceptable.
rebooting will start the service the same way scrjs did, so I think not. So one workaround is to just reboot the NAS when you see this (or maybe just reboot the NAS daily or weekly by putting it on a power schedule).
It is possible to change the service config to automatically restart on failure. There's an example here: https://ma.ttias.be/auto-restart-crashed-service-systemd/ That change might not survive firmware updates or OS reinstalls, so you would need to check it occasionally and (if needed) reapply it.
- HansRLApr 03, 2021Apprentice
any news regarding the new fix? Although it is still running fine, I am very interested when this bug is fixed
rgds Hans
- jimk1963Apr 05, 2021Luminary
RN528X and RN212 with hotfix1 will not update AV file past Jan 25 2021 even with full reboot, while RN314 happily updates to latest AV version. Not interested in SSH solutions, this should just work, at least after a reboot.
- Jetlag1Apr 15, 2021Guide
I sent you a PM, no reply yet.
After several reboots and switching AV on and off still not able to get AV Defs
running 6.10.4 Hotfix 1
ReadyNAS 526X
- tewatson60Apr 15, 2021Tutor
AV updates broken again, for over a week now. Really don't understand why this is still unresolved after so long. Is ANYONE at Netgear working on it?
Tom
Running 6.10.4 Hotfix 1
- B_LApr 17, 2021NETGEAR Expert
We released 6.10.5 Beta 1 today. This issue was fixed in Beta 1 release.
- HansRLApr 17, 2021Apprenticelooking in the LOG-file I see CLAMAV is outdated, still version 0.100.2 in stead of 0.103.2. Any reason behind this, why is CLAMAV not updated to a newer or even the newest version?
Apr 17 14:51:19 Geldrop freshclam[3250]: Your ClamAV installation is OUTDATED!
Apr 17 14:51:19 Geldrop freshclam[3250]: Local version: 0.100.2 Recommended version: 0.103.2
Apr 17 14:51:19 Geldrop freshclam[3250]: DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamavrgds
- Jetlag1Apr 17, 2021Guide
So, who's defs are the most out-of-date? I think I might be a contender.
- Jetlag1Apr 17, 2021Guide
I'n not a big fan of beta FW, had one destroy a router last year.
Will wait for the release.
- jimk1963Apr 18, 2021Luminary
Read the 6.10.5 Beta release notes, didn't see anything specific about correcting this antivirus bug. Just one comment about security fixes which was vague.
As of today, on 3 different ReadyNAS boxes, all with 6.10.4 Hotfix 1, the AV sits at:
RN212: Sept 24, 2020
RN314: April 17, 2021 (appears to be working fine)
RN528X: Jan 25, 2021
With all 3 running the same OS version, one box works, the other two don't. One interesting possibility - for unknown reasons, the RN314 OS became corrupt a few weeks back. A USB recovery stick was created to reinstall the OS, which brought back the entire volume without loss. I wonder... did that "clean OS install" perhaps clean up some lingering AV bug? Maybe there's an issue propagating along OS updates that doesn't get fixed unless a clean wipe of the OS is implemented. Just a thought.
- StephenBApr 18, 2021Guru - Experienced User
jimk1963 wrote:
Read the 6.10.5 Beta release notes, didn't see anything specific about correcting this antivirus bug.
Maybe not on the RN528x, but but the announcement post does claim to have a fix for the RN212 https://community.netgear.com/t5/ReadyNAS-Beta/ReadyNASOS-6-10-5-Beta/m-p/2085347
Bug Fixes
This firmware addresses the following bugs:
• ClamAV fails to update database on ARM platform....
- jimk1963Apr 18, 2021Luminary
Good catch. Still, since 2 of 3 boxes are Intel based, may be better to wait for formal release. Currently one Intel unit is fine (RN314, with fresh OS reinstall), and one has the AV issue (RN528X). Any opinion whether fresh OS install may be of interest re: this bug?
- swehjoMay 04, 2021Guide
Have had this issue from time to time but since March it's persistent... Rebooting every night. Tried to upload a screen shot but it didn't work, so:
- Model ReadyNAS 424
- Antivirus: Mar 10, 2021 13:08:51
- Firmware: 6.10.4 Hotfix 1
Error message is "System: Antivirus scanner definition file update failed due to download failure. Check your Internet connection."
- Jetlag1May 05, 2021Guide
I just downloaded and installed FW 6.10.5 and rebooted.
15 minutes later I get this email: "Antivirus scanner definition file update failed due to download failure. Check your Internet connection."
JFC! Seriously? It was suposed to fix this issue.
- jimk1963May 09, 2021Luminary
Jetlag1 wrote:I just downloaded and installed FW 6.10.5 and rebooted.
15 minutes later I get this email: "Antivirus scanner definition file update failed due to download failure. Check your Internet connection."
JFC! Seriously? It was suposed to fix this issue.
Same here, updated RN212 to 6.10.5 Beta and AV is stuck on September 24, 2020... it's been about 12 hours now, no change.
- Marc_VMay 11, 2021NETGEAR Employee Retired
Hi All,
Would like to get your logs be sent via PM pls. so we can check.
This should have been resolved by the latest FW. Anyone contacted support?
- leftcoastmarkMay 21, 2021Aspirant
No change for me either, running release version of 6.10.5. ReadyNas 2304.
The release notes say it fixes the Antivirus Update bug on ARM machines, but I believe the 2304 is an x86 machine, no?I've tried rebooting (including a cold boot), and disabling Antivirus then re-enabling. It's been a few days now and I get a failure in the logs each day. - the usual "check your internet" message that everyone here seems to get.
Related Content
NETGEAR Academy

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