Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2013
    Posts
    33

    Unanswered: db2diag.log rename

    I have DB2 9.7 on AIX.

    Is there any reason why we should rename db2diag.log to some other name (for example, db2diag_old.log) before running db2support . -s -g command?

    Any contentions during rename of db2diag.log?

    After renaming db2diag.log to db2diag_old.log, does DB2 create a newer db2diag.log. or do I have to take a specific action.

    How do I rename db2diag.log.. (mv db2diag.log db2diag_old.log)

    a sequence of steps will be appreciated..

  2. #2
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    Do not do the rename before running db2support. It needs to be included.

    Renaming it is a good idea. In fact it is a good idea to archive it (move to a different directory and rename with a time stamp). That way you will know when each was valid. DB2 even helps you with this: IBM DB2 9.7 for Linux, UNIX and Windows Information Center (check out the -A option).

    DB2 will detect that db2diag.log is no longer there and create a new one.

    Andy

  3. #3
    Join Date
    Apr 2013
    Posts
    33
    Thanks for ur reply

  4. #4
    Join Date
    Apr 2013
    Posts
    33
    On the client machine, we don't have any db2 database per se. We upgraded the client from 9.5 to 9.7. To run db2support command, do we need to login as a db2 instance owner on the client..

    can we run db2support command from any where or do we have to be in db2 home directory ???

  5. #5
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    On the client machine, I think it depends on the OS. In windows, you can run it as anyone, from anywhere (as log as it is in you PATH).

    Andy

  6. #6
    Join Date
    Apr 2013
    Posts
    33
    db2 on aix..

  7. #7
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    Instance owner.

Posting Permissions

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