Rspamd install - Cannot connect to Redis

ساخت وبلاگ
Hello,

I am hoping that someone may be able to share some suggestions. Today I went through the installation of Rspamd following the Directadmin Docs. Since this server does not have Spamassassin installed, I installed what I believe to be the system requirements using the following:

cd /usr/local/directadmin/custombuild
./build update
./build set eximconf yes
./build set eximconf_release 4.5
./build set blockcracking yes
./build set easy_spam_fighter yes
./build set spamd rspamd
./build set exim yes
./build exim
./build rspamd
./build exim_conf

This is a Centos 7 server and my custombuild options include:

Exim: 4.95
exim.conf update: yes, release 4.5
BlockCracking: yes
Easy Spam Fighter: yes
Rspamd: 1.8.1

During the build process I found Redis was installed as confirmed by another post in the forum. After the installation /var/log/rspamd/rspamd.log displays the following repeated entries. Similar errors also appear when navigating to > Mail Queue Administration > Rspamd Controller > History (among other errors).

#23968(controller) redis_async_new: cannot connect to redis /var/lib/rspamd/.redis/redis.sock (port 0): No such file or directory
#23968(controller) rspamd_lua_redis_prepare_connection: cannot connect to redis (OS error): No such file or directory
#23968(controller) lua; lua_redis.lua:1222: cannot execute redis request to load script on /var/lib/rspamd/.redis/redis.sock

*I saved a users' SpamAssassin settings for testing through DirectAdmin - the config files do appear at /etc/rspamd/users.d/username.conf.

My dilemma:

Are the error messages typical for DirectAdmin without the "Pro Pack" - or have I missed something during the installation?

Does Redis need to be manually started/enabled with systemctl start redis.service + systemctl enable redis? (Not mentioned in the DA Docs).

I found a similar issue in the forum - no reply was provided for this user.

Any assistance is greatly appreciated - thanks!

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 67 تاريخ : جمعه 3 شهريور 1402 ساعت: 15:25