Hi all,
My configuration is:
kernel: 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:39:22 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
postfix: 2.3.3-2
dovecot: 1.0-1.1.rc15.fc6
amavisd-new: 2.4.4-2.fc6
clamav: 0.90.1-26.fc6.at
After being up and running for 2 years, or so,
suddenly I get this error message (/var/log/maillog):
...
Aug 1 13:44:42 collaboration amavis[8698]: (08698-02-40) Using (ClamAV-clamd) on dir: CONTSCAN /var/spool/amavisd/tmp/amavis-20080801T134442-08698/parts\n
Aug 1 13:44:42 collaboration amavis[8698]: (08698-02-40) ClamAV-clamd: Sending CONTSCAN /var/spool/amavisd/tmp/amavis-20080801T134442-08698/parts\n to UNIX socket /var/run/clamav/clamd.socket
Aug 1 13:44:42 collaboration amavis[8698]: (08698-02-40) ClamAV-clamd: Can't send to socket /var/run/clamav/clamd.socket:no such file or directory
...
Have checked the configuration and looks OK.
/etc/amavisd/amavisd.conf:
...
# ###
http://www.clamav.net/
['ClamAV-clamd',
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.socket"],
qr/\bOK$/, qr/\bFOUND$/,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ]
...
/etc/clamd.conf:
...
PidFile /var/run/clamav/clamd.pid
LocalSocket /var/run/clamav/clamd.socket
User amavis
...
When I run:
/etc/init.d/clamav start
it start the clamd daemon but there is no
"clamd.pid" nor "clamd.socket" file in /var/run/clamav
only "freshclam.pid".
Running /etc/init.d/clamav status gives me
"clamd {pid 9073} is running" !!!
Where can be the "clamad.pid" and "clamd.socket" located ??
Any ideas for solving this situation ??