We got an email from a customer who was trying to install a new 19c Oracle Home with 19.25 DB RU applied and he was getting the error INS-08101.
I gave it a try and found the same issue:
[opc@instance-20241017-1048 ~]$ cat /etc/oracle-release
Oracle Linux Server release 8.7
unzip -qqo LINUX.X64_193000_db_home.zip -d /u01/app/oracle/product/19/dbhome_1
rm -rf /u01/app/oracle/product/19/dbhome_1/OPatch/
unzip -qqo p6880880_190000_Linux-x86-64.zip -d /u01/app/oracle/product/19/dbhome_1/
./runInstaller -silent -ignorePrereqFailure -responseFile /home/oracle/patch/db_install.rsp -applyRU /home/oracle/patch/19_25/36912597
Preparing the home to patch...
Applying the patch /home/oracle/patch/19_25/36912597...
Successfully applied the patch.
The log can be found at: /tmp/InstallActions2024-10-17_05-53-02PM/installerPatchActions_2024-10-17_05-53-02PM.log
Launching Oracle Database Setup Wizard...[WARNING] [INS-08101] Unexpected error while executing the action at state: 'supportedOSCheck'
CAUSE: No additional information available.
ACTION: Contact Oracle Support Services or refer to the software manual.
SUMMARY:
- java.lang.NullPointerException
Moved the install session logs to:
/u01/app/oraInventory/logs/InstallActions2024-10-17_05-53-02PM
An easy solution found by the customer was setting the environment variable CV_ASSUME_DISTID.
export CV_ASSUME_DISTID=OEL8.2
I did more tests and found something interesting if you apply the GI Release 19.25 (36916690), which contains the DB RU + some other patches it works without setting CV_ASSUME_DISTID.
./runInstaller -silent -ignorePrereqFailure -responseFile /home/oracle/patch/db_install.rsp -applyRU /u01/patches/19_25_gi/36916690
Preparing the home to patch...
Applying the patch /u01/patches/19_25_gi/36916690...
Successfully applied the patch.
The log can be found at: /tmp/InstallActions2024-10-17_08-34-50PM/installerPatchActions_2024-10-17_08-34-50PM.log
Launching Oracle Database Setup Wizard...
[WARNING] [INS-13014] Target environment does not meet some optional requirements.
CAUSE: Some of the optional prerequisites are not met. See logs for details. installActions2024-10-17_08-34-50PM.log
ACTION: Identify the list of failed prerequisite checks from the log: installActions2024-10-17_08-34-50PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
The response file for this session can be found at:
/u01/app/oracle/product/19/dbhome_1/install/response/db_2024-10-17_08-34-50PM.rsp
You can find the log of this install session at:
/tmp/InstallActions2024-10-17_08-34-50PM/installActions2024-10-17_08-34-50PM.log
As a root user, execute the following script(s):
1. /u01/app/oraInventory/orainstRoot.sh
2. /u01/app/oracle/product/19/dbhome_1/root.sh
Execute /u01/app/oraInventory/orainstRoot.sh on the following nodes:
[instance-20241017-1048]
Execute /u01/app/oracle/product/19/dbhome_1/root.sh on the following nodes:
[instance-20241017-1048]
Successfully Setup Software with warning(s).
Moved the install session logs to:
/u01/app/oraInventory/logs/InstallActions2024-10-17_08-34-50PM
Checking the patches applied, I can see the OCW RELEASE UPDATE is there:
./opatch lspatches
36917416;OCW RELEASE UPDATE 19.25.0.0.0 (36917416)
36912597;Database Release Update : 19.25.0.0.241015 (36912597)
So, let’s try to apply only the DB RU + OCW RELEASE UPDATE:
./runInstaller -silent -ignorePrereqFailure -responseFile /home/oracle/patch/db_install.rsp -applyRU /u01/patches/19_25/36912597 -applyOneOffs /u01/patches/19_25_gi/36916690/36917416
Preparing the home to patch...
Applying the patch /u01/patches/19_25/36912597...
Successfully applied the patch.
Applying the patch /u01/patches/19_25_gi/36916690/36917416...
Successfully applied the patch.
The log can be found at: /tmp/InstallActions2024-10-17_08-59-31PM/installerPatchActions_2024-10-17_08-59-31PM.log
Launching Oracle Database Setup Wizard...
[WARNING] [INS-13014] Target environment does not meet some optional requirements.
CAUSE: Some of the optional prerequisites are not met. See logs for details. installActions2024-10-17_08-59-31PM.log
ACTION: Identify the list of failed prerequisite checks from the log: installActions2024-10-17_08-59-31PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
The response file for this session can be found at:
/u01/app/oracle/product/19/dbhome_1/install/response/db_2024-10-17_08-59-31PM.rsp
You can find the log of this install session at:
/tmp/InstallActions2024-10-17_08-59-31PM/installActions2024-10-17_08-59-31PM.log
As a root user, execute the following script(s):
1. /u01/app/oraInventory/orainstRoot.sh
2. /u01/app/oracle/product/19/dbhome_1/root.sh
Execute /u01/app/oraInventory/orainstRoot.sh on the following nodes:
[instance-20241017-1048]
Execute /u01/app/oracle/product/19/dbhome_1/root.sh on the following nodes:
[instance-20241017-1048]
Successfully Setup Software with warning(s).
Moved the install session logs to:
/u01/app/oraInventory/logs/InstallActions2024-10-17_08-59-31PM
As you can see, it also works.
In summary, you have 3 options:
- 1 – Apply the GI RELEASE
- 2 – Apply the OCW RELEASE UPDATE + DB RU using “-applyRU” + “-applyOneOffs”.
- 3 – Set the environment variable CV_ASSUME_DISTID
I opened a bug for the database development team reporting this issue and I hope to have good news soon.
A huge thanks to Theo Dijkstra who reported the issue and provided all the details.