If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How to kill the Fenced user in db2 9.7

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-21-11, 00:51
divya.s divya.s is offline
Registered User
 
Join Date: Jul 2011
Posts: 36
Question How to kill the Fenced user in db2 9.7

hi ,

i am trying to install the fix pack 4 for db2 9.7 on Linux environment for that process i need to kill all the active db

i tried it with db2stop force application all

but the fenced user is still active..how do i kill this user ???

tried killing it forcibly : kill -9 "fenced username" but dint work.. and also i do not want to kill it at the OS level

Last edited by divya.s; 12-21-11 at 02:04. Reason: typo
Reply With Quote
  #2 (permalink)  
Old 12-21-11, 02:55
nvk@vhv nvk@vhv is offline
Registered User
 
Join Date: Jan 2010
Posts: 294
Hi,

which OS are you using?

It's "db2stop force" or "db2 force application all". Both do different things.
Also it's "kill -9 <PROCESSID>".

Maybe you should start with:
Applying fix packs - IBM DB2 9.7 for Linux, UNIX, and Windows
Reply With Quote
  #3 (permalink)  
Old 12-21-11, 04:22
divya.s divya.s is offline
Registered User
 
Join Date: Jul 2011
Posts: 36
I am using Linux....
i tried to stop all applications as well as the database, which did not help in stopping the fenced user.
and "kill -9 <PROCESSID>" kills it at the OS level...(which is not advisable)
i just wanted to know the db2 command to kill the fenced users???

and thank you for the manual...i was able to apply the fix pack.
Reply With Quote
  #4 (permalink)  
Old 12-21-11, 04:39
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
how did you discover the fenced user process
getting any error with db2stop / applying fixpack
db2 force application .. can be used to remove agents -
sharing details would help
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #5 (permalink)  
Old 12-21-11, 05:03
divya.s divya.s is offline
Registered User
 
Join Date: Jul 2011
Posts: 36
after doing a db2stop and when i try to give

./installFixPack -b <path of dir>

it throws an error saying fenced user is still active...and the process terminates
Reply With Quote
  #6 (permalink)  
Old 12-21-11, 05:30
wolaos123 wolaos123 is offline
Registered User
 
Join Date: Nov 2011
Location: Shen Zhen,China
Posts: 37
db2 force applications all
db2stop
db2licd -end
db2admin stop
db2fmcu –d
ipclean -a

then try a again
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On