Fail2ban does not start initially

Bugs in eFa 5
Post Reply
cordeos
Posts: 16
Joined: 11 Nov 2017 08:49

Fail2ban does not start initially

Post by cordeos »

After initial installation of eFa 5.0, Fail2ban reports not able to start.
This is simply due to the mailwatch jail log file not existing yet. Fail2ban does not work until the log file is created (automatically when a php-fpm error log is recorded) and the server rebooted or Fail2ban service started manually.

Would it be possible to add this quick file create or a simple touch to the end of the eFa 5.0 installation script:
echo 'Initial log file creation (eFA setup)' > /var/log/php-fpm/www-error.log
User avatar
shawniverson
Posts: 3770
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Fail2ban does not start initially

Post by shawniverson »

Post Reply