If below error reported during opatch in ERPTST then perform below.
ERROR:
In Release 12 in Production:
When attempting to apply the CPUJAN08 to the 10.1.2 or 10.1.3 Oracle Homes
the following error occurs.
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
OPatch Exception:
OUI found no such ORACLE_HOME set in the environment
Can not get details for given Oracle Home
An exception occurs
null
+++++++++++++++++++++++++++++++++++++++
Solution:
Or you can verify the following entry in /etc/oraInst.loc
inventory_loc=/u01/app/apptst/TEST/apps/tech_st/10.1.3
inventory_loc=/u01/app/apptst/TEST/apps/tech_st/10.1.2
1. Run opatch lsinventory using the command
opatch lsinventory -invPtrLoc <PATH to oraInst.loc file>
eg:
opatch lsinventory -invPtrLoc $ORACLE_HOME/oraInst.loc
To implement the solution, please execute the following steps:
2. Run OPatch pointing to the local inventory either 10.1.2 or 10.1.3
opatch apply -invPtrLoc $ORACLE_HOME/oraInst.loc
ERROR:
In Release 12 in Production:
When attempting to apply the CPUJAN08 to the 10.1.2 or 10.1.3 Oracle Homes
the following error occurs.
OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
OPatch Exception:
OUI found no such ORACLE_HOME set in the environment
Can not get details for given Oracle Home
An exception occurs
null
+++++++++++++++++++++++++++++++++++++++
Solution:
Or you can verify the following entry in /etc/oraInst.loc
inventory_loc=/u01/app/apptst/TEST/apps/tech_st/10.1.3
inventory_loc=/u01/app/apptst/TEST/apps/tech_st/10.1.2
opatch lsinventory -invPtrLoc <PATH to oraInst.loc file>
eg:
opatch lsinventory -invPtrLoc $ORACLE_HOME/oraInst.loc
To implement the solution, please execute the following steps:
2. Run OPatch pointing to the local inventory either 10.1.2 or 10.1.3
opatch apply -invPtrLoc $ORACLE_HOME/oraInst.loc
No comments:
Post a Comment