Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!
0 Пользователей и 1 Гость просматривают эту тему.
mirrik, официальное вики =) Можно еще вики по Arch. А если в чем-то не уверены - лучше переспросить еще и здесь на форуме
$ sudo systemctl start fail2banJob for fail2ban.service failed because the control process exited with error code. See "systemctl status fail2ban.service" and "journalctl -xe" for details.$
Переустонови fail2ban
See "systemctl status fail2ban.service" and "journalctl -xe" for details.
ну дык посмотрите, что ему не нравится
$ systemctl status fail2ban.service● fail2ban.service - Fail2Ban Service Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled) Active: inactive (dead) (Result: exit-code) since Thu 2017-11-02 21:45:36 MSK; 24min ago Docs: man:fail2ban(1) Process: 4051 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=255)Nov 02 21:45:36 OpenVPN systemd[1]: fail2ban.service: Control process exited, code=exited status=255Nov 02 21:45:36 OpenVPN systemd[1]: Failed to start Fail2Ban Service.Nov 02 21:45:36 OpenVPN systemd[1]: fail2ban.service: Unit entered failed state.Nov 02 21:45:36 OpenVPN systemd[1]: fail2ban.service: Failed with result 'exit-code'.Nov 02 21:45:36 OpenVPN systemd[1]: fail2ban.service: Service hold-off time over, scheduling restart.Nov 02 21:45:36 OpenVPN systemd[1]: Stopped Fail2Ban Service.Nov 02 21:45:36 OpenVPN systemd[1]: fail2ban.service: Start request repeated too quickly.Nov 02 21:45:36 OpenVPN systemd[1]: Failed to start Fail2Ban Service.
а что пишет:journalctl -xe
Nov 02 22:11:02 OpenVPN vnstatd[762]: Error: Unable to create database backup "/var/lib/vnstat/.eth0".Nov 02 22:11:02 OpenVPN vnstatd[762]: Error: Unable to write database, continuing with cached data.Nov 02 22:11:02 OpenVPN vnstatd[762]: Info: Database write possible again.
journalctl -b0 -xe -u fail2ban
Nov 02 21:45:36 OpenVPN systemd[1]: fail2ban.service: Unit entered failed state.Nov 02 21:45:36 OpenVPN systemd[1]: fail2ban.service: Failed with result 'exit-code'.Nov 02 21:45:36 OpenVPN systemd[1]: fail2ban.service: Service hold-off time over, scheduling restart.Nov 02 21:45:36 OpenVPN systemd[1]: Stopped Fail2Ban Service.-- Subject: Unit fail2ban.service has finished shutting down-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel---- Unit fail2ban.service has finished shutting down.Nov 02 21:45:36 OpenVPN systemd[1]: fail2ban.service: Start request repeated too quickly.Nov 02 21:45:36 OpenVPN systemd[1]: Failed to start Fail2Ban Service.-- Subject: Unit fail2ban.service has failed-- Defined-By: systemd-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel---- Unit fail2ban.service has failed.---- The result is failed.
sudo apt-get --fix-broken installЧто скажет.
$ sudo apt-get --fix-broken installReading package lists... DoneBuilding dependency treeReading state information... Done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.1 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Setting up fail2ban (0.9.3-1) ...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 Thu 2017-11-02 22:24:42 MSK; 6ms ago Docs: man:fail2ban(1) Process: 4244 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=255)Nov 02 22:24:42 OpenVPN systemd[1]: fail2ban.service: Control process exited, code=exited status=255Nov 02 22:24:42 OpenVPN systemd[1]: Failed to start Fail2Ban Service.Nov 02 22:24:42 OpenVPN systemd[1]: fail2ban.service: Unit entered failed state.Nov 02 22:24:42 OpenVPN systemd[1]: fail2ban.service: Failed with result 'exit-code'.dpkg: error processing package fail2ban (--configure): subprocess installed post-installation script returned error exit status 1Errors were encountered while processing: fail2banE: Sub-process /usr/bin/dpkg returned an error code (1)
sudo rm /var/lib/apt/lists/* -vf sudo apt-get cleansudo apt-get update
$ sudo service fail2ban startJob for fail2ban.service failed because the control process exited with error code. See "systemctl status fail2ban.service" and "journalctl -xe" for details.
Можно попробовать на свой страх и рискsudo purge service fail2ban start
Страница сгенерирована за 0.089 секунд. Запросов: 23.