Solved rspamd fails to start

rpereyra

Verified User
Joined
Sep 8, 2013
Messages
42
Hello

Today rspamd fails to start.


---------------
Redirecting to /bin/systemctl status rspamd.service
● rspamd.service - rapid spam filtering system
Loaded: loaded (/usr/lib/systemd/system/rspamd.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit) since sáb 2023-03-18 08:25:51 -03; 1s ago
Docs: https://rspamd.com/doc/
Process: 3801497 ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f (code=killed, signal=ABRT)
Main PID: 3801497 (code=killed, signal=ABRT)

mar 18 08:25:51 srv10.contenidosonline.com.ar systemd[1]: Unit rspamd.service entered failed state.
mar 18 08:25:51 srv10.contenidosonline.com.ar systemd[1]: rspamd.service failed.
mar 18 08:25:51 srv10.contenidosonline.com.ar systemd[1]: rspamd.service holdoff time over, scheduling restart.
mar 18 08:25:51 srv10.contenidosonline.com.ar systemd[1]: Stopped rapid spam filtering system.
mar 18 08:25:51 srv10.contenidosonline.com.ar systemd[1]: start request repeated too quickly for rspamd.service
mar 18 08:25:51 srv10.contenidosonline.com.ar systemd[1]: Failed to start rapid spam filtering system.
mar 18 08:25:51 srv10.contenidosonline.com.ar systemd[1]: Unit rspamd.service entered failed state.
mar 18 08:25:51 srv10.contenidosonline.com.ar systemd[1]: rspamd.service failed.
------------------


-------------------
root@srv10 [/var/log/rspamd]# cat rspamd.log

2023-03-18 08:41:18 #3809953(main) <uz7wqz>; cfg; rspamd_init_lua_filters: init lua module whitelist from /usr/share/rspamd/plugins/whitelist.lua; digest: 093d6d1351
2023-03-18 08:41:18 #3809953(main) rspamd_url_init: start compiling of 9628 TLD suffixes; it might take a long time
2023-03-18 08:41:18 #3809953(main) rspamd_multipattern_compile: cannot allocate scratch space for hyperscan: error code -5
2023-03-18 08:41:18 #3809953(main) rspamd_url_init: cannot compile url matcher static patterns, fatal error: cannot allocate scratch space for hyperscan: error code -5


-------------------

All seems updated:

root@srv10 [/usr/local/directadmin/custombuild]# ./build versions
Latest version of DirectAdmin: 1.647 build de5c3a06b69527436608ad309b4fcbce92d583cd
Installed version of DirectAdmin: 1.647 build de5c3a06b69527436608ad309b4fcbce92d583cd

Latest version of Apache: 2.4.55
Installed version of Apache: 2.4.55

Latest version of Pure-FTPD: 1.0.51
Installed version of Pure-FTPd: 1.0.51

Latest version of ImageMagick: 7.1.0-62
Installed version of ImageMagick: 7.1.0-62

Latest version of imagick: 3.7.0
Installed version of imagick: 3.7.0

Latest version of composer: 2.5.3
Installed version of composer: 2.5.3

Latest version of mod_lsapi: 1.1-64
Installed version of mod_lsapi: 1.1-64

Latest version of mod_proctitle: 0.1-7
Installed version of mod_proctitle: 0.1-7

Latest version of mod_hostinglimits: 1.0-39
Installed version of mod_hostinglimits: 1.0-39

Latest version of ModSecurity: 2.9.7
Installed version of ModSecurity: 2.9.7

Latest version of AWstats: 7.9
Installed version of AWstats: 7.9

Latest version of dovecot: 2.3.20
Installed version of dovecot: 2.3.20

Latest version of dovecot.conf: 0.4
Installed version of dovecot.conf: 0.4

Latest version of Exim: 4.96-58-g4e9ed49f8
Installed version of Exim: 4.96-58-g4e9ed49f8

Latest version of lego: 953d5c85145b6a2b9a52f2d919faf23e04a359b3
Installed version of lego: 953d5c85145b6a2b9a52f2d919faf23e04a359b3

Latest version of exim.conf: 4.5.43
Installed version of exim.conf: 4.5.43

Latest version of BlockCracking: 1.12
Installed version of BlockCracking: 1.12

Latest version of Easy Spam Fighter: 1.32
Installed version of Easy Spam Fighter: 1.32

Latest version of Rspamd Config: 0.4
Installed version of Rspamd Config: 0.4

Latest version of MariaDB: 10.4.28
Installed version of MariaDB: 10.4.28

Latest version of PHP 7.3: 7.3.33
Installed version of PHP 7.3: 7.3.33

Latest version of RoundCube: 1.6.1
Installed version of RoundCube: 1.6.1

Latest version of phpMyAdmin: 5.2.1-all-languages
Installed version of phpMyAdmin: 5.2.1-all-languages

Latest version of ionCube: 12.0.4
Installed version of ionCube: 12.0.4

Latest version of SquirrelMail: 1.4.23-20220318_0200
Installed version of SquirrelMail: 1.4.23-20220318_0200

Can anyone help me to fix it ?

Thanks in advance

Roberto
 
same thing happen to me after update rspamd through yum update.
 
fixed !

Just run:

yum update

again, and rspamd is replaced with a fixed version.

and now start.
 
Thanks... just try to yum update again and it's working now.
 
Back
Top