Quantcast
Channel: FreePBX - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 17558

Fail2ban not starting - Default installation STABLE SNG7-PBX-64bit-2104-1

$
0
0

@fastdrw wrote:

fail2ban will not start due to an error in Distro installation.
This is a repeatable error: (3 installs)

using the following command to debug fail2ban error:
fail2ban-client -vvvvvvvvvvvvvvvvvv start

ERROR Found no accessible config files for ‘filter.d/apache-api’ under /etc/fail2ban
ERROR Unable to read the filter
ERROR Errors in jail ‘apache-api’. Skipping…

If you go into the file jail.local and change the enabled = true to false

[apache-api]
enabled = true
filter = apache-api
action = iptables-multiport[name=api, protocol=tcp, port=“http,https”]
sendmail[name=api, dest=admin@totalconnect.ca, sender=uc252@tcci.cloud]
logpath = /var/log/httpd/*access_log

fail2ban will restart and run from the CLI.
BUT if you restart fail2ban in the GUI, it changes the false back to true and fail2ban STOPS RUNNING again.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17558

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>