Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2011
    Posts
    45

    Red face Unanswered: db2 32 bit to 64 bit failed with errors.

    Hi All,
    Need your help...

    I am trying to upgrade my instance from 32 bit to 64 bit..
    In the process I am getting below errors:


    rm: cannot remove directory /db2data/uding604/sqllib/adsm
    ln: /db2data/uding604/sqllib/adsm/adsm exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/bin
    ln: /db2data/uding604/sqllib/bin/bin exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/bnd
    ln: /db2data/uding604/sqllib/bnd/bnd exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/conv
    ln: /db2data/uding604/sqllib/conv/conv exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/java
    ln: /db2data/uding604/sqllib/java/java exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/doc
    ln: /db2data/uding604/sqllib/doc/doc exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/include
    ln: /db2data/uding604/sqllib/include/include exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/lib
    ln: /db2data/uding604/sqllib/lib/lib exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/map
    ln: /db2data/uding604/sqllib/map/map exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/misc
    ln: /db2data/uding604/sqllib/misc/misc exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/tools
    ln: /db2data/uding604/sqllib/tools/tools exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/msg
    ln: /db2data/uding604/sqllib/msg/msg exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/samples
    ln: /db2data/uding604/sqllib/samples/samples exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/Readme
    ln: /db2data/uding604/sqllib/Readme/Readme exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/db2xml
    ln: /db2data/uding604/sqllib/db2xml/db2xml exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/odbc
    ln: /db2data/uding604/sqllib/odbc/odbc exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/templates
    ln: /db2data/uding604/sqllib/templates/templates exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/infopop
    ln: /db2data/uding604/sqllib/infopop/infopop exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/cfg/mq
    ln: /db2data/uding604/sqllib/cfg/mq/mq exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/lib32
    ln: /db2data/uding604/sqllib/lib32/lib exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/lib64
    ln: /db2data/uding604/sqllib/lib64/lib64 exists. Specify -f to remove.
    ln: /db2data/uding604/sqllib/java12/java exists. Specify -f to remove.
    rm: cannot remove directory /db2data/uding604/sqllib/security32/plugin/IBM
    ln: /db2data/uding604/sqllib/security32/plugin/./IBM is a directory. (cannot un
    rm: cannot remove directory /db2data/uding604/sqllib/security/plugin
    ln: /db2data/uding604/sqllib/security/./plugin is a directory. (cannot unlink)
    rm: cannot remove directory /db2data/uding604/sqllib/security64/plugin/IBM
    ln: /db2data/uding604/sqllib/security64/plugin/./IBM is a directory. (cannot un
    DBI1070I Program db2iupdt completed successfully.

    I have no clue for the cause of the same.

    Please help me in getting a way out of this.

    Regards,
    Harsh Verma

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    how are you migrating - same machine ?
    not all scenario's are supported
    from which version to which version
    there are some doc indicating what is supported
    Support changes for 32-bit and 64-bit DB2 servers
    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

  3. #3
    Join Date
    Aug 2011
    Posts
    45
    Thanks for you prompt reply..

    I am migrating to same machine..
    I have tested it earlier also on same machine, version of my db2 is 8.2 fp 12

  4. #4
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    that you have tested does not mean it is supported
    what is the target version of DB2
    also check
    Best practices for upgrading DB2 servers - IBM DB2 9.7 for Linux, UNIX, and Windows
    what is the operating system and which type of box p-x..
    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
    Aug 2011
    Posts
    45
    I am upgrading my version from 8.2 32 bit t o8.2 64 bit.
    It is an AIX box of P series.

    Regards,
    Harsh Verma

  6. #6
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    first of all : v8 is not supported anymore
    scnd : have you looked in the doc ? there should be an indication about this or don't you have access to the internet doc of db2 as for the forum ?
    all indication is in the chapter : Migrating to DB2 Version 8 64-bit (UNIX)
    Last edited by przytula_guy; 08-22-11 at 05:30.
    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

  7. #7
    Join Date
    Aug 2011
    Location
    Columbus, OH
    Posts
    55

    Give this a try...

    https://www-304.ibm.com/support/docv...id=swg1IC61970

    I had a similar problem that was fixed when I set the following prior to the upgrade:

    i) db2set DB2_DB_UPGRADE=XML_32_TO_64:1
    ii) db2set -all
    [i] DB2_DB_UPGRADE=XML_32_TO_64:1 ......make sure you see this


    iii)db2stop

    iv)db2start

  8. #8
    Join Date
    Aug 2008
    Location
    Toronto, Canada
    Posts
    2,367
    db2iupdt did say "completed successfully" at the end:
    DBI1070I Program db2iupdt completed successfully.


    Check your db2level.

Posting Permissions

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