[Rspamd-Users] Upgrade from 1.8.3 to 1.9.0 broke ( Debian 9.8 )

B. Reino reinob at bbmk.org
Thu Apr 4 19:00:10 UTC 2019


On Thu, 4 Apr 2019, Sophie Loewenthal wrote:

> [...]
> And started rspamd and only got this each time:
>
> # > /var/log/rspamd/rspamd.log && /etc/init.d/rspamd restart && cat /var/log/rspamd/rspamd.log
> 2019-04-04 06:39:02 #19652(main) <e83c3e>; main; rspamd_term_handler: catch termination signal, waiting for children
> 2019-04-04 06:39:02 #19680(hs_helper) <e83c3e>; main; rspamd_worker_term_handler: terminating after receiving signal Terminated
> 2019-04-04 06:39:02 #19652(main) <e83c3e>; main; wait_for_workers: hs_helper process 19680 terminated softly
> 2019-04-04 06:39:11 #19678(controller) <h53tjj>; lua; neural.lua:810: check ANN tRFANN591E4369F1C86ED0260
> 2019-04-04 06:39:11 #19678(controller) <h53tjj>; lua; neural.lua:822: no need to learn ANN tRFANN591E4369F1C86ED0260 28 learn vectors (1000 required)
> 2019-04-04 06:39:12 #19652(main) <e83c3e>; main; wait_for_workers: terminate worker rspamd_proxy(19677) with SIGKILL
> 2019-04-04 06:39:12 #19652(main) <e83c3e>; main; wait_for_workers: terminate worker controller(19678) with SIGKILL
> 2019-04-04 06:39:12 #19652(main) <e83c3e>; main; wait_for_workers: terminate worker normal(19679) with SIGKILL
> 2019-04-04 06:39:12 #19652(main) <e83c3e>; main; wait_for_workers: rspamd_proxy process 19677 terminated hardly
> 2019-04-04 06:39:12 #19652(main) <e83c3e>; main; wait_for_workers: controller process 19678 terminated hardly
> 2019-04-04 06:39:12 #19652(main) <e83c3e>; main; wait_for_workers: normal process 19679 terminated hardly
> 2019-04-04 06:39:12 #19652(main) <e83c3e>; main; main: terminating…

>From the looks of it, your "/etc/init.d/rspamd restart" stops rspamd but 
somehow fails to even try to start it.

Perhaps it's safer to stop/kill it, and then /etc/init.d/rspamd start

(BTW why /etc/init.d/rspamd instead of systemctl restart rspamd?,
you are (should be, with debian) using systemd..)

The systemd unit effectively runs
/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f

under the _rspamd user, which should amount to:

$ sudo -u _rspamd /usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f

If you run the above, hopefully you will get something which we can work 
with..

Good luck.


More information about the Users mailing list