[clamav-users] ERROR: Can't create new socket: Address family not supported by protocol

Micah Snyder (micasnyd) micasnyd at cisco.com
Mon Jul 16 15:30:00 EDT 2018


The error you're referring to has been fixed in 0.100.1.  Unfortunately, unless you enable ipv6 for your computer/network, you'll have to live with the error until you're able to upgrade to 0.100.1.

Regards,
Micah

Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.


On Jul 16, 2018, at 1:44 PM, msxc <shorton at msxc.com<mailto:shorton at msxc.com>> wrote:

Trying to solve:
ERROR: Can't create new socket: Address family not supported by protocol

Running Centos 7.  Clamav from yum package.

A few weeks ago I noticed getting this error when freshclam runs  It does not happen every time freshclam runs, but instead, it only appears to happen when there is a new signature to download.  I can't tell how to fix it.  Grateful for any help.

Log entry:

Mon Jul 16 09:38:52 2018 -> main.cvd version from DNS: 58
Mon Jul 16 09:38:52 2018 -> main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
Mon Jul 16 09:38:52 2018 -> daily.cvd version from DNS: 24758
Mon Jul 16 09:38:52 2018 -> Retrieving http://db.US.clamav.net/daily-24758.cdiff

Mon Jul 16 09:38:52 2018 -> ERROR: Can't create new socket: Address family not supported by protocol

Mon Jul 16 09:38:52 2018 -> WARNING: getpatch: Can't download daily-24758.cdiff from db.US.clamav.net<http://db.US.clamav.net>

Mon Jul 16 09:38:52 2018 -> Retrieving http://db.US.clamav.net/daily-24758.cdiff
Mon Jul 16 09:38:52 2018 -> Trying to download http://db.US.clamav.net/daily-24758.cdiff (IP: 104.16.186.138)
Mon Jul 16 09:38:52 2018 -> Downloading daily-24758.cdiff [100%]
Mon Jul 16 09:38:52 2018 -> cdiff_apply: Parsed 216 lines and executed 216 commands
Mon Jul 16 09:38:53 2018 -> Loading signatures from daily.cld
Mon Jul 16 09:38:57 2018 -> Properly loaded 2014929 signatures from new daily.cld
Mon Jul 16 09:38:58 2018 -> daily.cld updated (version: 24758, sigs: 2014929, f-level: 63, builder: neo)
Mon Jul 16 09:38:58 2018 -> Querying daily.24758.91.1.0.6810BA8A.ping.clamav.net
Mon Jul 16 09:38:58 2018 -> bytecode.cvd version from DNS: 324
Mon Jul 16 09:38:58 2018 -> bytecode.cld is up to date (version: 324, sigs: 89, f-level: 63, builder: neo)
Mon Jul 16 09:39:01 2018 -> Database updated (6581267 signatures) from db.US.clamav.net<http://db.US.clamav.net> (IP: 104.16.186.138)


I am out of sync on the latest version:
Mon Jul 16 09:38:52 2018 -> Software version from DNS: 0.100.1
Mon Jul 16 09:38:52 2018 -> WARNING: Your ClamAV installation is OUTDATED!
Mon Jul 16 09:38:52 2018 -> WARNING: Local version: 0.100.0 Recommended version: 0.100.1

I'm trying to stay with the distribution's packages.  I was however still getting the error when I was in sync.  Seems the version went to 0.100.1 from 0.100.0 right after the package got updated.


_______________________________________________
clamav-users mailing list
clamav-users at lists.clamav.net<mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20180716/024c1902/attachment.html>


More information about the clamav-users mailing list