LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-07-2013, 08:05 PM   #1
jbh911
LQ Newbie
 
Registered: Mar 2013
Posts: 3

Rep: Reputation: Disabled
Unhappy ClamKT definations won't update


I'm running Ubuntu 12.04 on a HP Pavilion dm1 which is working fine - with one exception, ClamKT definitions won't update.
A copy of /var/log/clamav/freshclam.log shows the following:

Fri Mar 1 15:49:46 2013 -> ClamAV update process started at Fri Mar 1 15:49:46 2013
Fri Mar 1 15:49:47 2013 -> main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
Fri Mar 1 15:49:49 2013 -> WARNING: getpatch: Can't download daily-16657.cdiff from database.clamav.net
Fri Mar 1 15:49:49 2013 -> WARNING: getpatch: Can't download daily-16657.cdiff from database.clamav.net
Fri Mar 1 15:49:49 2013 -> WARNING: getpatch: Can't download daily-16657.cdiff from database.clamav.net
Fri Mar 1 15:49:49 2013 -> WARNING: getpatch: Can't download daily-16657.cdiff from database.clamav.net
Fri Mar 1 15:49:49 2013 -> ERROR: getpatch: Can't download daily-16657.cdiff from database.clamav.net
Fri Mar 1 15:49:49 2013 -> WARNING: Incremental update failed, trying to download daily.cvd
Fri Mar 1 15:49:49 2013 -> ERROR: Can't download daily.cvd from database.clamav.net
Fri Mar 1 15:49:49 2013 -> Giving up on database.clamav.net...

Is anyone else having the same problem? What is the fix??

Check hppt://www.clamav.net/support/mirror-problem highlights in part the following:

There is a problem with your DNS server. Please check the entries in /etc/resolv.conf and verify that you can resolve the TXT record manually: $ host -t txt current.cvd.clamav.net If you canít, it means your network is broken. Youíll be still able to download the updates, but youíll waste a lot of bandwidth checking for updates. Please note that some not RFC compliant DNS servers (namely the one shipped with the Alcatel (now Thomson) SpeedTouch 510 modem) canít resolve TXT record. If thatís the case, please recompile ClamAV with the flagóenable-dns-fix .

A look at /etc/resolv.conf shows:

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
~

Where to from here?
 
Old 03-09-2013, 04:39 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
This has nothing to do with the Tk interface or ClamAV but with resolving host names. Running
Code:
dig +nocomments +noquestion +nostats +nocmd +noauth +noadditional -t A any database.clamav.net|grep CNAME
should show it resolve to "db.local.clamav.net" which in turn should resolve to "db.${YOUR_COUNTRY_CODE}.clamav.net". If your local resolver doesn't show that then check again but using your providers (or any publicly accessible name servers) instead.

*ClamAV may be security-related but your question isn't so I'll move it to the Linux Software forum.
 
Old 03-10-2013, 12:47 AM   #3
jbh911
LQ Newbie
 
Registered: Mar 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks unSpawn - did as you suggested with the following result
 
Old 03-10-2013, 04:52 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Quote:
Originally Posted by jbh911 View Post
Thanks unSpawn - did as you suggested with the following result
Are you trying to tell me there was no result, even using your providers DNS servers, or did you just forget to post it?
 
Old 03-13-2013, 08:15 PM   #5
jbh911
LQ Newbie
 
Registered: Mar 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Have been at sea and can only make contact when in port - got cut off before I completed last reply.

Result of your code was:

database.clamav.net. 60 IN CNAME db.local.clamav.net.
db.local.clamav.net. 6392 IN CNAME db.au.clamav.net.

And that fixed the problem. Thanks again
 
Old 09-11-2015, 05:58 AM   #6
Crippled
Member
 
Registered: Sep 2015
Distribution: MX Linux 21.3 Xfce
Posts: 585

Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
This has nothing to do with the Tk interface or ClamAV but with resolving host names. Running
Code:
dig +nocomments +noquestion +nostats +nocmd +noauth +noadditional -t A any database.clamav.net|grep CNAME
should show it resolve to "db.local.clamav.net" which in turn should resolve to "db.${YOUR_COUNTRY_CODE}.clamav.net". If your local resolver doesn't show that then check again but using your providers (or any publicly accessible name servers) instead.

*ClamAV may be security-related but your question isn't so I'll move it to the Linux Software forum.
I tried that and it still doesn't work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
update won't update "other updates" programe knobby67 Ubuntu 7 07-15-2011 07:53 AM
[SOLVED] Debian update manager states updates available but won't update EDDY1 Debian 15 06-30-2011 11:07 PM
ddclient won't update samnjugu Linux - Software 2 08-09-2009 12:17 AM
Firefox won't update Carpinus Ubuntu 14 11-23-2006 12:19 AM
YAST Update problem, won't update anymore sir_shunt SUSE / openSUSE 7 04-11-2006 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration