Joachim wrote: > Am Mittwoch, 29. Juni 2005 16:06 schrieb Gary V: >> Joachim wrote: >> >> > Hello Tom, >> > I found that one should us pid _OR_ socket to connect between >> > amavisd-new and clamav. >> > Enabling both did not work for me. >> >> > Joe >> >> I think that should read LocalSocket *or* TCPSocket, but not both. The >> pid file stores the process ID, if I am not mistaken.
> Yes, of course, TCP _or_ local socket, > but: PID is disabled by default in clamd.conf; when I enabled it, > amavisd tries to connect to the pid as a socket, what can not work > (as far as I remember - I solved the problem some days ago > and cannot go back for testing...). > Joe Hmm, I don't know. I have not seen that happen before. I don't know what combination of settings could cause this. It it were me, I would make a special directory to hold the pid file and make the clamav user owner of that directory, as I have shown Tom. If you run clamd as user/group 'clamav': mkdir /var/run/clamav chown -R clamav:clamav /var/run/clamav Then, in clamd.conf, set PidFile /var/run/clamav/clamd.pid Restart clamd and look in clamd.log for errors. It's up to you if you would like to try this sometime. Gary V ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
