[Postfixbuch-users] Clamav clamd.pid Problem

Andreas Winkelmann ml at awinkelmann.de
Sa Jun 4 14:04:15 CEST 2005


Am Friday 03 June 2005 17:38 schrieb lx:

> ich bekomme immer wenn eine Mail reinkommt diese Fehlermeldung:
>
> May 30 03:59:39 h318908 amavis[1752]: (01752-10) ClamAV-clamd: Can't
> connect to UNIX socket /var/run/clamav/clamd.pid: Verbindungsaufbau
> abgelehnt, retrying (2)

> Habe überprüft ob /var/run/clamav/clamd.pid existiert... und das tut sie.
> Der Process ist auch da...
> Recht habe ich auch gecheckt sind auf amavis eingestellt....

Also ich würde mal stark vermuten, dass es sich bei clamd.pid nicht um ein 
Socket, sondern um eine normale Datei mit der ProzessId von dem clam-Daemon 
handelt. Check doch mal im Filesystem die Flags der Datei.

# ls -l clamd*

-rw-rw----   1 vscan vscan       4 2005-06-04 13:55 clamd.pid
srwxrwxrwx   1 vscan vscan       0 2005-06-04 13:55 clamd-socket

Man beachte das "s" vor dem richtigen Socket.

Korrigieren kannst Du das in der /etc/amavisd.conf. Finder heraus wo das 
Socket ist (/etc/clamd.conf) und stelle es in der amavisd.conf ein.

-- 
	Andreas



Mehr Informationen über die Mailingliste Postfixbuch-users