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
Marc_V
Aug 16, 2020NETGEAR Employee Retired
Has anyone able to contact Support and has a case number? If possible kindly PM it to us so we can do a follow up. Also, if anyone has the issue but has not run any commands thru SSH yet, kindly set your NAS to SDM and PM us the port code as well.
Apologies for the late response but we will make sure that we will be able to helo you out on this.
Regards
bsailer
Aug 19, 2020Tutor
Hello Marc,
pointing into the same directions as several posts in the thread above, I´ve a question concerning how to proceed.
My status is:
- I once did run freshclam from the command line via ssh (which did not change the overall situation - automatic daily updates still fail)
- I opened the diagnostic mode on 2020-07-27 (or so)
- I did _not_ open a per-issue-ticket (on the one hand I did not find where to do this, on the other I feel the issue should be solved publicy for everyone who encountered it; looks a bit like a general problem for me)
So the question is:
- Is there a chance that the support will have a look into the issue (probably even using the diagnostic mode on my device, given that I have no support ticket and logged into the device via ssh)
If not, I guess I follow the workaround proposed by Hans (entering the freshclam antivirus definition update job via crontab) and close the diagnostic mode again; I´m a bit concerned that I did not update the virus definitions for more than three weeks and cannot judge if there´s some progress on the support side.
All the best
Benjamin
- SandsharkAug 19, 2020Sensei
Reply in this thread ReadyNAS-214-stopped-updating-antivirus indicates Netgear is still looking into it.
- kcejoAug 19, 2020Tutor
Further update:
My antivirus software is continuing to update successfully. Additional updates were successful on the 16th and 17th. I'm now on version 59.25904.
However, I see the "Download firmware version () failed" error in the Logs on the 17th and 18th. So that error is still occurring and I am not receiving any emails to tell me that the error has occurred. My firmware version is 6.10.3. I asked it to check for updates and it tells me that I am running the current version.
I know this doesn't help others who are still receiving the antivirus error, but I thought I'd let everyone know what's happening with my NAS and to look out for the firmware error. It doesn't appear to be a problem, but you never know what else it might affect.
Ericka
- shuvamAug 19, 2020Aspirant
Should we send PM to you with our logs, or upload them here in this discussion thread?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!