On 07/06/2010 05:57 PM, Dennis Peterson wrote:
On 7/6/10 5:31 PM, JD wrote:
On 07/06/2010 05:00 PM, Dennis Peterson wrote:
clamconf |grep TemporaryDir
$ clamconf |grep TemporaryDir
TemporaryDirectory = "/var/tmp"
TemporaryDirectory disabled

Is that what's causing it? The disabled setting?

Where do I enable it?

Now that we see you have a discrepancy we need to know where it is. run clamconf |less then look through the output to find the two lines above. The output includes the configuration of clamd, freshclam, and clamav-milter. If it makes no sense then run "clamconf >/tmp/clamconf.txt" and post it (clamconf.txt) here. The clamconf.txt file will be in your /tmp directory.

Then check the permissions on /var/tmp to see if your clam user can write to it.

dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

OK.
clamconf.txt attached
Checking configuration files in /etc

Config file: clamd.conf
-----------------------
LogFile = "/var/log/clamav/clamd.log"
LogFileUnlock disabled
LogFileMaxSize = "8388608"
LogTime = "yes"
LogClean disabled
LogSyslog = "yes"
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
PidFile = "/var/run/clamav/clamd.pid"
TemporaryDirectory = "/var/tmp"
DatabaseDirectory = "/var/clamav"
OfficialDatabaseOnly disabled
LocalSocket = "/var/run/clamav/clamd.sock"
LocalSocketGroup disabled
LocalSocketMode disabled
FixStaleSocket = "yes"
TCPSocket = "3310"
TCPAddr = "127.0.0.1"
MaxConnectionQueueLength = "30"
StreamMaxLength = "26214400"
StreamMinPort = "30000"
StreamMaxPort = "32000"
MaxThreads = "10"
ReadTimeout = "300"
CommandReadTimeout = "5"
SendBufTimeout = "500"
MaxQueue = "100"
IdleTimeout = "30"
ExcludePath = "^/proc/", "^/sys/", "^/dev/"
MaxDirectoryRecursion = "10"
FollowDirectorySymlinks disabled
FollowFileSymlinks disabled
CrossFilesystems = "yes"
SelfCheck = "600"
VirusEvent = "/bin/echo "VIRUS ALERT: %v" >> /var/log/VIRUSES.log"
ExitOnOOM = "yes"
Foreground disabled
Debug disabled
LeaveTemporaryFiles = "yes"
User = "clamav"
AllowSupplementaryGroups = "yes"
Bytecode = "yes"
BytecodeSecurity = "TrustSigned"
BytecodeTimeout = "60000"
DetectPUA = "yes"
ExcludePUA disabled
IncludePUA disabled
AlgorithmicDetection = "yes"
ScanPE = "yes"
ScanELF = "yes"
DetectBrokenExecutables = "yes"
ScanMail = "yes"
ScanPartialMessages disabled
PhishingSignatures = "yes"
PhishingScanURLs = "yes"
PhishingAlwaysBlockCloak = "yes"
PhishingAlwaysBlockSSLMismatch = "yes"
HeuristicScanPrecedence disabled
StructuredDataDetection = "yes"
StructuredMinCreditCardCount = "1"
StructuredMinSSNCount = "1"
StructuredSSNFormatNormal = "yes"
StructuredSSNFormatStripped disabled
ScanHTML = "yes"
ScanOLE2 = "yes"
ScanPDF = "yes"
ScanArchive = "yes"
ArchiveBlockEncrypted disabled
MaxScanSize = "104857600"
MaxFileSize = "26214400"
MaxRecursion = "16"
MaxFiles = "10000"
ClamukoScanOnAccess disabled
ClamukoScannerCount = "3"
ClamukoScanOnOpen disabled
ClamukoScanOnClose disabled
ClamukoScanOnExec disabled
ClamukoIncludePath disabled
ClamukoExcludePath disabled
ClamukoMaxFileSize = "5242880"
DevACOnly disabled
DevACDepth disabled

