查看数据库补丁情况时opatch显示报错:
[oracle@orcl ~]$ opatch lsinventory
Oracle Interim Patch Installer version 12.2.0.1.17
Copyright (c) 2019, Oracle Corporation. All rights reserved.
Oracle Home :
/u01/oracle/product/12.2.0/db_1
Central Inventory : /u01/oraInventory
from :
/u01/oracle/product/12.2.0/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.17
OUI version : 12.2.0.1.4
Log file location :
/u01/oracle/product/12.2.0/db_1/OPatch/opatch2021-06-09_14-59-20PM_1.log
LsInventorySession failed: OPatch failed to locate Central Inventory.
Possible causes are:
The Central Inventory is corrupted
The oraInst.loc file specified is not valid.
OPatch failed with error code 73
解决方法:
修改oraInst.loc文件配置
[oracle@orcl ~]$ more
/u01/oracle/product/12.2.0/dbhome_1/oraInst.loc
#Oracle Installer Location File Location
#Mon Jun 09 14:10:42 CST 2021
inst_g
12-15
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交