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


Groups > linux.debian.user > #158414

Re: Connection failure: Amavis-> ClamAV

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

Show all headers | View raw


[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

Back to linux.debian.user | Previous | Next — Previous 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