Re: amavis-clamav fails

2013-01-01 Thread Tony van der Hoff
On 27/12/12 14:32, Tony van der Hoff wrote:
 Hi,
 
 Running postfix/amavis/clamav on my mail server; of late (last week or
 two) I'm seeing error messages in syslog:
 
 Dec 27 13:52:43 vanderhoff amavis[18681]: (18681-03) ESMTP::10024
 /var/lib/amavis/tmp/amavis-20121227T130337-18681:
 bounce-debian-user=lists_0711=vanderhoff@lists.debian.org -
 t...@vanderhoff.org SIZE=5530 Received: from vanderhoff.org
 ([127.0.0.1]) by localhost (vanderhoff.org [127.0.0.1]) (amavisd-new,
 port 10024) with ESMTP for t...@vanderhoff.org; Thu, 27 Dec 2012
 13:52:43 + (GMT)
 Dec 27 13:52:43 vanderhoff amavis[18681]: (18681-03) Checking:
 qrJCYwQLf+d7 [82.195.75.100]
 bounce-debian-user=lists_0711=vanderhoff@lists.debian.org -
 t...@vanderhoff.org
 Dec 27 13:52:43 vanderhoff amavis[18681]: (18681-03) ClamAV-clamd: Can't
 send to socket /var/run/clamav/clamd.ctl: Transport endpoint is not
 connected, retrying (1)
 Dec 27 13:52:44 vanderhoff amavis[18681]: (18681-03) (!)ClamAV-clamd:
 Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or
 directory, retrying (2)
 Dec 27 13:52:51 vanderhoff amavis[18681]: (18681-03) (!)ClamAV-clamd
 av-scanner FAILED: run_av error: Too many retries to talk to
 /var/run/clamav/clamd.ctl (Can't connect to UNIX socket
 /var/run/clamav/clamd.ctl: No such file or directory) at (eval 103) line
 373.\n
 Dec 27 13:52:51 vanderhoff amavis[18681]: (18681-03) (!!)WARN: all
 primary virus scanners failed, considering backups
 
 I've tried restarting clamav-daemon, amavis and postscript; no obvious
 error messages, and the problem persists.
 
 Can anyone please suggest what's going wrong?
 
 Cheers, Tony
 


Followup for those scanning the archives:

I had an off-list reply as follows:
Make sure this is in order:

http://www200.pair.com/mecham/spam/clamav-amavisd-new.html

If clamav or amavis-new have been upgraded, the config files may have
changed.


This howto was useful in identifying the problem, but didn't address my
particular issue.

In fact, I changed permissions on /var/run/clamav from 755 to 775, and
restarted clamav-daemon successfully.

Cheers, Tony

-- 
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50e2e26f.7080...@vanderhoff.org



amavis-clamav fails

2012-12-27 Thread Tony van der Hoff
Hi,

Running postfix/amavis/clamav on my mail server; of late (last week or
two) I'm seeing error messages in syslog:

Dec 27 13:52:43 vanderhoff amavis[18681]: (18681-03) ESMTP::10024
/var/lib/amavis/tmp/amavis-20121227T130337-18681:
bounce-debian-user=lists_0711=vanderhoff@lists.debian.org -
t...@vanderhoff.org SIZE=5530 Received: from vanderhoff.org
([127.0.0.1]) by localhost (vanderhoff.org [127.0.0.1]) (amavisd-new,
port 10024) with ESMTP for t...@vanderhoff.org; Thu, 27 Dec 2012
13:52:43 + (GMT)
Dec 27 13:52:43 vanderhoff amavis[18681]: (18681-03) Checking:
qrJCYwQLf+d7 [82.195.75.100]
bounce-debian-user=lists_0711=vanderhoff@lists.debian.org -
t...@vanderhoff.org
Dec 27 13:52:43 vanderhoff amavis[18681]: (18681-03) ClamAV-clamd: Can't
send to socket /var/run/clamav/clamd.ctl: Transport endpoint is not
connected, retrying (1)
Dec 27 13:52:44 vanderhoff amavis[18681]: (18681-03) (!)ClamAV-clamd:
Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or
directory, retrying (2)
Dec 27 13:52:51 vanderhoff amavis[18681]: (18681-03) (!)ClamAV-clamd
av-scanner FAILED: run_av error: Too many retries to talk to
/var/run/clamav/clamd.ctl (Can't connect to UNIX socket
/var/run/clamav/clamd.ctl: No such file or directory) at (eval 103) line
373.\n
Dec 27 13:52:51 vanderhoff amavis[18681]: (18681-03) (!!)WARN: all
primary virus scanners failed, considering backups

I've tried restarting clamav-daemon, amavis and postscript; no obvious
error messages, and the problem persists.

Can anyone please suggest what's going wrong?

Cheers, Tony
-- 
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50dc5c03.7010...@vanderhoff.org