[clamav-users] freshclam error - need your expertise as soon as possible please.
Manavi-Pour, Gazelle
gazelle.manavi-pour at ehealthontario.on.ca
Wed Apr 18 20:35:03 UTC 2018
Very useful tip. Appreciate it. Fixed my issue.
Regards,
----------------------------------------------------------------
Gazelle Manavi-pour
Digital Health Delivery Platform (DHDP)| eHealth Ontario
415 Yonge Street / 10th floor, Toronto, ON, M5G 2C8
Office: 416.586.4353 Mobile: 647.632.8909
gazelle.manavi-pour at ehealthontario.on.ca
Vacation Alert: Aug 19th - Sept 1 - 2018
-----Original Message-----
From: clamav-users [mailto:clamav-users-bounces at lists.clamav.net] On Behalf Of Noel Jones
Sent: Wednesday, April 18, 2018 2:48 PM
To: clamav-users at lists.clamav.net
Subject: Re: [clamav-users] freshclam error - need your expertise as soon as possible please.
On 4/18/2018 12:59 PM, Manavi-Pour, Gazelle wrote:
> Hello folks,
>
> Just wondering what does "previous errors" mean in here.
> I have verified from my server, I can download download
> http://db.CA.clamav.net/main-58.cdiff using wget. No issues, but when
> I run freshclam I get error. Please advise. Thanks
freshclam records download errors in a file "mirrors.dat" so it won't keep retrying a bad server. Those servers are ignored for a time, and eventually retried (after few days I think).
It's safe to remove the mirrors.dat file to reset the download history.
rm /var/lib/clamav/mirrors.dat
then run freshclam again.
-- Noel Jones
>
> # freshclam --stdout --verbose -v
> Current working dir is /var/lib/clamav Max retries == 3 ClamAV update
> process started at Wed Apr 18 13:09:36 2018 Using IPv6 aware code
> Querying current.cvd.clamav.net
> TTL: 1800
> Software version from DNS: 0.100.0
> WARNING: Your ClamAV installation is OUTDATED!
> WARNING: Local version: 0.99.2 Recommended version: 0.100.0 DON'T
> PANIC! Read http://www.clamav.net/documents/upgrading-clamav
> main.cvd version from DNS: 58
> Retrieving http://db.CA.clamav.net/main-58.cdiff
> Ignoring mirror 10.247.231.155 (due to previous errors) ==> this is the IP of my proxy server(on datapower). Which points to the mirror in Canada.
> Ignoring mirror 10.247.231.155 (due to previous errors) ==> what does this previous error mean? I do not have errors , I see just warnings.
> WARNING: getpatch: Can't download main-58.cdiff from db.CA.clamav.net
> Retrieving http://db.CA.clamav.net/main-58.cdiff
> Ignoring mirror 10.247.231.155 (due to previous errors)
> WARNING: getpatch: Can't download main-58.cdiff from db.CA.clamav.net
> Retrieving http://db.CA.clamav.net/main-58.cdiff
> Ignoring mirror 10.247.231.155 (due to previous errors)
> WARNING: getpatch: Can't download main-58.cdiff from db.CA.clamav.net
> WARNING: Incremental update failed, trying to download main.cvd
> Whitelisting short-term blacklisted mirrors Retrieving
> http://db.CA.clamav.net/main.cvd Ignoring mirror 10.247.231.155 (due
> to previous errors) Ignoring mirror 10.247.231.155 (due to previous
> errors)
> WARNING: Can't download main.cvd from db.CA.clamav.net Trying again in
> 5 secs...
>
> As I mentioned from the server I can download the file, so the server and proxy server(datapower) are communication well.
>
> wget http://db.CA.clamav.net/main-58.cdiff
> --2018-04-18 13:22:36-- http://db.ca.clamav.net/main-58.cdiff
> Resolving db.ca.clamav.net (db.ca.clamav.net)... 10.247.231.155
> Connecting to db.ca.clamav.net (db.ca.clamav.net)|10.247.231.155|:80... connected.
> HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
> Retrying.
>
> --2018-04-18 13:22:37-- (try: 2)
> http://db.ca.clamav.net/main-58.cdiff
> Connecting to db.ca.clamav.net (db.ca.clamav.net)|10.247.231.155|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 8808462 (8.4M)
> Saving to: 'main-58.cdiff'
>
> 100%[=================================================================================================================>] 8,808,462 2.77MB/s in 3.0s
>
> 2018-04-18 13:22:41 (2.77 MB/s) - 'main-58.cdiff' saved
> [8808462/8808462]
>
>
> Regards,
> ----------------------------------------------------------------
> Gazelle Manavi-pour
> Digital Health Delivery Platform (DHDP)| eHealth Ontario
> 415 Yonge Street / 10th floor, Toronto, ON, M5G 2C8
> Office: 416.586.4353 Mobile: 647.632.8909
> gazelle.manavi-pour at ehealthontario.on.ca<mailto:gazelle.manavi-pour at eh
> ealthontario.on.ca>
>
> Vacation Alert: Aug 19th - Sept 1 - 2018
>
>
>
>
>
>
> _______________________________________________
> clamav-users mailing list
> clamav-users at lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>
_______________________________________________
clamav-users mailing list
clamav-users at lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
More information about the clamav-users
mailing list