LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2010, 01:23 AM   #1
smccain
LQ Newbie
 
Registered: Jul 2008
Distribution: CentOS
Posts: 6

Rep: Reputation: 1
Forcing Fail2Ban to Quit


On my CentOS server ( 2.6.18-128.7.1.el5 ), my fail2ban installation will not restart. No matter how long I let it try, the fail2ban service will not shut down.

So I guess I have two questions:
  1. Does anybody know how to force fail2ban to quit?
  2. Does anybody know where there's a step-by-step on the forced quit of services in general?

I apologize if these questions are remedial or the answers are easily available. I have done some searching. Apparently I don't know the correct terminology to find this information ... because I can't find it.

Thanks for any kind soul willing to help with this.
 
Old 11-23-2010, 01:44 AM   #2
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
Does anybody know how to force fail2ban to quit?
Two simple ways:
  • First:
Code:
anisha@linux-uitj:~> ps -el
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
4 S     0     1     0  0  80   0 -  2018 poll_s ?        00:00:00 init
1 S     0     2     0  0  75  -5 -     0 kthrea ?        00:00:00 kthreadd
1 S     0     3     2  0 -40   - -     0 migrat ?        00:00:00 migration/0
1 S     0     4     2  0  75  -5 -     0 ksofti ?        00:00:05 ksoftirqd/0
5 S     0     5     2  0 -40   - -     0 watchd ?        00:00:00 watchdog/0 
1 S     0     9     2  0  75  -5 -     0 worker ?        00:00:00 events/0   
anisha@linux-uitj:~> kill -9 <desired PID number>
  • Second:
Install gnome-system-monitor.

Last edited by TheIndependentAquarius; 11-23-2010 at 01:49 AM.
 
Old 11-23-2010, 01:59 AM   #3
smccain
LQ Newbie
 
Registered: Jul 2008
Distribution: CentOS
Posts: 6

Original Poster
Rep: Reputation: 1
Bless you, anishakaul.

I would say you've just answered both my questions.

sem
 
Old 11-23-2010, 02:05 AM   #4
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
So please think of marking the thread solved
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help with fail2ban... trist007 Linux - Newbie 15 12-14-2009 04:22 AM
fail2ban install qwertyjjj Linux - Newbie 3 08-08-2009 05:11 AM
forcing traffic through certain route(forcing source ip) taltman Linux - Networking 1 12-26-2007 02:07 PM
Fail2Ban Question nomb Debian 0 05-21-2007 08:28 AM
Forcing a window to quit in KDE IceNineJon Linux - Newbie 1 06-03-2002 05:14 AM


All times are GMT -5. The time now is 06:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration