Page 1 of 1
freshclam error
Posted: Mon May 16, 2011 4:27 pm
by nobody
Code: Select all
May 16 12:01:11 xxxxxxx freshclam[24242]: connect_error: getsockopt(SO_ERROR): fd=5 error=111: Connection refused
Hi guys !
Its been 3 days now in which I keep getting this error. Has anyone else experienced the same issue ?
Regards
Re: freshclam error
Posted: Mon May 16, 2011 4:42 pm
by mikeshinn
That means when freshclam tried to connect to an update server the connection was refused. You may want to set your country code in freshclam.conf to force it to use a closer server.
Re: freshclam error
Posted: Tue May 17, 2011 6:47 am
by biggles
It looks like asl keeps overwriting my freshclam.conf. Is there a way to change this behavior?
Re: freshclam error
Posted: Tue May 17, 2011 6:48 am
by biggles
Think I found it... /var/asl/data/templates/template-freshclam.conf
Re: freshclam error
Posted: Tue May 17, 2011 3:28 pm
by mikeshinn
Yep, thats the file you want to change.

Re: freshclam error
Posted: Tue May 17, 2011 4:35 pm
by breun
Couldn't ASL determine the country code for the IP address of the system via geoip and use that to configure the ClamAV database mirror?

Re: freshclam error
Posted: Wed May 18, 2011 2:10 am
by biggles
breun wrote:Couldn't ASL determine the country code for the IP address of the system via geoip and use that to configure the ClamAV database mirror?

+1
Re: freshclam error
Posted: Thu May 19, 2011 6:25 am
by faris
GeoIP isn't always that accurate.
I'd prefer a config option in the ASL config file that takes a country code and then inserts the appropriate thing (converted to the appropriate format if need be) in the necessary config files.
I'm seeing a lof of these again btw. I've not changed my config. Will do so shortly.
Faris.
Re: freshclam error
Posted: Mon May 23, 2011 2:23 pm
by nobody
Sorry for my late response guys !
Ok so you change the XY.
What about the next 2 ?
Code: Select all
# Uncomment the following line and replace XY with your country
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
#DatabaseMirror db.XY.clamav.net
# database.clamav.net is a round-robin record which points to our most
# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
# not working. DO NOT TOUCH the following line unless you know what you
# are doing.
DatabaseMirror db.us.clamav.net
DatabaseMirror db.local.clamav.net
Re: freshclam error
Posted: Mon May 23, 2011 2:39 pm
by biggles
I think the "DO NOT TOUCH" part says it all...