Were you able to get this working?

If not, can you post the complete output from both the successful and 
unsuccessful runs?

> On Aug 20, 2018, at 7:51 PM, Michael Newman via macports-users 
> <macports-users@lists.macports.org> wrote:
> 
> If I run freshclam as a non-privileged user, it runs fine with no warnings or 
> error messages. Here’s the last line of the response:
> 
> Database updated (6622193 signatures) from db.TH.clamav.net (IP: 
> 104.16.188.138)
> 
> But, if I run sudo freshclam it fails with numerous errors, some of which are 
> shown below. 
> 
> What do I need to do to fix this?
> 
> WARNING: Can't query current.cvd.clamav.net
> WARNING: Invalid DNS reply. Falling back to HTTP mode.
> If-Modified-Since: Wed, 07 Jun 2017 21:38:10 GMT
> Reading CVD header (main.cvd): nonblock_connect: connect(): fd=6 errno=64: 
> Host is down
> Can't connect to port 80 of host db.TH.clamav.net (IP: 104.16.186.138)
> nonblock_connect: connect(): fd=6 errno=64: Host is down
> Can't connect to port 80 of host db.TH.clamav.net (IP: 104.16.188.138)
> Trying host db.TH.clamav.net (104.16.187.138)...
> nonblock_connect: connect(): fd=6 errno=64: Host is down
> Can't connect to port 80 of host db.TH.clamav.net (IP: 104.16.187.138)
> Trying host db.TH.clamav.net (104.16.189.138)...
> nonblock_connect: connect(): fd=6 errno=64: Host is down
> 
> WARNING: Can't read main.cvd header from database.clamav.net (IP: )
> Giving up on database.clamav.net...
> Update failed. Your network may be down or none of the mirrors listed in 
> /opt/local/etc/freshclam.conf is working. Check 
> https://www.clamav.net/documents/official-mirror-faq for possible reasons.

-- 
Daniel J. Luke



Reply via email to