weblogic报错: OPatch failed with error code 73
环境描述:
操作系统:
Red Hat Enterprise Linux Server release 6.6 (Santiago)
软件安装:
其它服务器tar包后,解压相同路径
[[email protected] weblogic12]$ ls
cfgtoollogs coherence domain-registry.xml inventory OPatch oracle_common oraInst.loc oui user_projects wlserver
[[email protected] weblogic12]$ cd OPatch/
[[email protected] 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 文件无效。
[[email protected] 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
[[email protected] OPatch]$ cd /app/oraInventory/
[[email protected] oraInventory]$ ls
[[email protected] oraInventory]$ mkdir ContentsXML
[[email protected] oraInventory]$ cd ContentsXML/
从源服务器拷贝文件到此目录下即可 或手工创建修业也OK ,因为我的路径都是一致,所以我直接拷贝过来。
[[email protected] ContentsXML]$ more inventory.xml
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
<!-- Copyright (c) 1999, 2019, Oracle. All rights reserved. -->
<!-- Do not modify the contents of this file by hand. --><INVENTORY>
<VERSION_INFO>
<SAVED_WITH>13.9.2.0.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OracleHome1" LOC="/home/bea/weblogic12" TYPE="O" IDX="1"/>
<HOME NAME="OracleHome2" LOC="/app/bea/weblogic12" TYPE="O" IDX="2"/>
</HOME_LIST>
<COMPOSITEHOME_LIST/>
</INVENTORY>
再次检查:解决!
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30327022/viewspace-2650641/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/30327022/viewspace-2650641/