fail2ban:错误找不到glob /usr/local/apache/logs*/*error.log的文件

时间:2015-01-18 12:26:22

标签: fail2ban

我无法解决此问题。

在我的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Ó]

0 个答案:

没有答案