future2012lg

博客园 首页 新随笔 联系 订阅 管理

今天把RAC的数据库升完级后,在RAC1节点执行opatch lsinventory –detail 命令,没有报错。在rac2节点执行报错:

[oracle@rac2 ~]$ opatch lsinventory –details
Invoking OPatch 10.2.0.5.1

Oracle Interim Patch Installer version 10.2.0.5.1
Copyright (c) 2010, Oracle Corporation.  All rights reserved.


Oracle Home       : /opt/ora10g/product/10.2.0/db_1
Central Inventory : /home/oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 10.2.0.5.1
OUI version       : 10.2.0.5.0
OUI location      : /opt/ora10g/product/10.2.0/db_1/oui
Log file location : /opt/ora10g/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2013-09-11_21-18-44PM.log

Patch history file: /opt/ora10g/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt

List of Homes on this system:

Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
   Oracle Home dir. path does not exist in Central Inventory
   Oracle Home is a symbolic link
   Oracle Home inventory is corrupted  //坏了
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo

OPatch failed with error code 73

要重新创建,停库

http://www.dbaroad.me/archives/2009/10/reinstall_orainventory.html

再次运行命令:
[oracle@rac2 ~]$ opatch lsinventory –details
Invoking OPatch 10.2.0.5.1

。。。。。。

没问题了

 

posted on 2013-09-11 23:10  future2012lg  阅读(1579)  评论(0编辑  收藏  举报