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
scrjs
Nov 02, 2021Apprentice
Hi StephenB
Just noted your post re https://community.netgear.com/t5/ReadyNAS-Beta/ReadyNASOS-6-10-6-Beta/m-p/2151119#M10972
I agree this looks like it might resolve this issue though I am reluctant install BETA firmware.
-------------------------
Re https://community.netgear.com/t5/ReadyNAS-Beta/ReadyNASOS-6-10-6-Beta/m-p/2151119#M10972 -
- When will 6.10.6 be generally available?
- What is your recomendation given that this issue is impacting all 6.10.5 firmeware systems with no options to resolve other then to use 6.10.6 firmware?
Cheers
Rob
HansRL
Nov 02, 2021Apprentice
Hi all,
It looks like CLAMAV no longer supports updates via HTTP via port 80 or at least it is blocked now resulting in the failing virus-definition-update.
Via the beta-version 6.10.6-RC1 it is working (update is done via HTTPS and probably port 443)
I am running this version already for some days, my NAS is working fine, but after a while I see (or saw) a lot of error-messages in the Systemd-Journal.LOG file (although still my NAS is functioning fine):
Nov 01 10:16:40 Geldrop clamonacc[5223]: ERROR: ClamFanotif: internal error (readlink() failed), 7, Bad file descriptor
Nov 01 10:16:40 Geldrop clamonacc[5223]: ClamWorker: fd already closed ... recovering ...
Nov 01 10:16:40 Geldrop clamonacc[5223]: ERROR: ClamFanotif: internal error (readlink() failed), 7, Bad file descriptor
Nov 01 10:16:40 Geldrop clamonacc[5223]: ClamWorker: fd already closed ... recovering ...
Of course looking at the error-messages I am not fully convienced CLAMAV is working as it should... :-(
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!