IBM Support

IT21965: DB2UNINS CANNOT BE USED FROM INSTALLED COPY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you attempt to uninstall DB2 you may hit the following:
    
    call "C:\Program Files\IBM\SQLLIB\BIN\db2unins.bat"  -y -f -l
    C:\temp\uninstall.log
    
    But on DB2 11.1 this call (which works with DB23 10.5.8) fails
    with message:
    
    "The DB2 copy is damaged or does not exist. Run db2unins from
    the installation media."
    

Local fix

  • There are the following workaround:
    
    - uninstalling from install media.
    - THis requires DB2 Server.msi and NewRegHKLM.txt is to do what
    install media db2unins.bat does manually, namely:
    copy "%~dp0db2unins" .\db2unins.exe > .\null  (basically copy
    db2unins as db2unins.exe to make it executable)
    copy "%~dp0db2NewRegHKLM.txt" .\db2NewRegHKLM.txt > .\null (copy
    db2NewRegHKLM.txt to CWD)
    call db2unins.exe --CDpath "%~dp0db2\Windows\DB2 Server.msi" %1
    %2 %3 %4 %5 %6 %7 %8 %9   (run db2unins.exe with supplied
    arguments, but add --CDpath as first argument)
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Windows Platforms                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 v11.1 Mod3 Fixpack 3 or Later.                *
    ****************************************************************
    

Problem conclusion

  • First Fixed in DB2 v11.1 Mod3 Fixpack 3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT21965

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-08-10

  • Closed date

    2018-03-15

  • Last modified date

    2018-03-15

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 March 2018