I removed and installed the fail2ban package but the issue remains. One other difference I see is on working system selinux is disabled and on not working system selinux is enforced. Is this causing this permission issue?
Thank you, Anil. On Mon, Oct 26, 2015 at 10:38 AM, Anil Kumar <[email protected]> wrote: > I have below: > > # rpm -qV fail2ban > .......T. c /etc/fail2ban/action.d/iptables-common.conf > # ps axuw | grep fail2ban > root 24301 0.0 1.0 351904 20060 ? Sl Oct21 3:41 > /usr/bin/python -Es /usr/bin/fail2ban-server -s > /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid -x > -b > root 25419 0.0 0.0 103244 824 pts/0 S+ 10:18 0:00 grep fail2ban > # > # yum info fail2ban > Loaded plugins: fastestmirror, refresh-packagekit, security > Loading mirror speeds from cached hostfile > epel/metalink | 11 kB 00:00 > * base: mirrors.usc.edu > * epel: mirror.sfo12.us.leaseweb.net > * extras: mirror.supremebytes.com > * updates: mirrors.psychz.net > base | 3.7 kB 00:00 > extras | 3.4 kB 00:00 > updates | 3.4 kB 00:00 > Installed Packages > Name : fail2ban > Arch : noarch > Version : 0.9.3 > Release : 1.el6 > Size : 1.3 M > Repo : installed > From repo : epel > Summary : Ban IPs that make too many password failures > URL : http://fail2ban.sourceforge.net/ > License : GPLv2+ > Description : Fail2ban scans log files like /var/log/pwdfail or > : /var/log/apache/error_log and bans IP that makes too many > password > : failures. It updates firewall rules to reject the IP address. > : > : To use the hostsdeny and shorewall actions you must install > : tcp_wrappers and shorewall respectively. > # > > One difference is on working CentOS 6.3 I have to disable > fastestmirror to yum install fail2ban work, where on this not working > CentOS 6.4 it downloaded fail2ban without disabling fastestmirror. > Another difference is on working CentOS6.3 I have to change from https > to http in epel.repo to install, where as on this not working CentOS > 6.4 it worked without change from https to http in epel.repo. > > Shall I uninstall fail2ban on not working CentOS 6.4, and do above > same changes and install again to see how it goes? > > Thank you, > > Anil. > > > > On Sat, Oct 24, 2015 at 12:47 AM, Iosif Fettich <[email protected]> wrote: >> Hi there, >> >>> Is it some where there is permission issue, even we run as root? Not >>> sure how to determine that, all files permissions and owner are by >>> root though. Compared with working system. >> >> >> If you check your installation, are the involved packages OK? >> >> # rpm -qV fail2ban >> >> etc. ? >> >> If you check the user[s] running fail2ban, what do you see? >> >> # ps axuw | grep fail2ban >> >> etc. >> >> Best regards, >> >> Iosif Fettich ------------------------------------------------------------------------------ _______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users
