[clamav-users] ERROR: NotifyClamd: Can't connect to clamd on 127.0.0.1:3310: Connection refused
Chris
cpollock at embarqmail.com
Thu Feb 1 17:23:24 UTC 2018
On Thu, 2018-02-01 at 07:51 -0800, Dennis Peterson wrote:
> Use the nc tool to connect to that port. If you get a connection then
> type PING.
> It should return PONG and disconnect. If that doesn't happen you have
> a config
> misunderstanding.
>
> dp
Thanks Dennis, I used nc -zv to try and connect to port 3310 with
127.0.0.1 as per my settings:
nc -zv 127.0.0.1 3300-3400
nc: connect to 127.0.0.1 port 3300 (tcp) failed: Connection refused
nc: connect to 127.0.0.1 port 3301 (tcp) failed: Connection refused
nc: connect to 127.0.0.1 port 3302 (tcp) failed: Connection refused
nc: connect to 127.0.0.1 port 3303 (tcp) failed: Connection refused
nc: connect to 127.0.0.1 port 3304 (tcp) failed: Connection refused
nc: connect to 127.0.0.1 port 3305 (tcp) failed: Connection refused
nc: connect to 127.0.0.1 port 3306 (tcp) failed: Connection refused
nc: connect to 127.0.0.1 port 3307 (tcp) failed: Connection refused
nc: connect to 127.0.0.1 port 3308 (tcp) failed: Connection refused
nc: connect to 127.0.0.1 port 3309 (tcp) failed: Connection refused
nc: connect to 127.0.0.1 port 3310 (tcp) failed: Connection refused
Odd that in all the years I've run ClamAV with the same settings I've
not had this problem.
Using nc -l 3310 in one terminal and nc 127.0.0.1 3310 I get:
nc -l 3310
test
this is a test
nc 127.0.0.1 3310
test
this is a test
So, IIUC I can talk to port 3310 with 127.0.0.1 or am I incorrect?
>
> On 2/1/18 6:49 AM, Chris wrote:
> >
> > First of all regarding my previous post - "Cannot connect to unix
> > socket '/var/lib/clamav/clamd.socket': connect: No such file or
> > directory" on Tuesday, I at least have that working. However, now
> > whenever an update is done to a database I'm seeing - ERROR:
> > NotifyClamd: Can't connect to clamd on 127.0.0.1:3310: Connection
> > refused. This is:
> >
> _______________________________________________
> clamav-users mailing list
> clamav-users at lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
--
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
11:12:38 up 1 day, 17:55, 1 user, load average: 0.63, 0.86, 1.18
Description: Ubuntu 16.04.3 LTS, kernel 4.13.0-32-generic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20180201/4baed5d9/attachment.sig>
More information about the clamav-users
mailing list