错误提示:# sudo service fail2ban restart
Redirecting to /bin/systemctl restart fail2ban.service
Job for fail2ban.service failed because the control process exited with error code. See "systemctl status
fail2ban.service" and "journalctl -xe" for details.
参考的教程是这个: https://linux.cn/article-5067-1.html
然后我输入 journalctl -xe 出现了如下情况:
fail2ban.service" and "journalctl -xe" for details.
[root@xiaoshu tmp]# journalctl -xe
Feb 01 14:32:13 xiaoshu fail2ban-client[27696]: 'enabled = true\n'
Feb 01 14:32:13 xiaoshu systemd[1]: fail2ban.service: control process exited, code=exited status=255
Feb 01 14:32:13 xiaoshu systemd[1]: Failed to start Fail2Ban Service.
-- Subject: Unit fail2ban.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit fail2ban.service has failed.
-- The result is failed.
Feb 01 14:32:13 xiaoshu systemd[1]: Unit fail2ban.service entered failed state.
Feb 01 14:32:13 xiaoshu systemd[1]: fail2ban.service failed.
Feb 01 14:32:13 xiaoshu systemd[1]: fail2ban.service holdoff time over, scheduling restart.
Feb 01 14:32:13 xiaoshu systemd[1]: start request repeated too quickly for fail2ban.service
Feb 01 14:32:13 xiaoshu systemd[1]: Failed to start Fail2Ban Service.
-- Subject: Unit fail2ban.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Unit fail2ban.service has failed.
-- The result is failed.
Feb 01 14:32:13 xiaoshu systemd[1]: Unit fail2ban.service entered failed state.
Feb 01 14:32:13 xiaoshu systemd[1]: fail2ban.service failed.
lines 2481-2504/2504 (END)