rspamc stat error

545 views
Skip to first unread message

marc perkel

unread,
Dec 16, 2015, 5:09:41 PM12/16/15
to rspamd
rspamc stat
Results for command: stat (0.000 seconds)
IO write error: Connection refused

What am I doing wrong?

Vsevolod Stakhov

unread,
Dec 16, 2015, 6:46:49 PM12/16/15
to marc perkel, rspamd
I don't know indeed. Is rspamd process started? Does it listen on a
correct socket (ss -l)? Are there any issues with ipv4/ipv6 in your
system? You might try something like `rspamc -h 127.0.0.1:11334 stat` to
ensure that your network is fine.

--
Vsevolod Stakhov

marc perkel

unread,
Dec 16, 2015, 6:58:21 PM12/16/15
to rspamd, grinz...@gmail.com
Thanks for your help.

worker {
    bind_socket = "*:11333";
    .include "$CONFDIR/worker-normal.inc"
}

worker {
    bind_socket = "*:11334";
    .include "$CONFDIR/worker-controller.inc"
}

LISTEN     0      0                                                                                        *:ssh                                                                                       *:*       
LISTEN     0      0                                                                                        *:ddi-tcp-1                                                                                   *:*       
LISTEN     0      0                                                                                        *:11333                                                                                     *:*       
LISTEN     0      0                                                                                        *:dfn                                                                                       *:*       
LISTEN     0      0                                                                                       :::ssh                                                                                      :::*       
LISTEN     0      0                                                                                       :::11333                                                                                    :::*       
LISTEN     0      0                                                                                       :::dfn                                                                                      :::* 


rspamc -h 127.0.0.1:11334 stat
Results for command: stat (0.000 seconds)
IO write error: Connection refused

Vsevolod Stakhov

unread,
Dec 16, 2015, 7:03:21 PM12/16/15
to marc perkel, rspamd
On 16/12/2015 23:58, marc perkel wrote:
> Thanks for your help.
>
> worker {
> bind_socket = "*:11333";
> .include "$CONFDIR/worker-normal.inc"
> }
>
> worker {
> bind_socket = "*:11334";
> .include "$CONFDIR/worker-controller.inc"
> }

That looks valid but it seems that controller worker has not started. Do
you see anything unusual in the logs when rspamd is started?

--
Vsevolod Stakhov

Marc Perkel

unread,
Dec 16, 2015, 9:02:55 PM12/16/15
to Vsevolod Stakhov, rspamd
I figured it out. My own mistake. Thanks for the help. I had changed the
port number and forgot about it.

Reply all
Reply to author
Forward
0 new messages