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
peterongley
Aug 17, 2020Guide
Thanks to everyone contributing to this thread. It has been most interesting to see the suggested solutions to this problem.
To review, my issues started immediately after I updated to the latest firmware 6.10.3. I am convinced this update is a factor in all this. Immediately after intallation things started going crazy. My Time Machine (Mac) backups stopped working and would not recognise my passwords. For a while the RAIDar app was also struggling to find the NAS and again, for a while, I could not get access to the admin section/page on the browser. Multiple restarts/reboots eventually resolved a few of the issues. Then, for a while, I could only get my data LUN's to display on my desktop one at a time. Sometimes the NAS would completely disappear from my network. GRRR!
Then came the error messages. Firstly, the dreaded AntiVirus definitions failure to download. Then a few days later a new error message advising that my System root memory was almost maxed out. (Diagnostic test showed 92.2% full.)
I started following this thread hoping to be able to get a solution, but for me, realistically there was nothing helpful, because I have absolutely no knowledge, skill of confidence in using command level instructions or SSH etc. Although many of the responses were very clear and concise with the exact commands required, most of it was like an unfamiliar foreign language. Terms like Freshclam and crontab are a complete mystery. Did I mention that I have zero knowledge and skills of command level stuff and how to even get there? I bit the bullet and paid for a support case.
The tech's did much of what has been suggested. I downloaded my log files and opened the Secure Diagnostic Mode back door. This allowed them to see some errors. I was subsequently asked to turn Time Machine off because somehow the files that it generates had been written to the wrong place/folder?
The two main error problems, as I had assumed, appear to have been related to each other and the bizarre behaviour of Time Machine was a part of this also. One day later everything had been resolved. The AntiVirus definitions have neen downloading successfully for a couple of weeks now. The diagnostic test indicates zero problems with the System Root file/memory. Time Machine has also been reactivated as is again working perfectly.
So, Thanks to StephenB who suggested this course of action. It has worked out well. I will also add that I mentioned to the tech support team several times that this issue is affecting quite a few people and I am pretty sure they have been working on this including the material Marc_V has been sending through.
Related Content
NETGEAR Academy

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