|
icon 发表于 2024-11-16 11:31
#加sudo,妥妥的ctrl-c ctrl-v..
写配置文件不要写那么花,写精简点,只包括基本的,包括local和filter都一 ...
还是错误啊 大佬
root@cpdd:/etc# sudo systemctl status fail2ban
× fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sat 2024-11-16 11:43:39 CST; 7s ago
Duration: 88ms
Docs: man:fail2ban(1)
Process: 199955 ExecStart=/usr/bin/fail2ban-server -xf start (code=exited, status=255/EXCEPTION)
Main PID: 199955 (code=exited, status=255/EXCEPTION)
CPU: 85ms
Nov 16 11:43:39 systemd[1]: Started fail2ban.service - Fail2Ban Service.
Nov 16 11:43:39 fail2ban-server[199955]: 2024-11-16 11:43:39,341 fail2ban.configreader [199955]: WARNING 'all>
Nov 16 11:43:39 fail2ban-server[199955]: 2024-11-16 11:43:39,352 fail2ban [199955]: ERROR Fail>
Nov 16 11:43:39 fail2ban-server[199955]: 2024-11-16 11:43:39,355 fail2ban [199955]: ERROR Asyn>
Nov 16 11:43:39 systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION
Nov 16 11:43:39 systemd[1]: fail2ban.service: Failed with result 'exit-code'. |
|