• 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

    。。。。。。

    没问题了

  • 相关阅读:
    influxdb服务器 relay
    browse-agent type and curl post
    使用 Ansible 管理 MySQL 复制
    ansible里的item和with_items
    Ansible 从MySQL数据库添加或删除用户
    ansibel---tag模块
    ll | wc -l的陷阱
    ansible 判断和循环
    Ansible详解(二)
    Ansible详解(一)
  • 原文地址:https://www.cnblogs.com/future2012lg/p/3315896.html
Copyright © 2020-2023  润新知