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

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

jereaa
Aspirant

Antivirus is not updating (ReadyNAS OS 6.9.4)

I've just installed my new ReadyNAS 214.

First thing I did was to update the OS to version 6.9.4, so I can tell I am connected to the internet.

 

The antivirus, being enabled or disabled, is always trying to update the virus database with no success and fills me with error messages.

 

Antivirus scanner definition file update failed due to download failure. Check your Internet connection.

 

The log reads as follows:

[18/10/09 04:59:51 PDT] notice:volume:LOGMSG_RESILVERSTARTED_VOLUME Resyncing started for Volume data.
[18/10/09 04:59:51 PDT] info:system:LOGMSG_START_READYNASD ReadyNASOS background service started.
[18/10/09 04:59:53 PDT] notice:system:LOGMSG_FIRMWARE_UPDATE_NOTICE LOGMSG_FIRMWARE_UPDATE_NOTICE
[18/10/09 04:59:51 PDT] notice:system:LOGMSG_FIRMWARE_UPGRADED Firmware was upgraded to 6.7.4.
[18/10/09 05:11:39 PDT] notice:system:LOGMSG_MODIFY_HOSTNAME Host name was changed to ReadyNAS.
[18/10/09 05:21:56 PDT] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 09:27:54 -03] notice:system:LOGMSG_SYSTEM_REBOOT The system is rebooting.
[18/10/09 09:31:12 -03] notice:volume:LOGMSG_RESILVERSTARTED_VOLUME Resyncing started for Volume data.
[18/10/09 09:31:13 -03] info:system:LOGMSG_START_READYNASD ReadyNASOS background service started.
[18/10/09 09:31:00 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 09:31:12 -03] notice:system:LOGMSG_FIRMWARE_UPGRADED Firmware was upgraded to 6.9.4.
[18/10/09 09:36:22 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 09:41:43 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 09:46:39 -03] info:system:LOGMSG_SET_ALERTCONTACT Alert contact information was saved.
[18/10/09 09:46:40 -03] info:system:LOGMSG_SET_ALERTCONFIG Alert settings are updated.
[18/10/09 09:47:04 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 09:47:31 -03] info:system:LOGMSG_SENT_ALERT_MESG Successfully sent alert message.
[18/10/09 09:49:22 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 10:01:03 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 10:01:50 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 10:06:24 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 10:11:45 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 10:17:07 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 10:19:30 -03] warning:volume:LOGMSG_DISKTEST_FAILED_VOLUME Disk test failed to start for volume data.
[18/10/09 10:21:00 -03] info:share:LOGMSG_ADD_SHARE Share xxx was added.
[18/10/09 10:24:46 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 10:26:20 -03] info:account:LOGMSG_ADD_USER User 'xxx' was added.
[18/10/09 10:26:45 -03] info:account:LOGMSG_ADD_USER User 'xxx' was added.
[18/10/09 10:26:50 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 10:30:11 -03] info:share:LOGMSG_ADD_SHARE Share xxx was added.
[18/10/09 10:38:39 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 10:41:06 -03] info:share:LOGMSG_ADD_SHARE Share xxx was added.
[18/10/09 10:44:00 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 10:49:22 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 10:54:44 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 11:00:05 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 11:05:27 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 11:10:48 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 11:16:10 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 11:19:27 -03] alert:account:LOGMSG_ACCOUNT_PASSWORD_CHANGED User xxx's password has been changed.
[18/10/09 11:19:49 -03] alert:account:LOGMSG_ACCOUNT_PASSWORD_CHANGED User xxx's password has been changed.
[18/10/09 11:21:31 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 11:26:52 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 11:32:14 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 11:37:35 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 11:42:57 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 11:48:18 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 11:53:40 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 11:59:01 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 12:04:23 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 12:09:44 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 12:15:07 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 12:20:30 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 12:25:52 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 12:31:14 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 12:36:36 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 12:41:58 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 12:47:19 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 12:52:41 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 12:58:04 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 13:03:26 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 13:08:48 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 13:14:10 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 13:19:32 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 13:24:54 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 13:30:16 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 13:35:38 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 13:41:00 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 13:46:22 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 13:51:43 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 13:57:07 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 14:02:28 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 14:04:20 -03] info:system:LOGMSG_SET_ALERTSETTINGS Alert configuration was saved.
[18/10/09 14:07:50 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 14:13:12 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 14:18:34 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 14:24:00 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 14:29:22 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 14:34:44 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 14:40:06 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 14:45:28 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 14:50:51 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 14:56:13 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 15:01:40 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 15:07:03 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 15:12:25 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 15:17:47 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 15:23:09 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 15:28:32 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 15:33:55 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 15:39:17 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 15:44:40 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 15:50:02 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 15:55:24 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 16:00:46 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 16:06:09 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 16:11:32 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 16:16:53 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 16:22:16 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 16:32:20 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 16:44:19 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 16:49:42 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 16:55:04 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.
[18/10/09 17:00:26 -03] err:system:LOGMSG_ANTIVIRUS_DEF_UPDATE_FAIL_DL Antivirus scanner definition file update failed due to download failure. Check your Internet connection.

 

Please help with this.

 

Thanks

Message 1 of 18
JohnCM_S
NETGEAR Employee Retired

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

Hi jereaa,

 

Welcome to the Community!

 

You can try assigning a static DNS on the NAS and see if that helps.


Regards,

Message 2 of 18
jereaa
Aspirant

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

Did it, and nothing changed. Still have the same problem 😕

Message 3 of 18
JohnCM_S
NETGEAR Employee Retired

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

Hi jereaa,

 

Can you download the logs and the send it to me? You can upload that to a file sharing site and then PM me the download link.

 

Regards,

Message 4 of 18
JohnCM_S
NETGEAR Employee Retired

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

Hi jereaa,

 

Can you also enable the Secure Diagnostic Mode on the NAS? We will check if the NAS can really reach the Internet. You can enable that by going System > Settings > Support then PM me the 5-digit number. We will check if we can see that port.

 

Regards,

Message 5 of 18
jereaa
Aspirant

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

I've enabled the Secure Diagnostic Mode and PM'ed you the port.

Thanks for your help.

Message 6 of 18
JohnCM_S
NETGEAR Employee Retired

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

Hi jereaa,

 

ClamAV has an automatic way to update, which is called FreshClam. One of our L3's ran it on debug mode. It can talk to the server but when it gets to 99%, it just stops receiving the data.

 

It was also found that we have an old version of ClamAV on the NAS. L3 tried updating it but seems like something is killing the connection at the very last second.

 

We would like to gather information about your network. I have listed below the information that we needed:

 

1. Name of ISP

2. Brand and model of the firewall router

3. What devices are connected in between the NAS and the firewall?

 

Regards,

Message 7 of 18
jereaa
Aspirant

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

1. My ISP name is "Fibertel", although it might also be known as "Telecom Argentina S.A" or "Cablevision Argentina" (cable modem provider).

2. My router is a TP-LINK, model TL-WR1043ND, firmware 3.19.32 Build 150910 Rel.44072n

3. The NAS is connected directly to my router, which is in turn connected to my ISP's modem. Apart from the NAS, the router also has 2 computers and 1 slave router connected.

 

I hope that answers all the things you needed. In case of needing more information, feel free to ask.

Message 8 of 18
JohnCM_S
NETGEAR Employee Retired

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

Hi jereaa,

 

Thank you for the information provided. We will further check this issue.

 

By the way, L3 inform me that for now he updated the latest definitions of your antivirus manually. He advised that you go to the Time zone settings and change it then change it back again.

 

Regards,

Message 9 of 18
jereaa
Aspirant

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

I've changed the Time Zone back and forth as you requested.

I'll be waiting for news on this.

 

Thanks for the help.

Message 10 of 18
jereaa
Aspirant

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

Has there been any progress with this? I still get the same error, although fewer time, since it seems the antivirus no longer tries to update itself every 5 minutes, but just once or twice a day.

Message 11 of 18
JohnCM_S
NETGEAR Employee Retired

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

Hi jereaa,

 

There are dropped packets on the NAS network stats which might be causing the issue. There might be something on the router that caused the dropped packets.

 

Regards,

Message 12 of 18
jereaa
Aspirant

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

Yet there are no problems for the NAS to update its OS or when using any other internet-based software on a system in this network, even snapshot-based real time games.

 

Also isn't it weird that the connection gets severed when it gets to 99% progress? Unless this doesn't happen anymore, I'm just grasping at the information you provided me with, but it clearly doesn't seem to be a packet loss issue to me.

Message 13 of 18
Andrew_DM
Tutor

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

Hi JohnCM_S,

 

We have RN31400-100EUS with 4x2TB disks 12% full XRAID upgraded to 6.9.4 now since October 16 saying the same error. Looking in system.log ClamAV version 0.99.3 error recommending 0.100.2 and all daily .cdiff 100% successful but the buildcld can't add the daily.hdb to the new daily.cld and hence fails to update. looked at /dev/md0 and of the 4GB its got <300MB left but that isn't the error - looks like with some offline testing its the included ClamAV version 0.99.3 thats the problem as the new signatures are not backwards compatible to before version 0.100.2

 

So can this be a fix in 6.9.5 sharpish??

Andrew

Message 14 of 18
Andrew_DM
Tutor

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

Ah after much testing the signatures are fine with v0.99.3 of ClamAV.

 

The problem turned out to be the signature files had become enormous and then corrupt in /var/lib/clamav so with a quick name change to .bck on mirrors.dat, main.cvd and daily.cvd then running freshclam -v all is good again and we have 100% AV working without issue, so have deleted the three old .bck files and all is fine...

 

Cheers and regards, Andrew.

Message 15 of 18
dsnpevl
Virtuoso

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

Thanks for sharing this! Ran into something very similar on RN516 with 6.9.5 today. Only my 3 files were called *.cld instead of *.cvd.

Another issues seemed to be the outdated version of ClamAV: "WARNING: Your ClamAV installation is OUTDATED!"?

After running below procedure as you desribed with "freshclam -v", the antivirus was updated again. Not sure if "bytecode.cld" should also be replaced? This is the only file that doesn't have the date updated to March 23rd.

 

root@nas-XX-XX-XX:~# cd /var/lib/clamav
root@nas-XX-XX-XX:/var/lib/clamav# ls -al
total 465448
drwxr-xr-x 1 clamav clamav       188 Mar 23 07:19 .
drwxr-xr-x 1 root   root         386 Jan 25 00:19 ..
-rw-r--r-- 1 root   root          48 Feb 25 00:58 antivir.ini
-rw-r--r-- 1 root   root     1013248 Jan  2 16:35 bytecode.cld
drwxr-xr-x 1 root   root          86 Mar 23 07:19 clamav-c1a4aff7c81d68089aa22a9faf0135c9.tmp
-rw-r--r-- 1 root   root   168092160 Feb 25 00:58 daily.cld
-rw-r--r-- 1 root   root   307499008 Jun  8  2017 main.cld
-rw------- 1 root   root        1248 Mar 23 07:19 mirrors.dat
root@nas-XX-XX-XX:/var/lib/clamav# mv daily.cld daily.bck
root@nas-XX-XX-XX:/var/lib/clamav# mv mirrors.dat mirrors.bck
root@nas-XX-XX-XX:/var/lib/clamav# mv main.cld main.bck
root@nas-XX-XX-XX:/var/lib/clamav# freshclam -v
Current working dir is /var/lib/clamav
Max retries == 5
ClamAV update process started at Sat Mar 23 08:24:42 2019
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1122
Software version from DNS: 0.101.1
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.100.2 Recommended version: 0.101.1
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
Retrieving http://database.clamav.net/main.cvd
Trying to download http://database.clamav.net/main.cvd (IP: 2606:4700::6810:da54)
Downloading main.cvd [100%]
Loading signatures from main.cvd
Properly loaded 4566249 signatures from new main.cvd
main.cvd updated (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
Querying main.58.93.1.0.2606470000000000000000006810da54.ping.clamav.net
Retrieving http://database.clamav.net/daily.cvd
Trying to download http://database.clamav.net/daily.cvd (IP: 2606:4700::6810:da54)
Downloading daily.cvd [100%]
Loading signatures from daily.cvd
Properly loaded 1528057 signatures from new daily.cvd
daily.cvd updated (version: 25396, sigs: 1528057, f-level: 63, builder: raynman)
Querying daily.25396.93.1.0.2606470000000000000000006810da54.ping.clamav.net
bytecode.cvd version from DNS: 328
bytecode.cld is up to date (version: 328, sigs: 94, f-level: 63, builder: neo)
Database updated (6094400 signatures) from database.clamav.net (IP: 2606:4700::6810:da54)
Clamd successfully notified about the update.
root@nas-XX-XX-XX:/var/lib/clamav#
root@nas-XX-XX-XX:/var/lib/clamav# rm *.bck
root@nas-XX-XX-XX:/var/lib/clamav# ls -al
total 154624
drwxr-xr-x 1 clamav clamav       188 Mar 23 08:27 .
drwxr-xr-x 1 root   root         386 Jan 25 00:19 ..
-rw-r--r-- 1 root   root          48 Mar 23 08:25 antivir.ini
-rw-r--r-- 1 root   root     1013248 Jan  2 16:35 bytecode.cld
drwxr-xr-x 1 root   root          86 Mar 23 07:19 clamav-c1a4aff7c81d68089aa22a9faf0135c9.tmp
-rw-r--r-- 1 root   root    39414942 Mar 23 08:25 daily.cvd
-rw-r--r-- 1 root   root   117892267 Mar 23 08:24 main.cvd
-rw------- 1 root   root          52 Mar 23 08:25 mirrors.dat
? ? 

 

Message 16 of 18
dsnpevl
Virtuoso

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

NOTE: Because bytecode.cls remained on Jan 2, while all other files were on March 23rd, I decided to apply the same procedure. This seemed to work, as bytecode.cld was replaced with a new bytecode.cvd.

root@nas-XX-XX-XX:/var/lib/clamav# mv bytecode.cld bytecode.bck
root@nas-XX-XX-XX:/var/lib/clamav# freshclam -v
Current working dir is /var/lib/clamav
Max retries == 5
ClamAV update process started at Sat Mar 23 09:15:11 2019
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 398
Software version from DNS: 0.101.1
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.100.2 Recommended version: 0.101.1
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
main.cvd version from DNS: 58
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
daily.cvd version from DNS: 25396
daily.cvd is up to date (version: 25396, sigs: 1528057, f-level: 63, builder: raynman)
Retrieving http://database.clamav.net/bytecode.cvd
Trying to download http://database.clamav.net/bytecode.cvd (IP: 2606:4700::6810:db54)
Downloading bytecode.cvd [100%]
Loading signatures from bytecode.cvd
Properly loaded 94 signatures from new bytecode.cvd
bytecode.cvd updated (version: 328, sigs: 94, f-level: 63, builder: neo)
Querying bytecode.328.93.1.0.2606470000000000000000006810db54.ping.clamav.net
Database updated (6094400 signatures) from database.clamav.net (IP: 2606:4700::6810:db54)
Clamd successfully notified about the update.
root@nas-XX-XX-XX:/var/lib/clamav#
root@nas-XX-XX-XX:/var/lib/clamav# rm *.bck
root@nas-XX-XX-XX:/var/lib/clamav# ls -al
total 153828
drwxr-xr-x 1 clamav clamav 188 Mar 23 09:15 .
drwxr-xr-x 1 root root 386 Jan 25 00:19 ..
-rw-r--r-- 1 root root 48 Mar 23 09:15 antivir.ini
-rw-r--r-- 1 root root 199693 Mar 23 09:15 bytecode.cvd
drwxr-xr-x 1 root root 86 Mar 23 07:19 clamav-c1a4aff7c81d68089aa22a9faf0135c9.tmp
-rw-r--r-- 1 root root 39414942 Mar 23 08:25 daily.cvd
-rw-r--r-- 1 root root 117892267 Mar 23 08:24 main.cvd
-rw------- 1 root root 104 Mar 23 09:15 mirrors.dat

 

Message 17 of 18
Andrew_DM
Tutor

Re: Antivirus is not updating (ReadyNAS OS 6.9.4)

@dsnpevl yes we had fun with this.. final fix was to clear out the whole of /var/lib/clamav [but leave the directory clamav there. Then do Freshclam -v. when you go back to admin screen of the NAS turn off the virus checking and then apply. Wait a small amount of time and then reapply and tick to protect the OS too.

 

By doing the above all files including the AV control file are all rewritten and brought up to date.

When we did the 6.9.5 upgrade all was good without issue - so this is definately a fix.

Message 18 of 18
Top Contributors
Discussion stats
  • 17 replies
  • 6528 views
  • 2 kudos
  • 4 in conversation
Announcements