Fail2ban is not installed at this server - Centos 5.5 64 bit
followed the guide posted below
centos 5.5, 64bit, ispconfig 184.108.40.206
i've installed fail2ban, it's running, but does not appear to be doing anything. contents of fail2ban.log are empty.
ispconfig tells me "fail2ban is not installed at this server."
i believe the problem is that the fail2ban binary is not in my path.
here is the output of some which commands
any help would be greatly appreciated.
ISPConfig checks for fail2ban with the command:
thanks. here is the output of that command on my system
log file location is: /var/log/fail2ban.log
i'm not sure what else to check for.
Did you disable SELinux?
SELinux was disabled by doing the following
ran the command: system-config-securitylevel
set the following.
Security Level: ( ) Enabled (*) Disabled
then selected OK, followed by a reboot.
Try to make a link for fail2ban in /usr/bin to fail2ban-client.
The script does not recognize fail2ban on CentOS, at least not on my 5.5 install, without the link. I have seen specific testing is done in /usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php for CentOS to find fail2ban and that checks for 'which fail2ban'.
Still investigating this, but could be something to do with the fact that on my install, 5.5 is not recognized as CentOS, but as RedHat unknown....
i made a symlink to fail2ban-client
ln -s /usr/bin/fail2ban-client /usr/bin/fail2ban
rebooted, ran the ispconfig update in the installer directory. ispconfig is still showing the message "fail2ban is not installed at this server."
output of which fail2ban is now
fail2ban is running, as far as i can tell.
service fail2ban status
Fail2ban (pid 4498) is running...
|- Number of jail: 0
`- Jail list:
Yes, fail2ban is running but not configured with any jails. So currently it does not do anything.
Please check if you have a readable /var/log/fail2ban.log with content inside.
i do have a log file in /var/log/
-rw------- 1 root root 0 Dec 16 22:15 fail2ban.log
Configure a jail in fail2ban and make sure logging output will be in the logfile.
The table for monitoring in the dbispconfig mysql db will not be updated if there is no logging and the "fail2ban not installed" error keeps returning.
|All times are GMT +2. The time now is 22:07.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.