[Pkg-clamav-devel] Bug#690788: clamav-freshclam: 'freshclam' won't resume (large) partial downloads.

A. Costa agcosta at gis.net
Wed Oct 17 15:20:40 UTC 2012


Package: clamav-freshclam
Version: 0.97.6+dfsg-1
Severity: normal

Dear Maintainer,

For the last few days my system can't seem to download the whole 30M
'main.cvd', it fails, tries again, fails, and tries again...:

    Setting up clamav-freshclam (0.97.6+dfsg-1) ...
    Starting database update: 
    ClamAV update process started at Wed Oct 10 19:24:11 2012
    nonblock_recv: recv timing out (30 secs)
    WARNING: getfile: Download interrupted: Operation now in progress (IP: 69.163.100.14)
    WARNING: Can't download main.cvd from db.local.clamav.net
    Trying again in 5 secs...
    ^C

Worse, the 'main.cvd' download doesn't resume where it left off.  
'freschclam' starts from '0' bytes every time.  

Please include an automatic 'resume partial downloads' function 
for large stable partial downloads.

(I have dialup ISP.  At 5Kbytes/sec, 30M takes 2 hours to fetch.  This
bug has wasted several hours.)

HTH...

-- Package-specific info:
--- configuration ---
#Automatically Generated by clamav-base postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-base
#Please read /usr/share/doc/clamav-base/README.Debian.gz for details
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
LocalSocketGroup clamav
LocalSocketMode 666
# TemporaryDirectory is not set to its default /tmp here to make overriding
# the default with environment variables TMPDIR/TMP/TEMP possible
User clamav
AllowSupplementaryGroups true
ScanMail true
ScanArchive true
ArchiveBlockEncrypted false
MaxDirectoryRecursion 15
FollowDirectorySymlinks false
FollowFileSymlinks false
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
LogSyslog false
LogFacility LOG_LOCAL6
LogClean false
LogVerbose false
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /var/lib/clamav
SelfCheck 3600
Foreground false
Debug false
ScanPE true
ScanOLE2 true
ScanHTML true
DetectBrokenExecutables false
ExitOnOOM false
LeaveTemporaryFiles false
AlgorithmicDetection true
ScanELF true
IdleTimeout 30
PhishingSignatures true
PhishingScanURLs true
PhishingAlwaysBlockSSLMismatch false
PhishingAlwaysBlockCloak false
DetectPUA false
ScanPartialMessages false
HeuristicScanPrecedence false
StructuredDataDetection false
CommandReadTimeout 5
SendBufTimeout 200
MaxQueue 100
ExtendedDetectionInfo true
OLE2BlockMacros false
StreamMaxLength 25M
LogFile /var/log/clamav/clamav.log
LogTime true
LogFileUnlock false
LogFileMaxSize 0
Bytecode true
BytecodeSecurity TrustSigned
BytecodeTimeout 60000
OfficialDatabaseOnly false
CrossFilesystems true
# Automatically created by the clamav-freshclam postinst
# Comments will get lost when you reconfigure the clamav-freshclam package

DatabaseOwner clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogTime true
Foreground false
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav
DNSDatabaseInfo current.cvd.clamav.net
AllowSupplementaryGroups false
PidFile /var/run/clamav/freshclam.pid
ConnectTimeout 30
ReceiveTimeout 30
TestDatabases yes
ScriptedUpdates yes
CompressLocalDatabase no
Bytecode true
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net

--- data dir ---
total 284
-rw-r--r-- 1 clamav clamav 272896 Sep 13 08:55 bytecode.cld
drwxr-sr-x 2 clamav clamav   4096 Oct 10 19:59 clamav-16753a50227686aecc875aeec565193e
drwxr-sr-x 2 root   root     4096 May  7  2010 clamav-62d0143e8fb5918d15a5401c84d142be
drwxr-sr-x 2 root   root     4096 May  7  2010 clamav-99ad96242086cdcfdda3504ad4e9d5c6
-rw------- 1 clamav clamav    104 Oct 10 19:59 mirrors.dat

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages clamav-freshclam depends on:
ii  clamav-base            0.97.6+dfsg-1
ii  debconf [debconf-2.0]  1.5.46
ii  libc6                  2.13-35
ii  libclamav6             0.97.6+dfsg-1
ii  logrotate              3.8.1-4
ii  lsb-base               4.1+Debian7
ii  ucf                    3.0025+nmu3
ii  zlib1g                 1:1.2.7.dfsg-13

clamav-freshclam recommends no packages.

Versions of packages clamav-freshclam suggests:
pn  clamav-docs  <none>

-- debconf information:
* clamav-freshclam/autoupdate_freshclam: manual
* clamav-freshclam/local_mirror: db.local.clamav.net
  clamav-freshclam/internet_interface:
  clamav-freshclam/proxy_user:
* clamav-freshclam/NotifyClamd: false
* clamav-freshclam/http_proxy:
  clamav-freshclam/update_interval: 24



More information about the Pkg-clamav-devel mailing list