[grid@node1 ~]$ opatch lsinventory -detail -oh /u01/app/12.2.0/grid
Oracle Interim Patch Installer version 12.2.0.1.25
Copyright © 2021, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/12.2.0/grid
Central Inventory : /u01/app/oraInventory
from : /u01/app/12.2.0/grid/oraInst.loc
OPatch version : 12.2.0.1.25
OUI version : 12.2.0.1.4
Log file location : /u01/app/12.2.0/grid/cfgtoollogs/opatch/opatch2021-07-22_11-46-24AM_1.log
List of Homes on this system:
Home name= OraDB12Home1, Location= “/u01/app/oracle/product/12.2.0/db_1”
LsInventorySession failed: RawInventory gets null OracleHomeInfo
OPatch failed with error code 73
具体可以参考文档“OID 12c Opatch Fails with Error: OUI-67073:LsInventorySession failed: RawInventory gets null OracleHomeInfo (Doc ID 2547235.1) ”
执行如下:
[grid@node1 ~]$ cd $ORACLE_HOME
[grid@node1 grid]$ cd oui
[grid@node1