Config file: freshclam.conf
---------------------------
LogFileMaxSize = "16777216"
LogTime = "yes"
LogSyslog = "yes"
LogFacility = "LOG_LOCAL6"
LogVerbose = "yes"
PidFile = "/var/run/freshclam.pid"
DatabaseDirectory = "/var/lib/clamav"
Foreground disabled
Debug disabled
AllowSupplementaryGroups disabled
UpdateLogFile = "/var/log/freshclam.log"
DatabaseOwner = "clamupdate"
Checks = "24"
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.US.clamav.net", "db.local.clamav.net", 
"db.local.clamav.net"
MaxAttempts = "3"
ScriptedUpdates = "yes"
TestDatabases = "yes"
CompressLocalDatabase = "yes"
ExtraDatabase disabled
HTTPProxyServer disabled
HTTPProxyPort disabled
HTTPProxyUsername disabled
HTTPProxyPassword disabled
HTTPUserAgent disabled
NotifyClamd = "/path/to/clamd.conf"
OnUpdateExecute disabled
OnErrorExecute disabled
OnOutdatedExecute disabled
LocalIPAddress disabled
ConnectTimeout = "30"
ReceiveTimeout = "30"
SubmitDetectionStats disabled
DetectionStatsCountry disabled
DetectionStatsHostID disabled
SafeBrowsing = "yes"
Bytecode = "yes"

Config file: clamav-milter.conf
-------------------------------
LogFile = "/var/log/clamav/clamav-milter.log"
LogFileUnlock disabled
LogFileMaxSize disabled
LogTime = "yes"
LogSyslog = "yes"
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
PidFile disabled
TemporaryDirectory disabled
FixStaleSocket = "yes"
MaxThreads = "10"
ReadTimeout = "120"
Foreground disabled
User = "clamav"
AllowSupplementaryGroups = "yes"
MaxFileSize = "26214400"
ClamdSocket = "unix:/var/run/clamav/clamd.sock"
MilterSocket = "unix:/var/clamav/clmilter.socket"
MilterSocketGroup disabled
MilterSocketMode disabled
LocalNet disabled
OnClean = "Accept"
OnInfected = "Quarantine"
OnFail = "Defer"
RejectMsg disabled
AddHeader = "no"
ReportHostname disabled
VirusAction disabled
Chroot disabled
Whitelist disabled
SkipAuthenticated disabled
LogInfected disabled

Software settings
-----------------
Version: 0.96.1
Optional features supported: MEMPOOL IPv6 CLAMUKO AUTOIT_EA06 BZIP2 RAR 
Database directory: /var/lib/clamav
WARNING: freshclam.conf and clamd.conf point to different database directories

Platform information
--------------------
uname: Linux 2.6.34-git16.fc13.i686 #3 PREEMPT Sun May 30 21:17:11 PDT 2010 i686
OS: linux-gnu, ARCH: i386, CPU: i686
Full OS version: "Fedora release 13 (Goddard)"
zlib version: 1.2.3 (1.2.3), compile flags: 55

Build information
-----------------
GNU C: 4.4.4 20100630 (Red Hat 4.4.4-10) (4.4.4)
CPPFLAGS: 
CFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables -fno-strict-aliasing
CXXFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables
LDFLAGS: 
Configure: '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' 
'--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' 
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' 
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' 
'--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' 
'--mandir=/usr/share/man' '--infodir=/usr/share/info' '--program-prefix=' 
'--disable-clamav' '--disable-llvm' '--disable-static' '--disable-zlib-vcheck' 
'--enable-check' '--enable-clamdtop' '--enable-dns' '--enable-id-check' 
'--enable-milter' '--with-dbdir=/var/clamav' '--with-group=clamav' 
'--with-libcurl' '--with-user=clamav' 'build_alias=i686-pc-linux-gnu' 
'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables' --enable-ltdl-convenience
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to