modoboa / modoboa-installer

An installer for Modoboa
MIT License
262 stars 138 forks source link

fail2ban error #569

Open VladislavGatsenko opened 3 months ago

VladislavGatsenko commented 3 months ago

Impacted versions

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'.
piensavirtual commented 1 month ago

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.