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

ClamAV is not updating. Error 503

Idward
Aspirant

ClamAV is not updating. Error 503

I am getting regular emails about my readynas' AV being out of date.  I logged on and ran freshclam getting back

 

ClamAV update process started at Wed May 12 11:31:09 2021
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.100.2 Recommended version: 0.103.2
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
main.cld is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
WARNING: getpatch: Can't download daily-25994.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-25994.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-25994.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-25994.cdiff from database.clamav.net
ERROR: getpatch: Can't download daily-25994.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
ERROR: Can't download daily.cvd from database.clamav.net
Giving up on database.clamav.net...

Seeing a few other examples I tried

host -t txt current.cvd.clamav.net
current.cvd.clamav.net descriptive text "0.103.2:59:26168:1620826140:1:63:49192:333"

and it wasn't until I ran wget that I got somewhere

 

wget -U "Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/87.0.4280.77 Mobile/15E148 Safari/604.1" http://db.local.clamav.net/daily-25994.cdiff
--2021-05-12 11:35:37--  http://db.local.clamav.net/daily-25994.cdiff
Resolving db.local.clamav.net (db.local.clamav.net)... 2606:4700::6810:db54, 2606:4700::6810:da54, 104.16.218.84, ...
Connecting to db.local.clamav.net (db.local.clamav.net)|2606:4700::6810:db54|:80... connected.
HTTP request sent, awaiting response... 503 Service Temporarily Unavailable
2021-05-12 11:35:37 ERROR 503: Service Temporarily Unavailable.

 

I tried from other sources. I don't know if this is something going on in my network or other people are having this problem.  It is resolving and I am not seeing a firewall error. Best I can tell it is something on ClamAV's side and I don't think it is an unsupported version.

 

 

Message 1 of 15

Accepted Solutions
JohnCM_S
NETGEAR Employee Retired

Re: ClamAV is not updating. Error 503

Hi @Sandshark,

 

We are still investigating why the AV database is still not updating for some users even after updating to 6.10.5.

 

For this particular case, L3 checked /var/lib/clamav and saw that daily.cld was still outdated. L3 needs to renew it so they removed the two files (daily.cld and mirrors.dat) then ran freshclam.

 

If the user is knowledgeable in Linux, they can try this, but it will be best if they can send the logs to me or @Marc_V so we can forward this to the appropriate team and they can further investigate the issue

 

Regards,

View solution in original post

Message 15 of 15

All Replies
JohnCM_S
NETGEAR Employee Retired

Re: ClamAV is not updating. Error 503

Hi Idward,

 

May I know the model number of your ReadyNAS unit and the current firmware of it?

 

If the firmware is not yet on 6.10.5, you can try updating the firmware to it. The 6.10.5 firmware addressed an issue wherein the ClamAV fails to update the database. You can read the release notes here.

 

Regards,

Message 2 of 15
Idward
Aspirant

Re: ClamAV is not updating. Error 503

ReadyNAS 2304

Firmware 6.10.4 Hotfix 1. 

 

I hit the check for updates and it gave me an "you are all up to date" message. 

Message 3 of 15
JohnCM_S
NETGEAR Employee Retired

Re: ClamAV is not updating. Error 503

Hi Idward,

 

You can try manually updating the firmware to 6.10.5. You may download the firmware here: https://kb.netgear.com/000063642/ReadyNAS-OS-6-Software-Version-6-10-5.

 

Regards,

Message 4 of 15
Idward
Aspirant

Re: ClamAV is not updating. Error 503

I upgraded to 6.10.5. and that did not fix it, still getting an error 

 

Now, worringly, it will not let me connect to the admin web page. It gives me the password prompt then goes through the "Connecting to ReadyNAS Admin Page" and kicks out with a timeout error.

 

Fortuantly, I can still ssh into it and access the file server, though RAIDar 6.5.0 does not pick it up. 

Message 5 of 15
JohnCM_S
NETGEAR Employee Retired

Re: ClamAV is not updating. Error 503

Hi Idward,

 

Have you tried rebooting the NAS?

 

If you are still not able to access the admin page or if the NAS is still not detected on RAIDar even after rebooting it, you can also try doing an OS reinstall and see if that helps.

 

Regards,

Message 6 of 15
Idward
Aspirant

Re: ClamAV is not updating. Error 503

The only thing I can think is maybe the bond is causing an issue?

 

Is there a way to do the OS reinstall from the commandline? 

 

I don't think would delete anything from the disk but I wanted to be sure. 

Message 7 of 15
Idward
Aspirant

Re: ClamAV is not updating. Error 503

I rebooted it and now it is giving me

 

Locked

The requested resource is currently locked. The lock must be released or proper identification given before the method can be applied.
Message 8 of 15
Idward
Aspirant

Re: ClamAV is not updating. Error 503

oh.. maybe i jumped the gun. it logged me in after all

 

Message 9 of 15
JohnCM_S
NETGEAR Employee Retired

Re: ClamAV is not updating. Error 503

Hi Idward,

 

Are you now able to access the local admin page after rebooting the NAS?


Regards,

Message 10 of 15
Idward
Aspirant

Re: ClamAV is not updating. Error 503

Yes, I also noticed a button called "UI" i must of hit that I assume that is what caused the lock and other GUI issues. 

 

I am still getting the update error

 

# freshclam -v
Current working dir is /var/lib/clamav
Max retries == 5
ClamAV update process started at Thu May 13 11:58:47 2021
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1764
Software version from DNS: 0.103.2
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.100.2 Recommended version: 0.103.2
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
main.cvd version from DNS: 59
main.cld is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
daily.cvd version from DNS: 26169
Retrieving http://database.clamav.net/daily-25994.cdiff
Ignoring mirror 2606:4700::6810:da54 (due to previous errors)
Ignoring mirror 2606:4700::6810:db54 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 2606:4700::6810:da54 (due to previous errors)
Ignoring mirror 2606:4700::6810:db54 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
WARNING: getpatch: Can't download daily-25994.cdiff from database.clamav.net
Retrieving http://database.clamav.net/daily-25994.cdiff
Ignoring mirror 2606:4700::6810:db54 (due to previous errors)
Ignoring mirror 2606:4700::6810:da54 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
WARNING: getpatch: Can't download daily-25994.cdiff from database.clamav.net
Retrieving http://database.clamav.net/daily-25994.cdiff
Ignoring mirror 2606:4700::6810:db54 (due to previous errors)
Ignoring mirror 2606:4700::6810:da54 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
WARNING: getpatch: Can't download daily-25994.cdiff from database.clamav.net
Retrieving http://database.clamav.net/daily-25994.cdiff
Ignoring mirror 2606:4700::6810:da54 (due to previous errors)
Ignoring mirror 2606:4700::6810:db54 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
WARNING: getpatch: Can't download daily-25994.cdiff from database.clamav.net
Retrieving http://database.clamav.net/daily-25994.cdiff
Ignoring mirror 2606:4700::6810:da54 (due to previous errors)
Ignoring mirror 2606:4700::6810:db54 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
WARNING: getpatch: Can't download daily-25994.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://database.clamav.net/daily.cvd
Ignoring mirror 2606:4700::6810:db54 (due to previous errors)
Ignoring mirror 2606:4700::6810:da54 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
Ignoring mirror 2606:4700::6810:db54 (due to previous errors)
Ignoring mirror 2606:4700::6810:da54 (due to previous errors)
Ignoring mirror 104.16.219.84 (due to previous errors)
Ignoring mirror 104.16.218.84 (due to previous errors)
WARNING: Can't download daily.cvd from database.clamav.net
Trying again in 5 secs...

And I am on version 6.10.5 

Message 11 of 15
JohnCM_S
NETGEAR Employee Retired

Re: ClamAV is not updating. Error 503

Hi Idward,

 

Can you download the system logs of the NAS then provide them to us so we can further check? You may upload it to a cloud storage site then send me the download link via private message.

 

Regards,

Message 12 of 15
JohnCM_S
NETGEAR Employee Retired

Re: ClamAV is not updating. Error 503

Hi Idward,

 

It appears that L3 was able to fix the issue with the AV database not updating. May we know if you still need assistance on this issue?

 

Regards,

Message 13 of 15
Sandshark
Sensei

Re: ClamAV is not updating. Error 503

Though there could be another root cause, other users are reporting AV update issues.  Is this something you can share and users can check for/fix themselves?

Message 14 of 15
JohnCM_S
NETGEAR Employee Retired

Re: ClamAV is not updating. Error 503

Hi @Sandshark,

 

We are still investigating why the AV database is still not updating for some users even after updating to 6.10.5.

 

For this particular case, L3 checked /var/lib/clamav and saw that daily.cld was still outdated. L3 needs to renew it so they removed the two files (daily.cld and mirrors.dat) then ran freshclam.

 

If the user is knowledgeable in Linux, they can try this, but it will be best if they can send the logs to me or @Marc_V so we can forward this to the appropriate team and they can further investigate the issue

 

Regards,

Message 15 of 15
Top Contributors
Discussion stats
  • 14 replies
  • 4484 views
  • 0 kudos
  • 3 in conversation
Announcements