Hello.
I am running clamav[0] on centos 5 and trying to get it integrated
with postfix and procmail[1].  I get one of two error messages showing
up in /tmp/clamd.log when procmail runs[2]

When I configure clamd.conf to use the LocalSocket directive, I
get "cant connect to clamd".  If I change clamd.conf to listen
on 0.0.0.0:3310 then I get "Can't create the socket".

clamd is indeed running[3] as well as freshclam. Both processes run
as the clamav user.  config file is below[4] for using /tmp/clamd.socket
What seems to be wrong here?

Thanks


[0]
clamav-0.92-1.el4.rf
clamav-db-0.92-1.el4.rf

[1]
:0
CLAMDOUT=|/usr/bin/clamdscan --no-summary --stdout --log=/tmp/clamd.log  - | 
cut -d' ' -f2 -

[2]
--------------------------------------
WARNING: Can't connect to clamd.
...
--------------------------------------
WARNING: Can't create the socket.


[3]
$ ps -ef | grep clam
clamav   12477     1  2 09:15 ?        00:00:02 clamd
clamav   12483     1  0 09:15 ?        00:00:00 /usr/bin/freshclam -d -c 24 
--quiet -p /var/run/clamav/freshclam.pid --daemon-notify=/etc/clamd.conf


[4]
LogFile /var/log/clamav/clamd.log
LogTime yes
LogSyslog yes
LogVerbose yes
PidFile /var/run/clamav/clamd.pid
TemporaryDirectory /var/tmp
DatabaseDirectory /var/clamav
LocalSocket /tmp/clamd.socket
FixStaleSocket yes
MaxConnectionQueueLength 30
MaxThreads 50
ReadTimeout 300
User clamav
AllowSupplementaryGroups yes
Debug yes
ScanPE yes
ScanELF yes
DetectBrokenExecutables yes
ScanOLE2 yes
ScanMail yes
ScanArchive yes
ArchiveMaxCompressionRatio 300
ArchiveBlockEncrypted no
ArchiveBlockMax no

-- 

Flambeau Inc. Technology Center - Baraboo, WI
Email    : [EMAIL PROTECTED]
Keyserver: http://pgp.mit.edu KeyID: 0x00E9EC2C
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to