Причина в том, что права для папок не расставлены, или же этих папок нет, глупый стоматолог
Ну тут вариантов не много:
1. Нет прав для доступа к сокету
2. Сам сокет просто не настроен (возможно используется другой способ связи)
по 2 пункту вещаю с дивана, не смотрел как устроено, возможно там только сокет
Это гениально написать в времени блокировки 1h не стартовать и говорить почему же у меня демон не запущен.
И в ошибке спрашивается а запущен ли fail2ban? А как он может запуститься если ошибка и он дропается.
Посмотреть вложение 28563
Щас бы напрямую и редактировать .conf, когда для этого есть специально .local
/etc/fail2ban/jail.conf вернуть в дефолт
/etc/fail2ban/jail.local настроить правильно
Вывести systemctl status fail2ban
#
# WARNING: heavily refactored in 0.9.0 release. Please review and
# customize settings for your setup.
#
# Changes: in most of the cases you should not modify this
# file, but provide customizations in jail.local file,
# or separate .conf files under jail.d/ directory, e.g.:
#
# HOW TO ACTIVATE JAILS:
#
# YOU SHOULD NOT MODIFY THIS FILE.
#
# It will probably be overwritten or improved in a distribution update.
#
# Provide customizations in a jail.local file or a jail.d/customisation.local.
# For example to change the default bantime for all jails and to enable the
# ssh-iptables jail the following (uncommented) would appear in the .local file.
# See man 5 jail.conf for details.
#
# [DEFAULT]
# bantime = 1h
#
# [sshd]
# enabled = true
#
# See jail.conf(5) man page for more information
Открываем config и читаем:
# Changes: in most of the cases you should not modify thisКод:# # WARNING: heavily refactored in 0.9.0 release. Please review and # customize settings for your setup. # # Changes: in most of the cases you should not modify this # file, but provide customizations in jail.local file, # or separate .conf files under jail.d/ directory, e.g.: # # HOW TO ACTIVATE JAILS: # # YOU SHOULD NOT MODIFY THIS FILE. # # It will probably be overwritten or improved in a distribution update. # # Provide customizations in a jail.local file or a jail.d/customisation.local. # For example to change the default bantime for all jails and to enable the # ssh-iptables jail the following (uncommented) would appear in the .local file. # See man 5 jail.conf for details. # # [DEFAULT] # bantime = 1h # # [sshd] # enabled = true # # See jail.conf(5) man page for more information
# file, but provide customizations in jail.local file,
# or separate .conf files under jail.d/ directory, e.g.:
# Provide customizations in a jail.local file or a jail.d/customisation.local.
# For example to change the default bantime for all jails and to enable the
# ssh-iptables jail the following (uncommented) would appear in the .local file.
# See man 5 jail.conf for details.
Для особо не понятливых выделил отдельно ещё
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?