Saturday 27 October 2018

RCU-6080:Global prerequisite check failed – The selected Oracle database is a multitenant container database (CDB).

Issue:-Error faced while installing 12C RCU
Error:-RCU-6080:Global prerequisite check failed – Check requirement for specified database

          The selected Oracle database is a multitenant container database (CDB). 

          Connecting to a multitenant container database (CDB) is not supported. 

          Instead, connect to a valid pluggble database (PDB)

Solution 1:-
1.) Check where are your PDB installed(below my example):

SQL> select name from v$services;
NAME
pdborcl

weblogicXDB

weblogic

SYS$BACKGROUND

SYS$USERS


2) Alter your database:

 SQL> alter pluggable database all open;
 3) Insert the correct service name. On my case, is pdborcl:
      Try to re run RCU

Or

Solution 2:-


Note:- Make sure you are entering correct SID.
when i installed oracle database 12c i left global database name as default (orcl) and during  RCU run, i was entering global database name at the place of SID information.

Then i re-installed database and changed my global database name same as SID and re-run RCU,it was successful.

if u see above error make sure you are entering correct database information when running RCU




Thanks,
Aditya.

Friday 12 October 2018

‘Opatch’ is not recognized as an internal or external command

                 ‘Opatch’ is not recognized as an internal or external command

Environment:-Windows Server 2012R2 IIS application

Error:- ‘Opatch’ is not recognized as an internal or external command while installing
               patch for IIS webagte 11.1.2.3

Solution:-

My correct path is “C:\oracle\product\11.1.1\as_1” but i used wrong path in above command prompt “C:\oracle\product\11.1.1\as_1”. So, i got the error like ‘optach’ is not recognized.

run below commands by correcting the path


set ORACLE_HOME=C:\oracle\product\11.1.1\as_1
and then execute the below javascripts
set PATH=%ORACLE_HOME%\bin;%PATH%
set JAVA_HOME=%ORACLE_HOME%\jdk
set PATH=%JAVA_HOME%\bin;%PATH%
set PATH=%ORACLE_HOME%\OPatch;%PATH%


After setting above commands try to run opatch apply command

If the patch got succeed then we will get message like "opatch succeeded"


Regards,
Aditya.