Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2011
    Posts
    41

    Question Unanswered: 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 03:04. Reason: typo

  2. #2
    Join Date
    Jan 2010
    Posts
    335
    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

  3. #3
    Join Date
    Jul 2011
    Posts
    41
    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.

  4. #4
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    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
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  5. #5
    Join Date
    Jul 2011
    Posts
    41
    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

  6. #6
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •