DB2 - Problem description
Problem IC68634 | Status: Closed |
THE NON-ROOT INSTALLFIXPACK FAILS WHEN THE ENABLE_OS_AUTHENTICATION=YES IS ENABLED USING THE DB2RFE SCRIPT | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
If we enable OS Authentication variable ENABLE_OS_AUTHENTICATION=YES by db2rfe as a root user, db2ckpw file will be owned by root. So the non-root installfixpak fails with the error: db2chglibpath: Unable to open file for write: /home/db2nrusr/sqllib/security/db2ckpw': error: 13(Permission denied) | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * 970 * **************************************************************** * PROBLEM DESCRIPTION: * * THE NON-ROOT INSTALLFIXPACK FAILS WHEN THE * * ENABLE_OS_AUTHENTICATION=YES IS ENABLED USING THE DB2RFE * * SCRIPT * **************************************************************** * RECOMMENDATION: * * Install DB2 V97 fixpak3 * **************************************************************** | |
Local Fix: | |
(1) As non-root user, move the file "db2ckpw" to some tmp location: mv ~/sqllib/security/db2ckpw ~/ (2) As non-root user, re-run the installFixPack command as before, but add the "-f level" option: ./installFixPack -b /home/db2nrusr/sqllib -f level (3) As root user, re-run the same db2rfe command as before with the same db2rfe.cfg file used cd /export/home/nonroot/sqllib/instance ./db2rfe -f db2rfe.cfg with INSTANCENAME=<non-root user> ENABLE_OS_AUTHENTICATION=YES At this point, we should be able to run db2start as non-root instance. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 V97 fixpak3 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 13.05.2010 12.10.2010 12.10.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.7. | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.3 | |
9.7.0.3 |