Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #158410

Connection failure: Amavis-> ClamAV

From Daniel Bareiro <daniel-listas@gmx.net>
Newsgroups linux.debian.user
Subject Connection failure: Amavis-> ClamAV
Date 2015-09-29 16:00 +0200
Message-ID <qe3BP-8he-79@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi all!

I'm noticing that when sending emails, it is apparently failing the
connection with ClamAV:

-----------------------------------------------------------------
Sep 29 10:17:22 mail amavis[6178]: (06178-02) (!)connect to
/var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX
socket /var/run/clamav/cl
amd.ctl: No existe el fichero o el directorio
Sep 29 10:17:23 mail amavis[6178]: (06178-02) (!)connect to
/var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX
socket /var/run/clamav/cl
amd.ctl: No existe el fichero o el directorio
Sep 29 10:17:23 mail amavis[6178]: (06178-02) (!)ClamAV-clamd: All
attempts (1) failed connecting to /var/run/clamav/clamd.ctl, retrying (2)
Sep 29 10:17:29 mail amavis[6178]: (06178-02) (!)connect to
/var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX
socket /var/run/clamav/cl
amd.ctl: No existe el fichero o el directorio
Sep 29 10:17:29 mail amavis[6178]: (06178-02) (!)ClamAV-clamd av-scanner
FAILED: run_av error: Too many retries to talk to
/var/run/clamav/clamd.ctl (All a
ttempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 96)
line 613.\n
Sep 29 10:17:29 mail amavis[6178]: (06178-02) (!)WARN: all primary virus
scanners failed, considering backups
-----------------------------------------------------------------

But clamd is running:

root@mail:/var/run/clamav# ps ax | grep clamd
 6687 ?        Ssl    0:16 /usr/sbin/clamd --foreground=true

The pidfile was generated:

root@mail:/var/run/clamav# ll
total 8
-rw-rw-r-- 1 clamav clamav 5 sep 29 10:26 clamd.pid
-rw-rw---- 1 clamav clamav 5 sep 29 10:25 freshclam.pid

But it seems the socket file is not created.

Has anyone experienced this behavior? I'm using Debian Jessie.


Thanks in advance.


Best regards,
Daniel

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Connection failure: Amavis-> ClamAV Daniel Bareiro <daniel-listas@gmx.net> - 2015-09-29 16:00 +0200
  Re: Connection failure: Amavis-> ClamAV Daniel Bareiro <daniel-listas@gmx.net> - 2015-09-29 16:40 +0200
    Re: Connection failure: Amavis-> ClamAV Daniel Bareiro <daniel-listas@gmx.net> - 2015-09-29 16:50 +0200

csiph-web