Hi, I have a lot of errors in the rspamd.log See small exemple of errors (see files for more errors) 2022-01-05 17:15:22 #4956(normal) <rd39ti>; lua; lua_redis.lua:1200: cannot upload script to 127.0.0.1:6379: Connection refused; registered from: /usr/share/rspamd/lualib/plugins/neural.lua:194 2022-01-05 17:15:32 #4955(normal) rspamd_redis_stat_keys: cannot get keys to gather stat: Connection refused 2022-01-05 17:15:34 #4952(controller) rspamd_redis_stat_keys: cannot get keys to gather stat: Connection refused 2022-01-05 17:15:40 #4955(normal) rspamd_redis_stat_keys: cannot get keys to gather stat: Connection refused 2022-01-05 17:15:41 #4951(rspamd_proxy) <94cb4e>; proxy; proxy_accept_socket: accepted milter connection from ::1 port 33942 2022-01-05 17:15:43 #4952(controller) <rd39ti>; lua; lua_redis.lua:1200: cannot upload script to 127.0.0.1:6379: Connection refused; registered from: /usr/share/rspamd/lualib/plugins/neural.lua:192 2022-01-05 17:15:43 #4952(controller) <rd39ti>; lua; lua_redis.lua:1200: cannot upload script to 127.0.0.1:6379: Connection refused; registered from: /usr/share/rspamd/plugins/ratelimit.lua:207 My configuration is a fresh installation with script auto installation on Debian 11
Hi, It's failed with this error systemd[1]: Failed to start Advanced key-value store. I can start with any error manualy /usr/bin/redis-server /etc/redis/redis.conf
This is the complet error of status root@srv101:~# systemctl status redis-server.service ● redis-server.service - Advanced key-value store Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/system/service.d └─zzz-lxc-service.conf Active: failed (Result: exit-code) since Fri 2022-01-07 09:35:35 CET; 3h 10min ago Docs: http://redis.io/documentation, man:redis-server(1) Process: 391 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --supervised systemd --daemonize no (code=exited, status=226/NAMESPACE) Main PID: 391 (code=exited, status=226/NAMESPACE) Jan 07 09:35:35 srv101 systemd[1]: redis-server.service: Main process exited, code=exited, status=226/NAMESPACE Jan 07 09:35:35 srv101 systemd[1]: redis-server.service: Failed with result 'exit-code'. Jan 07 09:35:35 srv101 systemd[1]: Failed to start Advanced key-value store. Jan 07 09:35:35 srv101 systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 5. Jan 07 09:35:35 srv101 systemd[1]: Stopped Advanced key-value store. Jan 07 09:35:35 srv101 systemd[1]: redis-server.service: Start request repeated too quickly. Jan 07 09:35:35 srv101 systemd[1]: redis-server.service: Failed with result 'exit-code'. Jan 07 09:35:35 srv101 systemd[1]: Failed to start Advanced key-value store. And the erors when i start root@srv101:~# systemctl start redis-server.service Job for redis-server.service failed because the control process exited with error code. See "systemctl status redis-server.service" and "journalctl -xe" for details. root@srv101:~# systemctl status redis-server.service ● redis-server.service - Advanced key-value store Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/system/service.d └─zzz-lxc-service.conf Active: failed (Result: exit-code) since Fri 2022-01-07 12:47:02 CET; 4s ago Docs: http://redis.io/documentation, man:redis-server(1) Process: 27891 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --supervised systemd --daemonize no (code=exited, status=226/NAMESPACE) Main PID: 27891 (code=exited, status=226/NAMESPACE) Jan 07 12:47:02 srv101 systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 5. Jan 07 12:47:02 srv101 systemd[1]: Stopped Advanced key-value store. Jan 07 12:47:02 srv101 systemd[1]: redis-server.service: Start request repeated too quickly. Jan 07 12:47:02 srv101 systemd[1]: redis-server.service: Failed with result 'exit-code'. Jan 07 12:47:02 srv101 systemd[1]: Failed to start Advanced key-value store. root@srv101:~# journalctl -xe ░░ A stop job for unit redis-server.service has finished. ░░ ░░ The job identifier is 1187 and the job result is done. Jan 07 12:47:02 srv101 systemd[1]: redis-server.service: Start request repeated too quickly. Jan 07 12:47:02 srv101 systemd[1]: redis-server.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ The unit redis-server.service has entered the 'failed' state with result 'exit-code'. Jan 07 12:47:02 srv101 systemd[1]: Failed to start Advanced key-value store. ░░ Subject: A start job for unit redis-server.service has failed ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A start job for unit redis-server.service has finished with a failure. ░░ ░░ The job identifier is 1187 and the job result is failed.
In the future, please put such output in code tags (insert -> code) Searching online for "systemd[1]: Stopped Advanced key-value store." led me to https://stackoverflow.com/questions...-store-redis-server-service-control-process-e - this might help you.
Hi, I tested all, but no change. It's very strange, I can start manually redis with the both command line with no error Code: start-stop-daemon --start --quiet --oknodo --umask 007 --pidfile /var/run/redis/redis-server.pid --chuid redis:redis --exec /usr/bin/redis-server -- /etc/redis/redis.conf /usr/bin/redis-server /etc/redis/redis.conf --supervised systemd --daemonize no Can i use ispconfig without redis ? If yes, can i change configuration
Redis is needed for rspamd. Can you purge redis and reinstall it, and do a force ISPConfig after with ispconfig_update.sh --force?