Unexpected ‘supportedOSCheck’ while installing Oracle database 19c in silent mode on Oracle Linux 8.2 64-bit (x86-64)





As usual, I checked all the pre-requisites for the installation of Oracle Database 19c on Oracle Linux 8.2. However, I didn’t expect to be surprised with the below error at the very beginning:

[oracle@]$ ./runInstaller -ignorePrereq -waitforcompletion -silent  -responseFile /u01/app/oracle/agent/install/response/db_install.rsp
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

I thought:” Did I miss Oracle Linux 8 isn’t supported with Oracle 19c?”. I was sure that I checked this before so I started googling around again and then I found that this error has happened in previous releases as 12.1 due to the fact that it does not contain Pre-req checks specific to OL /RHEL 8 but then I thought again: ” I am installing Oracle database 19c which is 12.2.0.3, so why did Oracle not fix this yet?!”. Well, I don’t really know why but I can understand that maybe all the troubleshooting to fix a code sometimes take time. Regardless of the fact that this error still persists from the previous releases, the workaround is basically the same and consists of “tricky” installers to pretend that you are using a previous release of OS. To do that you set the variable CV_ASSUME_DISTID with the value of OL7 as in this case I am using Oracle Linux 8 and then re-execute the operation.


[oracle@]$ export CV_ASSUME_DISTID=OL7
[oracle@]$ ./runInstaller -ignorePrereq -waitforcompletion -silent  -responseFile /u01/app/oracle/agent/install/response/db_install.rsp
Launching Oracle Database Setup Wizard…

Related posts

Leave a Comment