View Single Post
Old 27th November 2010, 19:10
pturkey pturkey is offline
Junior Member
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default Better fix

Fedora 13 and 14 I have found that have the same problem.
The is the problem not the clamd.sock.

You can repair this problem two ways.
This seems to me to be the best way.
by editing the /etc/clamd.d/amavisd.conf
and change the line "PidFile /var/run/amavisd/" to "PidFile /var/run/clamd.amavisd/"
and create the new folder.
mkdir /var/run/clamd.amavisd/
chown amavis.amavis /var/run/clamd.amavisd/

I think that this fix will be broken again on the next update.
edit the /usr/share/clamav/clamd-wrapper
and change CLAMD_PIDFILE=/var/run/clamd.${CLAMD_SERVICE}/ to CLAMD_PIDFILE=/var/run/${CLAMD_SERVICE}/
Reply With Quote