I am getting this re-occurring issue once every couple of days.

Clam reloads the database, and stops.  No errors or anything.

/var/log/clamav/clamav.log

From the log file:

Tue Aug  4 20:40:48 2009 -> Reading databases from /var/lib/clamav
Tue Aug  4 20:40:51 2009 -> Database correctly reloaded (607047 signatures)
Tue Aug  4 20:41:55 2009 -> Socket file removed.
Tue Aug  4 20:41:55 2009 -> Pid file removed.
Tue Aug  4 20:41:55 2009 -> --- Stopped at Tue Aug  4 20:41:55 2009

This then causes my Amavis to fail as it cannot use the Clam Daemon:

Aug 4 20:45:01 vps10521 amavis[11280]: (11280-20) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x8c2a51c) Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 86) line 310. at (eval 86) line 511. Aug 4 20:45:01 vps10521 amavis[11280]: (11280-20) (!!)WARN: all primary virus scanners failed, considering backups Aug 4 20:45:09 vps10521 postfix/smtpd[23844]: warning: 201.87.122.70: hostname 201-87-122-70.static-corp.ajato.com.br verification failed: Name or service not known Aug 4 20:48:54 vps10521 amavis[9965]: (09965-04) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x8c2a51c) Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 86) line 310. at (eval 86) line 511.

Restarting the Clam daemon manually fixes the issue until it happens again.

Is there any advice to fixing this problem?

Ubuntu, Clam 0.94, conf file below:

#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
# 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
ArchiveLimitMemoryUsage false
ArchiveBlockEncrypted false
MaxDirectoryRecursion 15
FollowDirectorySymlinks false
FollowFileSymlinks false
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
StreamMaxLength 10M
LogSyslog true
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
MailFollowURLs 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
LogFile /var/log/clamav/clamav.log
LogTime true
LogFileUnlock false
LogFileMaxSize 0



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

Reply via email to