It appears to me from your other thread that you are using a Homebrew compiled 
installation. If that is the case, then you need to contact the package 
distributor (Homebrew) about any issues with their compilation.

But I really don't understand why you want to use sudo if everything is working 
for you. I personally never use sudo and never have seen a need to.

-Al-

On Mon, Aug 20, 2018 at 03:41 PM, Michael Newman 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 
> <http://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 <http://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 <http://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 <http://db.th.clamav.net/> 
> (IP: 104.16.188.138)
> Trying host db.TH.clamav.net <http://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 <http://db.th.clamav.net/> 
> (IP: 104.16.187.138)
> Trying host db.TH.clamav.net <http://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 
> <http://database.clamav.net/> (IP: )
> Giving up on database.clamav.net <http://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 
> <https://www.clamav.net/documents/official-mirror-faq> for possible reasons.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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