i have the following in my config
TCPSocket 3310

and if i start clamd with
sudo -u clamav /usr/sbin/clamd --config-file=/etc/clamav/clamd.conf
it *will* bind to that address and port.

The following lines are in the log through a direct start:
Fri Aug 26 17:09:53 2016 -> TCP: Bound to [0.0.0.0]:3310
Fri Aug 26 17:09:53 2016 -> TCP: Setting connection queue length to 15
Fri Aug 26 17:09:53 2016 -> TCP: Bound to [::]:3310

When starting via /etc/init.d/clamav-daemon start or sudo service
clamav-daemon start it does not bind to the port.

i see these lines in the log via init.d
Fri Aug 26 17:06:57 2016 -> TCP: No tcp AF_INET/AF_INET6 SOCK_STREAM socket
received from systemd.
Fri Aug 26 17:06:57 2016 -> LOCAL: Received AF_UNIX SOCK_STREAM socket from
systemd.

clamd -V
ClamAV 0.99/22148/Fri Aug 26 11:34:54 2016

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:   Ubuntu 16.04 LTS
Release:       16.04
Codename:       xenial

Thanks for any guidance, this is kind of maddening.  Its working fine on a
few other servers and after removing the ip address config they are
identical.
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to