Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail2ban error #569

Open
VladislavGatsenko opened this issue Aug 20, 2024 · 2 comments
Open

fail2ban error #569

VladislavGatsenko opened this issue Aug 20, 2024 · 2 comments

Comments

@VladislavGatsenko
Copy link

VladislavGatsenko commented Aug 20, 2024

Impacted versions

  • Distribution: Debian 12
  • Arch: 64 Bits
  • Database: PostgreSQL / MySQL
  • Modoboa: 2.3.1

Steps to reproduce

clean install with lets encrypt certs

root@debian:~/modoboa-installer# systemctl status fail2ban.service
× fail2ban.service - Fail2Ban Service
     Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2024-08-20 17:49:19 MSK; 18min ago
   Duration: 82ms
       Docs: man:fail2ban(1)
   Main PID: 11201 (code=exited, status=255/EXCEPTION)
        CPU: 82ms

Aug 20 17:49:19 debian systemd[1]: Started fail2ban.service - Fail2Ban Service.
Aug 20 17:49:19 debian fail2ban-server[11201]: 2024-08-20 17:49:19,295 fail2ban.configreader   [11201]: WARNING 'allowipv6' not defined in 'Definition'. Using default one: 'auto'
Aug 20 17:49:19 debian fail2ban-server[11201]: 2024-08-20 17:49:19,305 fail2ban                [11201]: ERROR   Failed during configuration: Have not found any log file for sshd jail
Aug 20 17:49:19 debian fail2ban-server[11201]: 2024-08-20 17:49:19,305 fail2ban                [11201]: ERROR   Async configuration of server failed
Aug 20 17:49:19 debian systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 20 17:49:19 debian systemd[1]: fail2ban.service: Failed with result 'exit-code'.
@VladislavGatsenko VladislavGatsenko changed the title file2ban error fail2ban error Aug 20, 2024
@piensavirtual
Copy link

Before installing Modoboa on Debian 12, run the following command to install rsyslog:

sudo apt-get install rsyslog

This will install the rsyslog package, which is necessary for log management on your system. After ensuring rsyslog is installed and running, you can proceed with the Modoboa installation.

@xinomilo
Copy link

xinomilo commented Dec 3, 2024

i prefer rsyslog too, but if you'd like to keep debian12 defaults without rsyslog check this bug report : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060386 and references..
installation of python3-systemd and backend = systemd in jails is needed to work..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants