where can I check the error log?
Fail2ban Can't start
hklcf The fail2ban log file can be found at /var/log/fail2ban
TheWormsUnited no this log on my system
I found some fail2ban error log in messages
hklcf so what exactly is your problem?
TheWormsUnited Fail2ban Can't start!
Install fail2ban in aapanel app store, install successful but can't start.
Still have this problem after reinstall fail2ban.
hklcf this might be your issue...
You must verify that each of the services you enabled has a log file that matches what fail2ban is expecting.
logpath = %(sshd_log)s
which further maps to:
sshd_log = %(syslog_authpriv)s
and then depends on a specific distro file like
paths-fedora.conf:syslog_authpriv = /var/log/secure
If the file is not found, fail2ban won't start. If you know where the file is then just edit manually the logpath line and that will fix your problem.
hklcf
From your logs, it should be that fail2ban was not installed successfully.
please try to reinstall the pulgin
aaPanel_Jose try many times...
fix the panel, update the app list, reinstall fail2ban
work fine now!
thank you
aaPanel_Jose fail2ban log display "Acquisition failed"
hklcf
Try executing the following command to check if the return value is normal
fail2ban-client status (Your protection project name)
For example my sshd protection project return Acquisition failed
you can run
fail2ban-client status sshd
aaPanel_Jose -bash: fail2ban-client: command not found
hklcf
This is because fail2ban was not successfully installed
- Edited
aaPanel_Jose I try many time to reinstall fail2ban...
panel show install success
- Edited
Hi, I have the same problem. fail2ban does not work, does not start. reinstalled 10 times, with no result. What should I do?
Sorry, something went wrong:
Traceback (most recent call last):
File "class/panelPlugin.py", line 1957, in a
return eval(execStr)
File "", line 1, in
File "plugin/fail2ban/fail2ban_main.py", line 516, in set_anti
return self.set_cc_anti(values)
File "plugin/fail2ban/fail2ban_main.py", line 450, in set_cc_anti
self._check_conf_exist(conf, values["mode"])
File "plugin/fail2ban/fail2ban_main.py", line 185, in _check_conf_exist
if '[{}]'.format(mode) in jail_conf:
TypeError: argument of type 'NoneType' is not iterable
maybe fail2ban doesn't work with Nginx 1.17.10? I have Nginx 1.17.10 installed. also installed Nginx Free Firewall protection. the matter is that my forum on the server started to be parsed through JSchallenger scripts. it helped that I enabled DDoS attack on cloudflare. I have not a standard case with the forum. external parsers rob the forum content.
Muhammad
Could you tell me what is the Linux distribution you are using?
aaPanel_Jose System:CentOS 7.8.2003(Py2.7.5), aapanel 6.8.6