[Rspamd-Users] Connection refused to redis

Reio Remma reio at mrstuudio.ee
Mon Oct 21 10:33:51 UTC 2019


On 21/10/2019 13:27, Jiri Reischig wrote:
> Dne pondělí 21. října 2019 12:21:46 CEST, Reio Remma via Users napsal(a):
>> On 21/10/2019 13:14, Jiri Reischig wrote:
>>> Hello,
>>>
>>> I have "Connection refused" to redis errors in Rspamd log for some modules.
>>>
>>> Redis look like good. Other connections are OK.
>>>
>>> I don't known how to debug this problem more.
>>>
>>> Please, can any body help me?
>>>
>>> Example of my log:
>>>
>>>
>>> Oct 21 12:08:55  rspamd[22684]: <43e29a>; replies; replies.lua:139: sender is from local network
>>> Oct 21 12:08:55  rspamd[22684]: <43e29a>; replies; replies.lua:150: storing message-id for replies check
>>> Oct 21 12:08:55  rspamd[22684]: <43e29a>; lua; replies.lua:131: redis_set_cb received error: Connection refused
>>> Oct 21 12:08:55  rspamd[22684]: <3d58e8>; replies; replies.lua:139: sender is from local network
>>> Oct 21 12:08:55  rspamd[22684]: <3d58e8>; replies; replies.lua:150: storing message-id for replies check
>>> Oct 21 12:09:13  rspamd[22684]: <ed3102>; lua; mx_check.lua:83: redis_cache_cb received error: Connection refused
>>> Oct 21 12:09:18  rspamd[22684]: <efc942>; replies; replies.lua:139: sender is from local network
>>> Oct 21 12:09:18  rspamd[22684]: <efc942>; replies; replies.lua:150: storing message-id for replies check
>>> Oct 21 12:09:18  rspamd[22684]: <efc942>; lua; replies.lua:131: redis_set_cb received error: Connection refused
>>> Oct 21 12:09:18  rspamd[22684]: <f25f05>; replies; replies.lua:139: sender is from local network
>>> Oct 21 12:09:18  rspamd[22684]: <f25f05>; replies; replies.lua:150: storing message-id for replies check
>>> Oct 21 12:09:19  rspamd[22684]: <c019c3>; replies; replies.lua:139: sender is from local network
>>> Oct 21 12:09:19  rspamd[22684]: <c019c3>; replies; replies.lua:150: storing message-id for replies check
>>> Oct 21 12:09:19  rspamd[22684]: <c019c3>; lua; replies.lua:131: redis_set_cb received error: Connection refused
>>>
>> Hello! Do you have anything specific in /etc/rspamd/local.d/replies.conf ?
>>
> I think no.
>
> There is my local.d/replies.conf
>
> servers = "/var/run/redis/redis.sock";
> enabled = true;
> expire = 604800;

I don't have replies.conf at all myself and it seems to work nicely. 
Does your global redis.conf have the same servers = 
"/var/run/redis/redis.sock"?


More information about the Users mailing list