Fail2ban fresh install doesn't work
Hello, I installed on debian fresh version of fail2ban and it seems it doesn't work.
Debian 6.0 fail2ban version: 0.8.4-3 When I try to start fail2ban I get this error msg: Code:
2011-12-11 14:33:40,692 fail2ban.server : INFO Changed logging target to /var/log/fail2ban.log for Fail2ban v0.8.4-SVN I have tried this solutions: http://oschgan.com/drupal/index.php?q=node/52 If I add this line fail2ban doesn't want to start. http://www.fail2ban.org/wiki/index.p...Misc_Questions It says add this to your startup script: PATH=$PATH:/sbin And in startup script I already have path sbin PATH=/usr/sbin:/usr/bin:/sbin:/bin |
Where is iptables located?
Is it in your PATH? Code:
whereis iptables Kind regards |
whereis iptables
iptables: /sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz iptables -S -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT -N fail2ban-ssh -A fail2ban-ssh -j RETURN |
Are you starting fail2ban as root?
Kind regards |
Quote:
I found solution, last answer in this url: http://unix.stackexchange.com/questi...moved-ssh-port I didn't move sshd from default port but that fixed my error. |
All times are GMT -5. The time now is 05:14 PM. |