Mengatasi rspamd tidak bisa distart

Berikut panduan cara mengatasi rspamd tidak bisa distart dengan keterangan seperti ini:

rspamd.service - rapid spam filtering system
Loaded: loaded (/usr/lib/systemd/system/rspamd.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit) since Wed 2021-11-17 09:51:55 WIB; 43s ago
Docs: https://rspamd.com/doc/
Process: 29401 ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f (code=exited, status=1/FAILURE)
Main PID: 29401 (code=exited, status=1/FAILURE)

Nov 17 09:51:55 idnetter.com systemd[1]: rspamd.service: main process exited, code=exited, status=1/FAILURE
Nov 17 09:51:55 idnetter.com systemd[1]: Unit rspamd.service entered failed state.
Nov 17 09:51:55 idnetter.com systemd[1]: rspamd.service failed.
Nov 17 09:51:55 idnetter.com systemd[1]: rspamd.service holdoff time over, scheduling restart.
Nov 17 09:51:55 idnetter.com systemd[1]: Stopped rapid spam filtering system.
Nov 17 09:51:55 idnetter.com systemd[1]: start request repeated too quickly for rspamd.service
Nov 17 09:51:55 idnetter.com systemd[1]: Failed to start rapid spam filtering system.
Nov 17 09:51:55 idnetter.com systemd[1]: Unit rspamd.service entered failed state.
Nov 17 09:51:55 idnetter.com systemd[1]: rspamd.service failed.

Langkah untuk fix rspamd

1. Update system

CentOS 7

yum update -y

Untuk Debian/Ubuntu

apt update -y

2. Ganti owner direktori log

Saat instalasi rspamd ownernya masih root, ganti ke user dan group _rspamd

chown _rspamd. /var/log/rspamd/ -R

3. Start rspamd

systemctl start rspamd

4. Check status

systemctl status rspamd

Hasilnya

rspamd.service - rapid spam filtering system
Loaded: loaded (/usr/lib/systemd/system/rspamd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2021-11-17 09:56:23 WIB; 3s ago
Docs: https://rspamd.com/doc/
Main PID: 29917 (rspamd)
CGroup: /system.slice/rspamd.service
└─29917 /usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f

Nov 17 09:56:23 idnetter.com systemd[1]: Started rapid spam filtering system.
Nov 17 09:56:23 idnetter.com rspamd[29917]: 2021-11-17 09:56:23 #29917(main) <274d14>; main; main: rspamd 3…ease
Hint: Some lines were ellipsized, use

5. Aktifkan saat booting

systemctl enable rspamd

Selesai, semoga bermanfaat.

Add a comment

Exit mobile version