Bonjour à tous,
J'ai suis passé sous debian 9 mais j'ai un petit soucis avec fail2ban.
Setting up fail2ban (0.9.6-2) ...
Job for fail2ban.service failed because the control process exited with error code.
See "systemctl status fail2ban.service" and "journalctl -xe" for details.
invoke-rc.d: initscript fail2ban, action "start" failed.
● fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2017-08-21 13:28:39 CEST; 5ms ago
Docs: man:fail2ban(1)
Process: 23235 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=255)
Aug 21 13:28:39 systemd[1]: fail2ban.service: Control process exited, code=exited status=255
Aug 21 13:28:39 systemd[1]: Failed to start Fail2Ban Service.
Aug 21 13:28:39 systemd[1]: fail2ban.service: Unit entered failed state.
Aug 21 13:28:39 systemd[1]: fail2ban.service: Failed with result 'exit-code'.
dpkg: error processing package fail2ban (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
fail2ban
E: Sub-process /usr/bin/dpkg returned an error code (1)
systemctl status fail2ban.service me donne
J● fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-08-21 13:31:19 CEST; 1min 33s ago
Docs: man:fail2ban(1)
Process: 24360 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=255)
Aug 21 13:31:19 systemd[1]: fail2ban.service: Unit entered failed state.
Aug 21 13:31:19 systemd[1]: fail2ban.service: Failed with result 'exit-code'.
Aug 21 13:31:19 systemd[1]: fail2ban.service: Service hold-off time over, scheduling restart.
Aug 21 13:31:19 systemd[1]: Stopped Fail2Ban Service.
Aug 21 13:31:19 systemd[1]: fail2ban.service: Start request repeated too quickly.
Aug 21 13:31:19 systemd[1]: Failed to start Fail2Ban Service.
Aug 21 13:31:19 systemd[1]: fail2ban.service: Unit entered failed state.
Aug 21 13:31:19 sd-65297 systemd[1]: fail2ban.service: Failed with result 'exit-code'.
et le journal
-- Support: https://www.debian.org/support
--
-- Unit fail2ban.service has failed.
--
-- The result is failed.
Aug 21 13:31:19 systemd[1]: fail2ban.service: Unit entered failed state.
Aug 21 13:31:19 systemd[1]: fail2ban.service: Failed with result 'exit-code'.
Aug 21 13:31:39 sshd[24383]: Received disconnect from 58.242.83.8 port 62604:11: [preauth]
Aug 21 13:31:39 sshd[24383]: Disconnected from 58.242.83.8 port 62604 [preauth]
Aug 21 13:31:51 sshd[24213]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.242.83.8 user=root
Aug 21 13:31:53 sshd[24213]: Failed password for root from 58.242.83.8 port 59386 ssh2
Aug 21 13:31:53 sshd[24213]: Received disconnect from 58.242.83.8 port 59386:11: [preauth]
Aug 21 13:31:53 sshd[24213]: Disconnected from 58.242.83.8 port 59386 [preauth]
Aug 21 13:31:55 sshd[24396]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.31.116.28 user=root
Aug 21 13:31:57 sshd[24396]: Failed password for root from 116.31.116.28 port 40820 ssh2
Aug 21 13:31:59 sshd[24396]: Failed password for root from 116.31.116.28 port 40820 ssh2
Aug 21 13:32:01 sshd[24396]: Failed password for root from 116.31.116.28 port 40820 ssh2
Aug 21 13:32:01 sshd[24396]: Received disconnect from 116.31.116.28 port 40820:11: [preauth]
Aug 21 13:32:01 sshd[24396]: Disconnected from 116.31.116.28 port 40820 [preauth]
Aug 21 13:32:01 sshd[24396]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.31.116.28 user=root
Aug 21 13:32:24 sshd[25501]: Connection closed by 46.249.76.26 port 55956 [preauth]
Aug 21 13:32:26 sshd[25506]: Connection closed by 79.137.0.35 port 56318 [preauth]
Aug 21 13:32:50 sshd[25499]: Received disconnect from 58.242.83.8 port 37900:11: [preauth]
Aug 21 13:32:50 sshd[25499]: Disconnected from 58.242.83.8 port 37900 [preauth]
Aug 21 13:32:56 sshd[25722]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.31.116.28 user=root
Aug 21 13:32:58 sshd[25722]: Failed password for root from 116.31.116.28 port 56413 ssh2
Aug 21 13:33:01 sshd[25722]: Failed password for root from 116.31.116.28 port 56413 ssh2
Aug 21 13:33:03 sshd[25722]: Failed password for root from 116.31.116.28 port 56413 ssh2
Aug 21 13:33:04 sshd[25722]: Received disconnect from 116.31.116.28 port 56413:11: [preauth]
Aug 21 13:33:04 sshd[25722]: Disconnected from 116.31.116.28 port 56413 [preauth]
Aug 21 13:33:04 sshd[25722]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.31.116.28 user=root
Aug 21 13:33:45 sshd[26329]: Connection closed by 79.137.0.35 port 48422 [preauth]
Aug 21 13:33:55 sshd[26335]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.242.83.8 user=root
Aug 21 13:33:57 sshd[26339]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.242.83.8 user=root
Aug 21 13:33:57 sshd[26413]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.31.116.28 user=root
Aug 21 13:33:57 sshd[26335]: Failed password for root from 58.242.83.8 port 51769 ssh2
Aug 21 13:33:58 sshd[26339]: Failed password for root from 58.242.83.8 port 10716 ssh2
Aug 21 13:33:59 sshd[26413]: Failed password for root from 116.31.116.28 port 10453 ssh2
Aug 21 13:34:00 sshd[26335]: Failed password for root from 58.242.83.8 port 51769 ssh2
Aug 21 13:34:00 sshd[26339]: Failed password for root from 58.242.83.8 port 10716 ssh2
Aug 21 13:34:01 s sshd[26413]: Failed password for root from 116.31.116.28 port 10453 ssh2
Aug 21 13:34:03 sshd[26339]: Failed password for root from 58.242.83.8 port 10716 ssh2
Aug 21 13:34:03 sshd[26339]: Received disconnect from 58.242.83.8 port 10716:11: [preauth]
Aug 21 13:34:03 sshd[26339]: Disconnected from 58.242.83.8 port 10716 [preauth]
Aug 21 13:34:03 sshd[26339]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.242.83.8 user=root
Aug 21 13:34:03 sshd[26413]: Failed password for root from 116.31.116.28 port 10453 ssh2
Aug 21 13:34:04 sshd[26413]: Received disconnect from 116.31.116.28 port 10453:11: [preauth]
Aug 21 13:34:04 sshd[26413]: Disconnected from 116.31.116.28 port 10453 [preauth]
Aug 21 13:34:04 sshd[26413]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.31.116.28 user=root
Aug 21 13:34:04 7 sshd[26335]: Failed password for root from 58.242.83.8 port 51769 ssh2
Aug 21 13:34:05 sshd[26335]: Received disconnect from 58.242.83.8 port 51769:11: [preauth]
Aug 21 13:34:05 sshd[26335]: Disconnected from 58.242.83.8 port 51769 [preauth]
Aug 21 13:34:05 sshd[26335]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.242.83.8 user=root
Aug 21 13:34:28 sshd[26626]: Connection closed by 46.249.76.26 port 53888 [preauth]
Aug 21 13:35:01 CRON[26681]: pam_unix(cron:session): session opened for user munin by (uid=0)
Aug 21 13:35:01 CRON[26680]: pam_unix(cron:session): session opened for user root by (uid=0)
Aug 21 13:35:01 CRON[26682]: (munin) CMD (if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi)
Aug 21 13:35:01 CRON[26683]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then /etc/munin/plugins/apt update 7200 12 >/dev/null;
Aug 21 13:35:01 CRON[26680]: pam_unix(cron:session): session closed for user root
Aug 21 13:35:05 sshd[27206]: Connection closed by 79.137.0.35 port 40526 [preauth]
Aug 21 13:35:07 sshd[27140]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.31.116.28 user=root
Aug 21 13:35:09 sshd[27140]: Failed password for root from 116.31.116.28 port 57245 ssh2
Qui sait comment corriger ça ?