My Oracle Support Banner

19c upgrade fails with OUI-10166 and OUI-10175 due to incorrect ownership of after -dryRunForUpgrade (Doc ID 2581014.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


Upgrading to 19c after the upgrade readiness check ( -dryRunForUpgrade) failed with below error OUI-10166 & OUI-10175

Excerpt from gridSetupActions<timestamp>.log

INFO: [Jun 3, 2019 12:03:34 PM] Error while instantiating the file.
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
- OUI-10166:The permissions 0755 cannot be set for the file /u01/app/19.0.0/grid/crs/config/ 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 with -dryRunForUpgrade flag.

1. Central inventory updated with new home info.

<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"/>        <<<<<<

 2. Directories under GRID_HOME are owned by root:oinstall instead of grid:oinstall

[grid@<nodename> ~]$ ll /u01/app/19.0.0/grid/
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
-rwxr-xr-x. 1 root oinstall 414 Jun 3 11:20
drwxr-x---. 5 root oinstall 45 Apr 17 11:56 suptools

 3. ownership has changed

[grid@<nodename> ~]$ ll /u01/app/19.0.0/grid/crs/config/
-rwxr-x---. 1 root oinstall 6248 Jun 3 11:20 /u01/app/19.0.0/grid/crs/config/



 Checked the upgrade readiness by unzipping 19c gold image and then start the installer with '-dryRunForUpgrade' flag before performing the actual upgrade


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.