2

对于这个问题,我没有任何解决方案。

在我的 jail.conf

[apache-404]
enabled  = true
port     = http,https
filter   = apache-404
action   = csf-ip-deny[name=apache-404]
           sendmail-whois[name=Apache-404]
logpath  = /usr/local/apache/logs*/*error.log
maxretry = 3

在我的系统上,文件存在,/usr/local/apache/logs*/*error.log

尝试 /usr/local/apache/logs/error.log 和其他变体,但不起作用。

在所有情况下,都会收到以下消息:

service fail2ban start
Iniciando fail2ban: ERROR  No file(s) found for glob /usr/local/apache/logs*/*error.log
ERROR  Failed during configuration: Have not found any log file for apache-404 jail
                      [FALLÓ]
4

0 回答 0