Nigel Horne wrote:
On Friday 13 May 2005 11:34, George Chelidze wrote:
Nigel Horne wrote:
On Friday 13 May 2005 10:56, George Chelidze wrote:
Nigel Horne wrote:
On Friday 13 May 2005 07:21, George Chelidze wrote:
Hello,
System: RH 7.3, kernel: 2.4.24, gcc 2.96
I tried to upgrade to 0.85 this morning. Everything compiled just fine,
clamd started fine but clamav-milter doesn't start. It outputs the
following in debug mode:
LibClamAV debug: Running as user clamav (UID 101, GID 11)
LibClamAV debug: pingServer-1: sending VERSION
LibClamAV debug: Setting /tmp as global temporary directory
LibClamAV debug: Making /tmp/clamav-71886380fcea2de4
and then nothing. /tmp/clamav-71886380fcea2de4 has been created. Anyone
seeing the same on their systems? Any ideas?
Here are my config files:
clamav-milter starts this way:
daemon /usr/sbin/chroot /usr/local/clamav /sbin/clamav-milter
${CLAMAV_FLAGS}
clamav-milter.conf
CLAMAV_FLAGS="-c /etc/clamd.conf -nlPH unix:/ctl/clamav-milter.ctl
--external"
clamd.conf
LogFile /var/log/clamd.log
LogFileMaxSize 20M
LogTime
LogFacility LOG_MAIL
LogSyslog
PidFile /var/run/clamd.pid
TemporaryDirectory /tmp
DatabaseDirectory /bases
LocalSocket /ctl/clamd.ctl
FixStaleSocket
ExitOnOOM
MaxConnectionQueueLength 30
StreamMaxLength 10M
MaxThreads 64
ReadTimeout 180
IdleTimeout 30
MaxDirectoryRecursion 15
SelfCheck 3600
User clamav
ScanPE
ScanHTML
ScanOLE2
ScanMail
ScanArchive
ScanRAR
ArchiveMaxFileSize 10M
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxCompressionRatio 200
Have you restarted clamd after the installation?
sure.
Remove the file /ctl/clamav-milter.ctl (if it exists) and restart clamav-milter. Has
/ctl/clamav-milter.ctl been recreated?
No, it's not...
from /var/log/maillog:
May 13 10:08:58 ns sendmail[12068]: j4D68wIm012068: Milter (clamav):
local socket name /usr/local/clamav/ctl/clamav-milter.ctl unsafe
May 13 10:08:58 ns sendmail[12068]: j4D68wIm012068: Milter (clamav): to
error state
May 13 10:08:58 ns sendmail[12068]: j4D68wIm012068: Milter: connect to
filters
I have checked /usr/local/clamav/ctl/clamav-milter.ctl and it doesn't
exist. Also nothing in /usr/local/clamav/var/log/clamd.log.
What's /usr/local/clamav/var/log/clamd.log?
I didn't ask for /usr/local/clamav/ctl/clamav-milter.ctl, I asked for
/ctl/clamav-milter.ctl
Thanks,
-Nigel
i have had a similar problem before when upgrading...
the clamd has to be started before u start the clamav-milter
check if that perhaps can help u...
wilhelm
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html