Results 1 to 3 of 3

Thread: db2stop

  1. #1
    Join Date
    Feb 2005

    Unanswered: db2stop

    Hi All !

    let's say I have three instances of db2 on a linux o/s
    1. db2inst1
    2. db2inst2
    3. db2inst3

    let us say I am currently connected using the id for db2inst1, which makes it my current instance.
    in that case a db2stop would stop db2inst1
    now my question is:
    is it possible to issue a db2stop for say db2inst2 or db2inst3 ? if yes, what do I have to do ? if not, how would I issue a db2stop for db2inst2 or db2inst3.


  2. #2
    Join Date
    Jan 2003
    Provided Answers: 5
    If you read the manual, you would have found that only the "current" instance can be stopped. That means that only the instance owner (db2inst1, db2inst2, db2inst3) can shutdown their own instance.


  3. #3
    Join Date
    Jun 2003
    Toronto, Canada
    Provided Answers: 1
    I think you can also change the DB2INSTANCE environment variable to point to the appropriate instance and, if your login id is in the SYSADM group for that instance, db2stop will work.

Posting Permissions

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