[Pkg-clamav-devel] Bug#678247: [clamav-freshclam] Clamav cannot generate a proper /etc/clamav/freshclam.conf

Valerio Passini valerio.passini at unicam.it
Wed Jun 20 09:11:48 UTC 2012


Package: clamav-freshclam
Version: 0.97.5+dfsg-2
Severity: serious

--- Please enter the report below this line. ---
This bug seems similar to this one 
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/784797
I have KDE and use konsole, maybe it's related to the wrong generation of the 
conf file.
The error given is:

Starting ClamAV virus database updater: freshclamERROR: Incorrect argument 
format for option HTTPProxyPort
ERROR: Can't open/parse the config file /etc/clamav/freshclam.conf
 failed!

I used the package maintainer version of freshclmam.conf and dpkg-reconfigure 
clamav-freshcalm and both lead to the same  error. The only way for me was to 
manually edit the file and comment out the lines about proxy stuff.


--- System information. ---
Architecture: amd64
Kernel:       Linux 3.3.8

Debian Release: wheezy/sid
  990 unstable        mi.mirror.garr.it 
  990 unstable        ftp.uk.debian.org 
  990 unstable        ftp.it.debian.org 
  500 testing         mi.mirror.garr.it 
  500 testing         ftp.uk.debian.org 
  100 experimental-snapshots qt-kde.debian.net 
    1 experimental    mi.mirror.garr.it 
    1 experimental    debian.fastweb.it 

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-===================
debconf                  (>= 0.5)  | 1.5.44
 OR debconf-2.0                    | 
clamav-base     (>= 0.97.5+dfsg-2) | 0.97.5+dfsg-2
libc6                     (>= 2.7) | 
libclamav6        (>= 0.97.5+dfsg) | 
zlib1g                (>= 1:1.1.4) | 
ucf                                | 
logrotate                          | 
lsb-base               (>= 3.2-13) | 


Package's Recommends field is empty.

Suggests         (Version) | Installed
==========================-+-===========
clamav-docs                | 



--- Output from package bug script ---
--- 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
# Check for new database 24 times a day
Checks 2
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net
# Proxy: http://:/
#HTTPProxyServer 
#HTTPProxyPort 

--- data dir ---
totale 35440
-rw-r--r-- 1 clamav    124   302080 giu 19 10:52 bytecode.cld
-rw-r--r-- 1 clamav clamav  5224201 giu 20 10:58 daily.cvd
-rw-r--r-- 1 root   root        755 giu 20 11:01 freshclam.conf
-rw-r--r-- 1 clamav clamav 30750647 giu 20 10:58 main.cvd
-rw------- 1 clamav    124      208 giu 20 10:58 mirrors.dat





More information about the Pkg-clamav-devel mailing list