[Rspamd-Users] Ok another one...
Michelle Sullivan
michelle at isux.com
Sat Sep 13 14:30:34 UTC 2025
This is probably a no brainer to some, but I can’t find any docs on what it might be…
Sep 14 00:08:00 thunderhawk rspamd[41501]: <bd24ee>; csession; lua_metric_symbol_callback: call to (PD_FROM_CHECK) failed (2): /usr/local/share/rspamd/lualib/lua_redis.lua:973: attempt to call a nil value (method 'get_upstream_by_hash'); trace: [1]:{/usr/local/share/rspamd/lualib/lua_redis.lua:973 - redis_make_request [Lua]}; [2]:{/etc/rspamd/lua.local.d/pd_from_check.lua:94 - pd_check_redis [Lua]}; [3]:{/etc/rspamd/lua.local.d/pd_from_check.lua:143 - <unknown> [Lua]};
Sep 14 00:08:05 thunderhawk rspamd[41501]: <bd24ee>; lua; lua_redis.lua:1543: redis script from file: bayes_classify.lua is not loaded, trying to load
Sep 14 00:08:05 thunderhawk rspamd[41501]: <bd24ee>; csession; rspamd_redis_process_tokens: call to redis failed: /usr/local/share/rspamd/lualib/lua_redis.lua:1167: attempt to call a nil value (method 'all_upstreams'); trace: [1]:{/usr/local/share/rspamd/lualib/lua_redis.lua:1167 - prepare_redis_call [Lua]}; [2]:{/usr/local/share/rspamd/lualib/lua_redis.lua:1236 - load_script_task [Lua]}; [3]:{/usr/local/share/rspamd/lualib/lua_redis.lua:1547 - exec_redis_script [Lua]}; [4]:{/usr/local/share/rspamd/lualib/lua_bayes_redis.lua:39 - <unknown> [Lua]};
PD_FROM_CHECK is my module.. but there is also the issue with the bayes module so I am leaning it’s a config issue…
My /etc/rspamd/local.d/redis.conf is:
root at thunderhawk:/etc/rspamd/lua.local.d# more ../local.d/redis.conf
servers = "192.168.250.2";
write_servers = "192.168.250.2";
timeout = 1s;
db="0”;
root at thunderhawk:/etc/rspamd/lua.local.d#
It works though before anyone thinks otherwise:
root at thunderhawk:/etc/rspamd/lua.local.d# redis-cli -h 192.168.250.2
192.168.250.2:6379> SADD michelle michelle notmichelle
(integer) 2
192.168.250.2:6379> SMEMBERS michelle
1) "michelle"
2) "notmichelle"
192.168.250.2:6379>
root at thunderhawk:/etc/rspamd/lua.local.d#
Version is:
root at thunderhawk:/etc/rspamd/lua.local.d# rspamd --version
Rspamd daemon version 3.12.1
CPU architecture SPARC; features:
Hyperscan enabled: FALSE
Jemalloc enabled: FALSE
LuaJIT enabled: FALSE (Lua version: Lua 5.3)
ASAN enabled: FALSE
BLAS enabled: FALSE
Fasttext enabled: FALSE
root at thunderhawk:/etc/rspamd/lua.local.d#
Thanks,
Michelle
More information about the Users
mailing list