Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #158410 > unrolled thread
| Started by | Daniel Bareiro <daniel-listas@gmx.net> |
|---|---|
| First post | 2015-09-29 16:00 +0200 |
| Last post | 2015-09-29 16:50 +0200 |
| Articles | 3 — 1 participant |
Back to article view | Back to linux.debian.user
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
| From | Daniel Bareiro <daniel-listas@gmx.net> |
|---|---|
| Date | 2015-09-29 16:00 +0200 |
| Subject | Connection failure: Amavis-> ClamAV |
| Message-ID | <qe3BP-8he-79@gated-at.bofh.it> |
[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
[toc] | [next] | [standalone]
| From | Daniel Bareiro <daniel-listas@gmx.net> |
|---|---|
| Date | 2015-09-29 16:40 +0200 |
| Message-ID | <qe4ev-Oh-43@gated-at.bofh.it> |
| In reply to | #158410 |
[Multipart message — attachments visible in raw view] — view raw
Hi, again! On 29/09/15 10:56, Daniel Bareiro wrote: > 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. I see this in /var/log/clamav/clamav.log: Tue Sep 29 11:21:46 2015 -> TCP: No tcp AF_INET/AF_INET6 SOCK_STREAM socket received from systemd. So maybe it is related to this. Best regards, Daniel
[toc] | [prev] | [next] | [standalone]
| From | Daniel Bareiro <daniel-listas@gmx.net> |
|---|---|
| Date | 2015-09-29 16:50 +0200 |
| Message-ID | <qe4ob-ZN-59@gated-at.bofh.it> |
| In reply to | #158413 |
[Multipart message — attachments visible in raw view] — view raw
Hi! On 29/09/15 11:30, Daniel Bareiro wrote: >> 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. > I see this in /var/log/clamav/clamav.log: > > Tue Sep 29 11:21:46 2015 -> TCP: No tcp AF_INET/AF_INET6 SOCK_STREAM > socket received from systemd. > > So maybe it is related to this. Well, it seems it was definitely something related to systemd. Just after running the following (as suggested here [1]): root@mail:/var/run/clamav# systemctl --system daemon-reload root@mail:/var/run/clamav# systemctl restart clamav-daemon.socket root@mail:/var/run/clamav# systemctl restart clamav-daemon.service the socket file was created: root@mail:/var/run/clamav# ll total 8 srw-rw-rw- 1 clamav clamav 0 sep 29 11:39 clamd.ctl -rw-rw-r-- 1 clamav clamav 5 sep 29 11:40 clamd.pid -rw-rw---- 1 clamav clamav 5 sep 29 10:25 freshclam.pid Best regards, Daniel [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771911
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web