Hi friends,
on my first VPS Debian Jessie and Postfix/Dovecot, and
I've found this error on root mail:


/etc/cron.daily/logrotate:
ERROR  Unable to contact server. Is it running?
error: error running non-shared postrotate script for 
/var/log/fail2ban.log of '/var/log/fail2ban.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1



Then if I go to /var/log/fail2ban.log it's empty, and only 
/var/log/fail2ban.log.1 contains content, but the last of nine days ago.
so I checked if the fail2ban service is active:

service fail2ban status
● fail2ban.service - LSB: Start/stop fail2ban
    Loaded: loaded (/etc/init.d/fail2ban)
    Active: active (exited) since mar 2016-11-15 23:10:13 CET; 1 weeks 1 
days ago
   Process: 7955 ExecStop=/etc/init.d/fail2ban stop (code=exited, 
status=0/SUCCESS)
   Process: 7963 ExecStart=/etc/init.d/fail2ban start (code=exited, 
status=0/SUCCESS)

nov 15 23:10:13 server fail2ban[7963]: Starting authentication failure 
monitor: fail2banERROR  Failed during configuration: Bad value 
substitution:
nov 15 23:10:13 server fail2ban[7963]: section: [postfix-disc]
nov 15 23:10:13 server fail2ban[7963]: option : logpath
nov 15 23:10:13 server fail2ban[7963]: key    : syslog_mail
nov 15 23:10:13 server fail2ban[7963]: rawval :
nov 15 23:10:13 server fail2ban[7963]: failed!


Could you kindly tell me what caused and possibly how to remedy the 
problem? :-)


Many many thanks!

Davide
Italy

------------------------------------------------------------------------------
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to