ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.69k stars 1.83k forks source link

rspamd.service can't start (Yunohost install) #184

Closed MX10-AC2N closed 2 years ago

MX10-AC2N commented 2 years ago

Hi @ophub I've tried install yunohost over your last release Armbian_22.05.0_Aml_s922x_bullseye_5.15.30_2022.03.20.1139.img flashed on usb. Yunohost still in beta release for Bullseye. The script install finished without problem, all seem to be good but one service (rspamd) can't start.. If i try yunohost after switching kernel to linux-image-arm64 there is no problem with rspamd.service so I think your kernel need some modification for rspamd.service maybe I need make some modifcation on my system but I don't know wich ones. If you have any idea, thank in advance.. If you want try see https://forum.yunohost.org/t/beta-stage-testing-for-yunohost-11-0-bullseye-and-buster-bullseye-migration/18531 the yunohost install just need two command on a fresh armbian

$ wget https://install.yunohost.org/bullseye -O install_script
$ bash install_script -d testing

Thank again

ophub commented 2 years ago

I don't know much about this service, if you know what options you need to enable in the kernel, you can give feedback. Or try custom compiling the kernel to add extra functionality.

MX10-AC2N commented 2 years ago

some curious things that I can see in /var/log/kern.log

Mar 20 11:41:57 armbian kernel: [    0.000000] Unknown kernel command line parameters "cgroup_enable=memory cgroup_memory=1 mac=12:35:eb:a2:46:88", will be passed to user space.

Mar 20 11:41:57 armbian kernel: [    1.651234] "cryptomgr_test" (106) uses obsolete ecb(arc4) skcipher

Mar 20 11:41:57 armbian kernel: [    4.510105] debugfs: Directory 'ff800280.cec' with parent 'regmap' already present!

Mar 20 11:41:57 armbian kernel: [    4.920396] [drm] kms: can't enable cloning when we probably wanted to.

Mar 20 11:41:57 armbian kernel: [    5.407404] simple-framebuffer: probe of f4807000.framebuffer failed with error -22

Mar 20 11:41:57 armbian kernel: [   15.047738] random: 7 urandom warning(s) missed due to ratelimiting

Mar 20 11:41:57 armbian kernel: [   15.097361] [drm] kms: can't enable cloning when we probably wanted to.

Mar 20 11:41:57 armbian kernel: [   16.071981] debugfs: File 'Capture' in directory 'dapm' already present!

Mar 20 11:41:57 armbian kernel: [   16.351666] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4356-sdio.azw,gtking.bin failed with error -2

Mar 20 11:41:57 armbian kernel: [   16.446516] Driver 'hci_uart_qca' needs updating - please use bus_type methods

Maybe that's where it came from, but I'm not knowledgeable enough to be sure. Where can I find the problem... here is what returns rspamd

mars 20 12:30:21 systemd[1]: Started rapid spam filtering system.
mars 20 12:30:21 systemd[1]: rspamd.service: Main process exited, code=killed, status=11/SEGV
mars 20 12:30:21 systemd[1]: rspamd.service: Failed with result 'signal'.
mars 20 12:30:21 systemd[1]: rspamd.service: Scheduled restart job, restart counter is at 1.
mars 20 12:30:21 systemd[1]: Stopped rapid spam filtering system.
mars 20 12:30:21 systemd[1]: Started rapid spam filtering system.
mars 20 12:30:21 systemd[1]: rspamd.service: Main process exited, code=killed, status=11/SEGV
mars 20 12:30:21 systemd[1]: rspamd.service: Failed with result 'signal'.
mars 20 12:30:21 systemd[1]: rspamd.service: Scheduled restart job, restart counter is at 2.
mars 20 12:30:21 systemd[1]: Stopped rapid spam filtering system.
mars 20 12:30:21 systemd[1]: Started rapid spam filtering system.
mars 20 12:30:21 systemd[1]: rspamd.service: Main process exited, code=killed, status=11/SEGV
mars 20 12:30:21 systemd[1]: rspamd.service: Failed with result 'signal'.
mars 20 12:30:22 systemd[1]: rspamd.service: Scheduled restart job, restart counter is at 3.
mars 20 12:30:22 systemd[1]: Stopped rapid spam filtering system.
mars 20 12:30:22 systemd[1]: Started rapid spam filtering system.
mars 20 12:30:22 systemd[1]: rspamd.service: Main process exited, code=killed, status=11/SEGV
mars 20 12:30:22 systemd[1]: rspamd.service: Failed with result 'signal'.
mars 20 12:30:22 systemd[1]: rspamd.service: Scheduled restart job, restart counter is at 4.
mars 20 12:30:22 systemd[1]: Stopped rapid spam filtering system.
mars 20 12:30:22 systemd[1]: Started rapid spam filtering system.
mars 20 12:30:22 systemd[1]: rspamd.service: Main process exited, code=killed, status=11/SEGV
mars 20 12:30:22 systemd[1]: rspamd.service: Failed with result 'signal'.
mars 20 12:30:22 systemd[1]: rspamd.service: Scheduled restart job, restart counter is at 5.
mars 20 12:30:22 systemd[1]: Stopped rapid spam filtering system.
mars 20 12:30:22 systemd[1]: rspamd.service: Start request repeated too quickly.
mars 20 12:30:22 systemd[1]: rspamd.service: Failed with result 'signal'.
mars 20 12:30:22 systemd[1]: Failed to start rapid spam filtering system.
mars 20 12:30:24 systemd[1]: rspamd.service: Unit cannot be reloaded because it is inactive.
MX10-AC2N commented 2 years ago

I've add sid in /etc/apt/sources.list after I can upgrade rspamd to the lastest release (3.1) and now it works fine, sorry..

ophub commented 2 years ago

ok 👌