zoukankan      html  css  js  c++  java
  • opatch lsinventory –details

    今天把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

    。。。。。。

    没问题了

  • 相关阅读:
    寒假 学习进度七
    寒假学习进度
    寒假学习进度五
    寒假学习进度四
    寒假学习进度三
    寒假学习进度二
    Spark实验五
    半篇论文笔记
    REPL
    Scala基本语法及操作、程序控制结构
  • 原文地址:https://www.cnblogs.com/future2012lg/p/3315896.html
Copyright © 2011-2022 走看看