[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Connection failure: Amavis-> ClamAV



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

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: