DB2 - Problem description
Problem IT02116 | Status: Closed |
CHANGING LOCATION OF TEMP FILES GENERATED DURING INSTALLATION BY SPECIFYING DB2TMPDIR COULD RESULT IN DBI20043E | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
During installation, by default, temporary files will be created under /tmp directory. However one can change the location of temporary files using DB2TMPDIR variable. If one is using non default location to store temporary files i.e some other directory than /tmp, DB2 will still try to write temporary files to /tmp directory causing error message like below: DBI20043E DB2 failed to install because of restrictive permission settings on the temporary directory, "/tmp". , In installation trace, you may see flow like below: 1787 / 1 iFileExists ENTRY Tue Apr 22 13:18:22 2014 -- , 1788 | 1 iFileExists 10 -DATA- , STRING = /tmp/recovery.txt 1789 \ 1 iFileExists EXIT Tue Apr 22 13:18:22 2014 -- , UINT = 0 1790 / 1 validateInstanceUser ENTRY Tue Apr 22 13:18:22 2014 -- , 1791 |/ 1 URE::isURERunnerRoot ENTRY Tue Apr 22 13:18:22 2014 -- , 1792 ||/ 1 URE::getURERunnerUid ENTRY Tue Apr 22 13:18:22 2014 -- , 1793 |||/ 1 IUser::getUID ENTRY Tue Apr 22 13:18:22 2014 -- , 1794 ||||/ 1 UserManager::getUserID ENTRY Tue Apr 22 13:18:22 2014 -- , 1795 ||||\ 1 UserManager::getUserID EXIT Tue Apr 22 13:18:22 2014 -- , INT = 0 1796 |||\ 1 IUser::getUID EXIT Tue Apr 22 13:18:22 2014 -- , INT = 0 1797 ||\ 1 URE::getURERunnerUid EXIT Tue Apr 22 13:18:22 2014 -- , INT = 0 1798 |\ 1 URE::isURERunnerRoot EXIT Tue Apr 22 13:18:22 2014 -- , UINT = 1 1799 \ 1 validateInstanceUser EXIT Tue Apr 22 13:18:22 2014 -- , INT = 0 1800 / 1 URE::setPackageLocation ENTRY Tue Apr 22 13:18:22 2014 -- , 1801 | 1 URE::setPackageLocation 10 -DATA- , STRING = /download/srv/7.1/repository/native/db2/ese 1802 \ 1 URE::setPackageLocation EXIT Tue Apr 22 13:18:22 2014 -- , INT = 0 1803 / 1 checkSpace ENTRY Tue Apr 22 13:18:22 2014 -- , 1804 | 1 checkSpace 111 -ERROR- , INT = 950 1805 | INFORMATION-1 iSilentInstallMain 111 -- DBI20043E DB2 failed to install because of restrictive permission settings on the temporary directory, "/tmp". , | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to version 10.5 Fix Pack 5 or higher. * **************************************************************** | |
Local Fix: | |
Use /tmp as temp file directory | |
Solution | |
First fixed in version 10.5 Fix Pack 5. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 29.05.2014 17.03.2015 17.03.2015 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.5 |