IBM Support

IC72705: INSTALLFIXPACK THROWS INCORRECT ERROR MESSAGES WHEN APPLIED TO AN EMPTY DIRECTORY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you apply a fixpack on top of a base install path that is
    empty the error messages are not accurate:
    
    # ./installFixPack -b /opt/IBM/db2
    ./installFixPack: /opt/IBM/db2/bin/db2usrinf: not found
    /usr/bin/find: cannot find -name name
    ./installFixPack: /opt/IBM/db2/bin/db2usrinf: not found
    ./installFixPack: test: argument expected
    
    # ./installFixPack -b /opt/IBM/db2
    db2/linuxamd64/install/installFixPack: line 323: [: -eq: unary
    operator expected
    DBI1149E  To execute this program, you must be the owner of the
          installation copy.
    
    Explanation:
    
    The current DB2 copy was not installed by the user who is
    running the
    program.
    
    User response:
    
    Log in as the user who installed the current copy of DB2 and
    rerun the
    command.
    
    
    After applying the fix the error message will be similar to
    this:
    
    DBI1095W  The file or directory /opt/IBM/v97/bin/db2usrinf
    cannot be found.
    
    User response:
    
    Verify that the file set/package providing the file/directory
    has been
    installed.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When you apply a fixpack on top of a base install path that  *
    * is empty the error messages are not accurate:                *
    *                                                              *
    * # ./installFixPack -b /opt/IBM/db2                           *
    * ./installFixPack: /opt/IBM/db2/bin/db2usrinf: not found      *
    * /usr/bin/find: cannot find -name name                        *
    * ./installFixPack: /opt/IBM/db2/bin/db2usrinf: not found      *
    * ./installFixPack: test: argument expected                    *
    *                                                              *
    * # ./installFixPack -b /opt/IBM/db2                           *
    * db2/linuxamd64/install/installFixPack: line 323: [: -eq:     *
    * unary operator expected                                      *
    * DBI1149E  To execute this program, you must be the owner of  *
    * the                                                          *
    *       installation copy.                                     *
    *                                                              *
    * Explanation:                                                 *
    *                                                              *
    * The current DB2 copy was not installed by the user who is    *
    * running the                                                  *
    * program.                                                     *
    *                                                              *
    * User response:                                               *
    *                                                              *
    * Log in as the user who installed the current copy of DB2 and *
    * rerun the                                                    *
    * command.                                                     *
    *                                                              *
    *                                                              *
    * After applying the fix the error message will be similar to  *
    * this:                                                        *
    *                                                              *
    * DBI1095W  The file or directory /opt/IBM/v97/bin/db2usrinf   *
    * cannot be found.                                             *
    *                                                              *
    * User response:                                               *
    *                                                              *
    * Verify that the file set/package providing the               *
    * file/directory has been                                      *
    * installed.                                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 v9.7 Fixpack 4                                *
    ****************************************************************
    

Problem conclusion

  • Fixed in DB2 v9.7 Fixpack 4
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC72705

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-11-19

  • Closed date

    2011-04-28

  • Last modified date

    2011-04-28

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

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

    IC72735

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 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":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
28 April 2011