freshclam error

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
nobody
Forum Regular
Forum Regular
Posts: 349
Joined: Sun Mar 29, 2009 6:52 pm

freshclam error

Unread post 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
Last edited by nobody on Mon May 23, 2011 2:21 pm, edited 1 time in total.
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: freshclam error

Unread post 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.
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Re: freshclam error

Unread post by biggles »

It looks like asl keeps overwriting my freshclam.conf. Is there a way to change this behavior?
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Re: freshclam error

Unread post by biggles »

Think I found it... /var/asl/data/templates/template-freshclam.conf
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: freshclam error

Unread post by mikeshinn »

Yep, thats the file you want to change. :-)
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: freshclam error

Unread post 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? :)
Lemonbit Internet Dedicated Server Management
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Re: freshclam error

Unread post 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
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: freshclam error

Unread post 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.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
nobody
Forum Regular
Forum Regular
Posts: 349
Joined: Sun Mar 29, 2009 6:52 pm

Re: freshclam error

Unread post 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
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Re: freshclam error

Unread post by biggles »

I think the "DO NOT TOUCH" part says it all...
Post Reply