Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple question , how to DELETE/UNINSTALL/REMOVE or Disable FAIL2BAN in centos? #297

Closed
TOPUSER opened this issue Jul 15, 2013 · 8 comments

Comments

@TOPUSER
Copy link

TOPUSER commented Jul 15, 2013

simple question , how to DELETE/UNINSTALL/REMOVE or Disable FAIL2BAN in centos?

@grooverdan
Copy link
Contributor

how did you install it?

If it was a package install perhaps "yum remove fail2ban" will remove it.

If was a manual install run:
fail2ban-client stop

And then remove the parts and I'm guessing as to location here:

rm -rf /etc/fail2ban /etc/init.d/fail2ban /var/run/fail2ban /usr/share/doc/fail2ban /usr/local/bin/fail2ban* /usr/lib*/python*/site-packages/fail2ban /usr/local/lib*/python*/site-packages/fail2ban 

@yarikoptic
Copy link
Member

not sure if worth keeping open

@TOPUSER
Copy link
Author

TOPUSER commented Oct 23, 2014

look throughly the difference between the servers that are functional and the one which is not , get rid of the differences and re-install. problem resolved .
or can hire someone from freelancer.com good luck

Date: Wed, 22 Oct 2014 19:55:05 -0700
From: notifications@github.com
To: fail2ban@noreply.github.com
CC: aj_2003@live.com
Subject: Re: [fail2ban] simple question , how to DELETE/UNINSTALL/REMOVE or Disable FAIL2BAN in centos? (#297)

Hello,

I'm having a really annoying problem.

I did install fail2ban in severals servers, all working fine, but one. Didn't find the reason why it was not blocking the failed logins. Then, after trying many different options (copying the config from another server) I decided to uninstall it, did a "yum remove fail2ban"...but I realized the config file and folder were still there. Did a manually remove of /etc/fail2ban. Then I reinstalled using "yum install fail2ban". I do "yes", it installs successfully, but then, no folders where added and since then I can't install it.

Any ideas?

I'm using CentOS Linux release 7.0.1406

fail2ban 0.9-9.el7


Reply to this email directly or view it on GitHub.

@ghost
Copy link

ghost commented Oct 25, 2014

Thanks for the reply. But my problem is that I can't reinstall it properly (as described on the message above)

@TOPUSER
Copy link
Author

TOPUSER commented Oct 25, 2014

hi there, i am no linux expert but common sense says you were not able to properly delete/uninstall linux that's why you were not able to reinstall it at first attempt and its still the same thing , you need to find way to fully delete the previous installation and check the settings too and then try reinstall. If nothing works i suggest you post a free project on freelancer.com and pay about 15-30$ and get it done with further time waste for you if you can afford it then it maybe quicker for you if its urgent then its best for you. Try other forums too for the solution maybe someone with more competency can work out the solution for you. On freelancer send a file to the bidders of the project and in file also send your skype contact and chat to the person that you like to work for yourself and keep contacts and for future reference just use the same bidder to get your work done quickly if you find him to be reliable. Hope it helps !

Date: Fri, 24 Oct 2014 21:22:45 -0700
From: notifications@github.com
To: fail2ban@noreply.github.com
CC: aj_2003@live.com
Subject: Re: [fail2ban] simple question , how to DELETE/UNINSTALL/REMOVE or Disable FAIL2BAN in centos? (#297)

Thanks for the reply. But my problem is that I can't reinstall it properly (as described on the message above)


Reply to this email directly or view it on GitHub.

@ghost
Copy link

ghost commented Oct 25, 2014

I think you're spamming.

@TOPUSER
Copy link
Author

TOPUSER commented Oct 25, 2014

lol no.
Date: Sat, 25 Oct 2014 09:59:20 -0700
From: notifications@github.com
To: fail2ban@noreply.github.com
CC: aj_2003@live.com
Subject: Re: [fail2ban] simple question , how to DELETE/UNINSTALL/REMOVE or Disable FAIL2BAN in centos? (#297)

I think you're spamming.


Reply to this email directly or view it on GitHub.

@opoplawski
Copy link
Contributor

On 10/22/2014 08:55 PM, Philippe Delteil wrote:

Hello,

I'm having a really annoying problem.

I did install fail2ban in severals servers, all working fine, but one.
Didn't find the reason why it was not blocking the failed logins. Then,
after trying many different options (copying the config from another
server) I decided to uninstall it, did a "yum remove fail2ban"...but I
realized the config file and folder were still there. Did a manually
remove of /etc/fail2ban. Then I reinstalled using "yum install
fail2ban". I do "yes", it installs successfully, but then, no folders
where added and since then I can't install it.

Any ideas?

I'm using CentOS Linux release 7.0.1406
fail2ban 0.9-9.el7

In EPEL7 (and Fedora 21+), fail2ban is composed of several sub-packages, so:

yum remove fail2ban*

Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants