环境描述:
操作系统:
Red Hat Enterprise Linux Server release 6.6 (Santiago)
软件安装:
其它服务器tar包后,解压相同路径
[bea@finereportapp3 weblogic12]$ ls
cfgtoollogs coherence domain-registry.xml inventory OPatch oracle_common oraInst.loc oui user_projects wlserver
[bea@finereportapp3 weblogic12]$ cd OPatch/
[bea@finereportapp3 OPatch]$ ./opatch lsinv
Oracle 中间补丁程序安装程序版本 13.9.4.0.0
版权所有 (c) 2019, Oracle Corporation。保留所有权利。
Oracle Home : /app/bea/weblogic12
Central Inventory : /app/oraInventory
from : /app/bea/weblogic12/oraInst.loc
OPatch version : 13.9.4.0.0
OUI version : 13.9.3.0.0
Log file location : /app/bea/weblogic12/cfgtoollogs/opatch/opatch2019-07-16_10-38-14上午_1.log
OPatch detects the Middleware Home as "/app/bea/weblogic12"
LsInventorySession 失败: OPatch 无法找到主产品清单。
原因可能是:
该主产品清单已损坏
指定的 oraInst.loc 文件无效。
 
[bea@finereportapp3 OPatch]$ more /app/bea/weblogic12/oraInst.loc
#Oracle Installer Location File Location
#Sun May 26 11:26:10 CST 2019
inst_group=bea
inventory_loc=/app/oraInventory
#创建目录
$ mkdir -p /app/oraInventory
[bea@finereportapp3 OPatch]$ cd /app/oraInventory/
[bea@finereportapp3 oraInventory]$ ls
[bea@finereportapp3 oraInventory]$ mkdir ContentsXML
[bea@finereportapp3 oraInventory]$ cd ContentsXML/
从源服务器拷贝文件到此目录下即可 或手工创建修业也OK ,因为我的路径都是一致,所以我直接拷贝过来。
[bea@finereportapp3 ContentsXML]$ more inventory.xml
   
      
      
   
      
      
   
再次检查:解决!
