OPatch failed while running checkMTpatch.sh
Posted by Ankur Tyagi on Feb 20, 2018; 5:51am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/OPatch-failed-while-running-checkMTpatch-sh-tp5228.html
Hi Erman,
I'm having one issue while trying to execute checkMTpatch.sh on appsTier, below is the error message.
./checkMTpatch.sh
+===============================================================+
| Copyright (c) 2005, 2016 Oracle and/or its affiliates. |
| All rights reserved. |
| Oracle E-Business Suite Release 12.2 |
| Applicatione Tier Technology Codelevel Checker |
+===============================================================+
Using context file from currently set applications environment:
/u01/oracle/VIS/fs1/inst/apps/VIS12212_a12c2-app/appl/admin/VIS12212_a12c2-app.xml
Starting Application Tier Technology Codelevel Checker
Version: 120.0.12020000.33.
Mon Feb 19 21:38:04 PST 2018
Log file for this session: /home/applvis/patches/checkMTpatch_18110.log
Bugfix XML file version: 120.0.12020000.34
This file will be used for identifying missing bugfixes.
Mapping XML file version: 120.0.12020000.19
This file will be used for mapping bugfixes to patches.
Checking for prerequisite bugfixes in File Edition: run
Enter the password for the APPS user:
Connecting to database.
Database connection successful.
The installed AD.C.7 codelevel supports storing the results in the database.
Checking for ETCC results table.
Table to store results already exists in database.
===============================================================================
Oracle Forms and Reports
===============================================================================
Now examining product Oracle Forms and Reports.
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
LsInventorySession failed: Unable to create patchObject
Cannot confirm bugfixes applied to /u01/oracle/VIS/fs1/EBSapps/10.1.2
Inventory could not be checked. Error code: 73.
Exiting.
Also Opatch lsinv is not working. I have tried to build a new central inventory from scratch.
[applvis@a12c2-app VIS]$ . EBSapps.env run
E-Business Suite Environment Information
----------------------------------------
RUN File System : /u01/oracle/VIS/fs1/EBSapps/appl
PATCH File System : /u01/oracle/VIS/fs2/EBSapps/appl
Non-Editioned File System : /u01/oracle/VIS/fs_ne
DB Host: a12c2-db.*****.com Service/SID: VIS12212
Sourcing the RUN File System ...
[applvis@a12c2-app VIS]$ opatch lsinv
Invoking OPatch 10.2.0.4.2
Oracle Interim Patch Installer version 10.2.0.4.2
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Oracle Home : /u01/oracle/VIS/fs1/EBSapps/10.1.2
Central Inventory : /u01/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.2
OUI version : 10.2.0.4.0
OUI location : /u01/oracle/VIS/fs1/EBSapps/10.1.2/oui
Log file location : /u01/oracle/VIS/fs1/EBSapps/10.1.2/cfgtoollogs/opatch/opatch2018-02-19_20-44-03PM.log
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
LsInventorySession failed: Unable to create patchObject
OPatch failed with error code 73
Deleted oraInventory and attached all ORACLE_HOME using OUI
./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/VIS/fs1/EBSapps/10.1.2" \
ORACLE_HOME_NAME="VIS12212_TOOLS__u01_oracle_VIS_fs1_EBSapps_10_1_2"
./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/VIS/fs2/EBSapps/10.1.2" \
ORACLE_HOME_NAME="VIS12212_TOOLS__u01_oracle_VIS_fs2_EBSapps_10_1_2"
./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/VIS/fs1/FMW_Home/Oracle_EBS-app1" \
ORACLE_HOME_NAME="u01_oracle_VIS_fs1_Oracle_EBS_app"
./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/VIS/fs2/FMW_Home/Oracle_EBS-app1" \
ORACLE_HOME_NAME="u01_oracle_VIS_fs2_Oracle_EBS_app"
./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/VIS/fs1/FMW_Home/webtier" \
ORACLE_HOME_NAME="OH664489085"
./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/VIS/fs2/FMW_Home/webtier" \
ORACLE_HOME_NAME="OH332583268"
./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/VIS/fs1/FMW_Home/oracle_common" \
ORACLE_HOME_NAME="OH1770305581"
./runInstaller -silent -attachHome \
ORACLE_HOME="/u01/oracle/VIS/fs2/FMW_Home/oracle_common" \
ORACLE_HOME_NAME="OH1837312334"