I installed fail2ban but it didn’t start. I found with the following error:
Jun 6 09:51:09 nsec-primary systemd: Starting Fail2Ban Service...
Jun 6 09:51:09 nsec-primary fail2ban-client: ERROR No file(s) found for glob /var/log/mariadb/mariadb.log
Jun 6 09:51:09 nsec-primary fail2ban-client: ERROR Failed during configuration: Have not found any log file for mysqld-auth jail
Jun 6 09:51:09 nsec-primary systemd: fail2ban.service: control process exited, code=exited status=255
Jun 6 09:51:09 nsec-primary systemd: Failed to start Fail2Ban Service.
The system doesn’t run mysql.
I went to the server-manager, disabled the MySQL Auth jail and fail2ban started.