Hi there,

Sorry for the newbie question, guys, first of all. I would like to know if
someone could help me on this matter, please.

Well, I am following Linode's guides in order to put my server online and
secure it.

But I am stuck while configuring Fail2Ban.

I can't start the service both via sudo systemctl start fail2ban and sudo
fail2ban-client start.

Here an error happens:

2023-02-08 14:31:39,279 fail2ban [1495]: ERROR Failed during
>configuration: Have not found any log file for selinux-ssh jail

I can see some lines regarding selinux in my jail.local file, but even
commenting on them does not solve the issue.

The systemctl status fail2ban command returns the below output:

× fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor
preset: enabled)
Active: failed (Result: exit-code) since Wed 2023-02-08 14:33:51 >-03; 2min
37s ago
Docs: man:fail2ban(1)
Process: 1537 ExecStart=/usr/bin/fail2ban-server -xf start >(code=exited,
status=255/EXCEPTION)
Main PID: 1537 (code=exited, status=255/EXCEPTION)
CPU: 313ms

*Obs:* the section regarding Selinux in my jail.local file is as below:

[selinux-ssh]

port = ssh
logpath = %(auditd_log)s

Thanks in advance for any help.


Best Regards,


Marcos
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to