[clamav-users] freshclam vs sudo freshclam
Al Varnell
alvarnell at mac.com
Mon Aug 20 23:31:38 UTC 2018
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20180820/9f7b9da4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3860 bytes
Desc: not available
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20180820/9f7b9da4/attachment.bin>
More information about the clamav-users
mailing list