5.oracle打optch报错:Inventory load failed... OPatch cannot load inventory for the given Oracle Home

昨天在安装12c补丁时:当执行opatch lspatches查询当前节点的补丁包时,发现报这种错误:

这里也可以用opatch lsinv命令(该命令查看的结果显示的更加详细一些)

Inventory load failed... OPatch cannot load inventory for the given Oracle Home.

这里从mos文档中查看的原因是找不到路径,因为解决方法是:

sh $ORACLE_HOME/oui/bin/attachHome.sh
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 32698 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
'AttachHome' was successful.

然后再用opatch lspatches 或者opatch lsinv进行查看就正常了。。。

posted on 2022-05-08 14:30  太白金星有点烦  阅读(380)  评论(0)    收藏  举报

导航