DB2 - Problem description
Problem IC72705 | Status: Closed |
INSTALLFIXPACK THROWS INCORRECT ERROR MESSAGES WHEN APPLIED TO AN EMPTY DIRECTORY | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
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. | |
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 * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows | |
Solution | |
Fixed in DB2 v9.7 Fixpack 4 | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC72735 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 19.11.2010 28.04.2011 28.04.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP4 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.4 |