store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Tue May 21, 2013 2:31 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 10 posts ] 
Author Message
 Post subject: freshclam error
Unread postPosted: Mon May 16, 2011 4:27 pm 
Offline
Forum Regular
Forum Regular

Joined: Sun Mar 29, 2009 6:52 pm
Posts: 348
Code:
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

_________________
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


Last edited by nobody on Mon May 23, 2011 2:21 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: freshclam error
Unread postPosted: Mon May 16, 2011 4:42 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3243
Location: Chantilly, VA
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.

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: freshclam error
Unread postPosted: Tue May 17, 2011 6:47 am 
Offline
Forum Regular
Forum Regular

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


Top
 Profile  
 
 Post subject: Re: freshclam error
Unread postPosted: Tue May 17, 2011 6:48 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 704
Location: Sweden
Think I found it... /var/asl/data/templates/template-freshclam.conf


Top
 Profile  
 
 Post subject: Re: freshclam error
Unread postPosted: Tue May 17, 2011 3:28 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3243
Location: Chantilly, VA
Yep, thats the file you want to change. :-)

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: freshclam error
Unread postPosted: Tue May 17, 2011 4:35 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
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


Top
 Profile  
 
 Post subject: Re: freshclam error
Unread postPosted: Wed May 18, 2011 2:10 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 704
Location: Sweden
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


Top
 Profile  
 
 Post subject: Re: freshclam error
Unread postPosted: Thu May 19, 2011 6:25 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1846
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>


Top
 Profile  
 
 Post subject: Re: freshclam error
Unread postPosted: Mon May 23, 2011 2:23 pm 
Offline
Forum Regular
Forum Regular

Joined: Sun Mar 29, 2009 6:52 pm
Posts: 348
Sorry for my late response guys !
Ok so you change the XY.
What about the next 2 ?

Code:
# 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


Top
 Profile  
 
 Post subject: Re: freshclam error
Unread postPosted: Mon May 23, 2011 2:39 pm 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 704
Location: Sweden
I think the "DO NOT TOUCH" part says it all...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 10 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group