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.


_______________________________________________
clamav-users mailing list
clamav-users@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

Reply via email to