19c upgrade fails with OUI-10166 and OUI-10175 due to incorrect ownership of rootconfig.sh after -dryRunForUpgrade
(Doc ID 2581014.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
Upgrading to 19c after the upgrade readiness check (gridSetup.sh -dryRunForUpgrade) failed with below error OUI-10166 & OUI-10175
Excerpt from gridSetupActions<timestamp>.log
Refer associated stacktrace #oracle.install.library.util.FunctionsUtil:60242
SEVERE: [Jun 3, 2019 12:03:34 PM] [FATAL] [INS-00001] Unknown irrecoverable error
CAUSE: No additional information available.
ACTION: Refer to the logs or contact Oracle Support Services
SUMMARY:
- OUI-10166:The permissions 0755 cannot be set for the file /u01/app/19.0.0/grid/crs/config/rootconfig.sh. OUI-10175:The effective user ID does not match the owner of the file, or the process is not the super-user; the system indicates that super-user privilege is required..
The below changes were made when executed gridSetup.sh with -dryRunForUpgrade flag.
1. Central inventory updated with new home info.
<VERSION_INFO>
<SAVED_WITH>12.2.0.7.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OraGI18Home1" LOC="/u01/app/18.0.0/grid" TYPE="O" IDX="1" CRS="true"/>
<HOME NAME="OraDB18Home1" LOC="/u01/app/oracle/product/18.0.0/dbhome_1" TYPE="O" IDX="2"/>
<HOME NAME="OraGI19Home1" LOC="/u01/app/19.0.0/grid" TYPE="O" IDX="3"/> <<<<<<
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>
2. Directories under GRID_HOME are owned by root:oinstall instead of grid:oinstall
drwxrwxrwt. 6 root oinstall 52 Jun 3 11:29 auth
drwxr-xr-x. 2 root oinstall 12288 Jun 3 11:29 bin
drwxr-x---. 3 root oinstall 19 Jun 3 11:29 crf
drwxr-xr-x. 14 root oinstall 4096 Jun 3 11:29 crs
drwxr-xr-x. 3 root oinstall 18 Jun 3 11:29 ctss
drwxr-xr-x. 6 root oinstall 4096 Apr 18 08:37 jdk
drwxr-xr-x. 4 root oinstall 12288 Jun 3 11:28 lib
drwxr-xr-x. 3 root oinstall 18 Jun 3 11:29 ologgerd
drwxr-xr-x. 3 root oinstall 18 Jun 3 11:29 osysmond
drwxr-xr-x. 5 root oinstall 39 Apr 17 11:56 perl
-rwxr-xr-x. 1 root oinstall 405 Jun 3 11:20 root.sh
-rwxr-xr-x. 1 root oinstall 414 Jun 3 11:20 rootupgrade.sh
drwxr-x---. 5 root oinstall 45 Apr 17 11:56 suptools
3. rootconfig.sh ownership has changed
-rwxr-x---. 1 root oinstall 6248 Jun 3 11:20 /u01/app/19.0.0/grid/crs/config/rootconfig.sh
Changes
Checked the upgrade readiness by unzipping 19c gold image and then start the installer with '-dryRunForUpgrade' flag before performing the actual upgrade
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |