在启动fail2ban时,有时会发生错误,具体错误如下:
ERROR Failed during configuration: Have not found any log file for sshd jail
ERROR Async configuration of server failed
若希望解决此问题,只需要修改/etc/fail2ban/jail.conf,并将backend修改为如下内容:
backend = systemd
修改完成后,再次重启Fail2ban,问题得到解决。
Enjoy~
📮Comments