请输入你的选择: 1
正在安装 fail2ban...
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
mailx system-log-daemon monit sqlite3
The following NEW packages will be installed:
fail2ban
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 451 kB of archives.
After this operation, 2,180 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 fail2ban all 1.0.2-2 [451 kB]
Fetched 451 kB in 0s (17.8 MB/s)
Selecting previously unselected package fail2ban.
(Reading database ... 43164 files and directories currently installed.)
Preparing to unpack .../fail2ban_1.0.2-2_all.deb ...
Unpacking fail2ban (1.0.2-2) ...
Setting up fail2ban (1.0.2-2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/fail2ban.service → /lib/systemd/system/fail2ban.service.
Processing triggers for man-db (2.11.2-2) ...
fail2ban 服务已启动。
Synchronizing state of fail2ban.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable fail2ban
fail2ban 已设置为开机自启。
2025-10-02 20:32:22,074 fail2ban [50633]: ERROR Could not find server
2025-10-02 20:32:25,170 fail2ban [50635]: ERROR Failed to access socket path: /var/run/fail2ban/fail2ban.sock. Is fail2ban running?
换了一台依旧不行