fail2ban

Sillion

New Member
Ich hab nach dieser anleitung fail2ban konfiguriert leider starten fail2ban nicht

sillion@zbox-id91:~# 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.
root@zbox-id91:~#
sillion@zbox-id91:~# systemctl status fail2ban.service
● fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset:
Active: failed (Result: exit-code) since Mon 2019-03-25 01:53:09 CET; 1min 15
Docs: man:fail2ban(1)
Process: 2349 ExecStop=/usr/bin/fail2ban-client stop (code=exited, status=0/SU
Process: 7688 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status
Main PID: 559 (code=killed, signal=TERM)

Mär 25 01:53:09 zbox-id91 systemd[1]: fail2ban.service: Unit entered failed stat
Mär 25 01:53:09 zbox-id91 systemd[1]: fail2ban.service: Failed with result 'exit
Mär 25 01:53:09 zbox-id91 systemd[1]: fail2ban.service: Service hold-off time ov
Mär 25 01:53:09 zbox-id91 systemd[1]: Stopped Fail2Ban Service.
Mär 25 01:53:09 zbox-id91 systemd[1]: fail2ban.service: Start request repeated t
Mär 25 01:53:09 zbox-id91 systemd[1]: Failed to start Fail2Ban Service.
Mär 25 01:53:09 zbox-id91 systemd[1]: fail2ban.service: Unit entered failed stat
Mär 25 01:53:09 zbox-id91 systemd[1]: fail2ban.service: Failed with result 'exit
lines 1-16/16 (END)
● fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2019-03-25 01:53:09 CET; 1min 15s ago
Docs: man:fail2ban(1)
Process: 2349 ExecStop=/usr/bin/fail2ban-client stop (code=exited, status=0/SUCCESS)
Process: 7688 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=255)
Main PID: 559 (code=killed, signal=TERM)

Mär 25 01:53:09 zbox-id91 systemd[1]: fail2ban.service: Unit entered failed state.
Mär 25 01:53:09 zbox-id91 systemd[1]: fail2ban.service: Failed with result 'exit-code'.
Mär 25 01:53:09 zbox-id91 systemd[1]: fail2ban.service: Service hold-off time over, scheduling restart.
Mär 25 01:53:09 zbox-id91 systemd[1]: Stopped Fail2Ban Service.
Mär 25 01:53:09 zbox-id91 systemd[1]: fail2ban.service: Start request repeated too quickly.
Mär 25 01:53:09 zbox-id91 systemd[1]: Failed to start Fail2Ban Service.
Mär 25 01:53:09 zbox-id91 systemd[1]: fail2ban.service: Unit entered failed state.
Mär 25 01:53:09 zbox-id91 systemd[1]: fail2ban.service: Failed with result 'exit-code'.
sillion@zbox-id91:~# journalctl -xe
--
-- The result is failed.
Mär 25 01:55:21 zbox-id91 systemd[1]: fail2ban.service: Unit entered failed stat
Mär 25 01:55:21 zbox-id91 systemd[1]: fail2ban.service: Failed with result 'exit
Mär 25 01:56:22 zbox-id91 sshd[8145]: Accepted password for root from 192.168.17
Mär 25 01:56:22 zbox-id91 sshd[8145]: pam_unix(sshd:session): session opened for
Mär 25 01:56:22 zbox-id91 systemd-logind[425]: New session 12 of user root.
-- Subject: A new session 12 has been created for user root
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A new session with the ID 12 has been created for the user root.
--
-- The leading process of the session is 8145.
Mär 25 01:56:22 zbox-id91 systemd[1]: Started Session 12 of user root.
-- Subject: Unit session-12.scope has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit session-12.scope has finished starting up.
--
-- The start-up result is done.
lines 2032-2054/2054 (END)
--
-- The result is failed.
Mär 25 01:55:21 zbox-id91 systemd[1]: fail2ban.service: Unit entered failed state.
Mär 25 01:55:21 zbox-id91 systemd[1]: fail2ban.service: Failed with result 'exit-code'.
Mär 25 01:56:22 zbox-id91 sshd[8145]: Accepted password for root from 192.168.178.49 port 63418 ssh2
Mär 25 01:56:22 zbox-id91 sshd[8145]: pam_unix(sshd:session): session opened for user root by (uid=0)
Mär 25 01:56:22 zbox-id91 systemd-logind[425]: New session 12 of user root.
-- Subject: A new session 12 has been created for user root
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A new session with the ID 12 has been created for the user root.
--
-- The leading process of the session is 8145.
Mär 25 01:56:22 zbox-id91 systemd[1]: Started Session 12 of user root.
-- Subject: Unit session-12.scope has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit session-12.scope has finished starting up.
--
-- The start-up result is done.
 

Werbung

Top