× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: readynas 314 stopped updating antivirus

aniraghome
Tutor

readynas 314 stopped updating antivirus

Hello all

 

i noticed anti virus definitions were not updated on my ready nas 314 since 6/14/2021. i searched some posts and could not get to a solution that works for me.

 

firmware 6.10.5 hotfix1

device time dand date are synced correctly

SSH key not enabled

have internet connection to device also updated the DNS servers to 8.8.8.8 from my original local IP.

IPV6 disabled

 

appreciate your insights

 

Thanks

 

 

 

Model: RN31443E|ReadyNAS 300 Series 4- Bay (4x 3TB Enterprise)
Message 1 of 10

Accepted Solutions
HansRL
Apprentice

Re: readynas 314 stopped updating antivirus

@ aniraghome ,

 

I will try to write down what to do 🙂

 

1) enable SSH on your NAS (can be done via the gui: system-tab and option setting)

2) on your PC install WINSCP

3) FILE-PROTOCOL: SCP   ;   HOST NAME: IP-address of your NAS    ;   PORT NUMBER: 22    ;   USER NAME: ROOT   ;
      (your ROOT-password is the same as your ADMIN-password)    ;  click LOGIN

4) similar to EXPLORER go to directory:   /var/lib/clamav/

5) right-click the members (antivir;bytecode;daily;main;mirrors) and choose DOWNLOAD AND DELETE
put/save them somewhere on your PC

6) change or go to directory: /etc/clamav/

7) right-click on member freshclam.conf and choose EDIT

😎 click after "ReceiveTimeout 120" and hit ENTER
    copy/past "TestDatabases false"
member should look like below:

DatabaseOwner root
LogSyslog true
LogFacility LOG_LOCAL6
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav
DNSDatabaseInfo current.cvd.clamav.net
ConnectTimeout 120
ReceiveTimeout 120
TestDatabases false
ScriptedUpdates true
CompressLocalDatabase false
Bytecode true
NotifyClamd /etc/clamav/clamd.conf
OnErrorExecute /usr/bin/clamav_event -s 1
OnUpdateExecute /usr/bin/clamav_event -s 0
Checks 2
DatabaseMirror database.clamav.net
DatabaseMirror db.cn.clamav.net
DatabaseMirror db.tw.clamav.net

9) close window in which your are editing freshclam.conf (save it of course)
10) restart your NAS

 

Hopes this will solve your issue

 

View solution in original post

Message 5 of 10

All Replies
HansRL
Apprentice

Re: readynas 314 stopped updating antivirus

@ aniraghome ,

I suppose you also tried:

1)   empty directory: /var/lib/clamav/**

and

2)   adding "TestDatabases false"  to your /etc/clamav/freshclam.conf

And did you check in the logs (system.log-file & systemd-journal.log-file) whether your upgrade to '6.10.5 hotfix' went OK?

Message 2 of 10
aniraghome
Tutor

Re: readynas 314 stopped updating antivirus

i have not done 1 & 2 you mentioned. i am not familiar on how to perform these.

but yes 6.10.5 hotfix did go well i have been doing all routine functions as normal . atleast i did not notice any issues.
Message 3 of 10
StephenB
Guru

Re: readynas 314 stopped updating antivirus


@aniraghome wrote:
i have not done 1 & 2 you mentioned. i am not familiar on how to perform these.


They both require use of ssh, and some knowledge of linux.

 

You could alternatively contact paid netgear support via my.netgear.com.

 

One question is whether you actually need AV on the NAS.  If the PCs that upload files have their own AV software, then you might not need it.  If that's the case, you could just disable it.

Message 4 of 10
HansRL
Apprentice

Re: readynas 314 stopped updating antivirus

@ aniraghome ,

 

I will try to write down what to do 🙂

 

1) enable SSH on your NAS (can be done via the gui: system-tab and option setting)

2) on your PC install WINSCP

3) FILE-PROTOCOL: SCP   ;   HOST NAME: IP-address of your NAS    ;   PORT NUMBER: 22    ;   USER NAME: ROOT   ;
      (your ROOT-password is the same as your ADMIN-password)    ;  click LOGIN

4) similar to EXPLORER go to directory:   /var/lib/clamav/

5) right-click the members (antivir;bytecode;daily;main;mirrors) and choose DOWNLOAD AND DELETE
put/save them somewhere on your PC

6) change or go to directory: /etc/clamav/

7) right-click on member freshclam.conf and choose EDIT

😎 click after "ReceiveTimeout 120" and hit ENTER
    copy/past "TestDatabases false"
member should look like below:

DatabaseOwner root
LogSyslog true
LogFacility LOG_LOCAL6
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav
DNSDatabaseInfo current.cvd.clamav.net
ConnectTimeout 120
ReceiveTimeout 120
TestDatabases false
ScriptedUpdates true
CompressLocalDatabase false
Bytecode true
NotifyClamd /etc/clamav/clamd.conf
OnErrorExecute /usr/bin/clamav_event -s 1
OnUpdateExecute /usr/bin/clamav_event -s 0
Checks 2
DatabaseMirror database.clamav.net
DatabaseMirror db.cn.clamav.net
DatabaseMirror db.tw.clamav.net

9) close window in which your are editing freshclam.conf (save it of course)
10) restart your NAS

 

Hopes this will solve your issue

 

Message 5 of 10
aniraghome
Tutor

Re: readynas 314 stopped updating antivirus

StephenB

good point i do not have knowledge in linux and dont want to experiment something which i have no idea about. I do have AV on my desktops and laptops i though this NAS AV tool did real time scanning and protecting the OS. can i fix the AV not updating without these?
Message 6 of 10
StephenB
Guru

Re: readynas 314 stopped updating antivirus


@aniraghome wrote:
StephenB

good point i do not have knowledge in linux and dont want to experiment something which i have no idea about. I do have AV on my desktops and laptops i though this NAS AV tool did real time scanning and protecting the OS. can i fix the AV not updating without these?

The OS isn't that exposed (though I guess there is a small risk if you use Readycloud or forward ports).  The PC AV should be doing real-time scanning, and if the files all reach the NAS from the PCs, then IMO you'd be ok w/o it.  FWIW, I don't have it running on my own NAS.

 

Though of course the service should work.  The process outlined by @HansRL looks correct to me, though I think you could initially skip the editing of the .conf file.  Just deleting the old database and rebooting likely is enough.

 

Message 7 of 10
aniraghome
Tutor

Re: readynas 314 stopped updating antivirus

HansRL

i was about to follow these steps and while i logged in i suddenly got a pop up that the AV scanner definition was updated and has a ver #. went back to the overview screen now the AV status is green with todays date.
i will watch out to see tomorrow whether AV definitions update automatically.

i really appreciate you providing this detailed information Thank you. i am going to copy this and keep this handy.

Message 8 of 10
aniraghome
Tutor

Re: readynas 314 stopped updating antivirus

StephenB

Was there some recent change from Netgear which triggered this just saw the definition update and AV status turned green with todays date. strange. never seen this since 2014.

thank you again really appreciate your help.

Message 9 of 10
StephenB
Guru

Re: readynas 314 stopped updating antivirus


@aniraghome wrote:

Was there some recent change from Netgear which triggered this just saw the definition update and AV status turned green with todays date. 


Not that I know of.

Message 10 of 10
Top Contributors
Discussion stats
  • 9 replies
  • 2852 views
  • 3 kudos
  • 3 in conversation
Announcements