inventory.xml中的Oracle_home已存在

原创 2015年07月06日 23:38:38


重新安装RAC数据库时报下列错误:

Remote 'AttachHome' failed on nodes: 'prod02'. Refer to '/u01/app/oraInventory/logs/installActions2015-07-06_10-45-26PM.log' for details.
It is recommended that the following command needs to be manually run on the failed nodes: 
 /u01/app/oracle/product/11.2.0/db_1/oui/bin/runInstaller -attachHome -noClusterEnabled ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 ORACLE_HOME_NAME=OraDb11g_home1 CLUSTER_NODES=prod01,prod02 "INVENTORY_LOCATION=/u01/app/oraInventory" LOCAL_NODE=<node on which command is to be run>. 
Please refer 'AttachHome' logs under central inventory of remote nodes where failure occurred for more details.


处理办法是:

先删除inventory.xml中的ORACLE_HOME再重新运行,详细过程如下所示:


prod02:/u01/app/oraInventory/ContentsXML$ /u01/app/oracle/product/11.2.0/db_1/oui/bin/runInstaller -attachHome -noClusterEnabled ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 ORACLE_HOME_NAME=OraDb11g_home1 CLUSTER_NODES=prod01,prod02 "INVENTORY_LOCATION=/u01/app/oraInventory" LOCAL_NODE=prod02 
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 4871 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
OUI-10197:Unable to create a new Oracle Home at /u01/app/oracle/product/11.2.0/db_1. Oracle Home already exists at this location. Select another location.
'AttachHome' failed.
prod02:/u01/app/oraInventory/ContentsXML$ls -ltr
total 12
-rw-rw---- 1 grid oinstall 689 Jul  6 19:58 inventory.xml
-rw-rw---- 1 grid oinstall 270 Jul  6 19:58 libs.xml
-rw-rw---- 1 grid oinstall 307 Jul  6 19:58 comps.xml
prod02:/u01/app/oraInventory/ContentsXML$cat inventory.xml 
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2011, Oracle. All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>11.2.0.3.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="grid_home1" LOC="/u01/11.2.0/grid" TYPE="O" IDX="1" CRS="true">
   <NODE_LIST>
      <NODE NAME="prod02"/>
      <NODE NAME="prod01"/>
   </NODE_LIST>
</HOME>
<HOME NAME="oracle_home1" LOC="/u01/app/oracle/product/11.2.0/db_1" TYPE="O" IDX="2">
   <NODE_LIST>
      <NODE NAME="prod02"/>
   </NODE_LIST>
</HOME>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>
prod02:/u01/app/oraInventory/ContentsXML$
prod02:/u01/app/oraInventory/ContentsXML$ /u01/app/oracle/product/11.2.0/db_1/oui/bin/runInstaller -detachHome -force -noClusterEnabled ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 ORACLE_HOME_NAME=oracle_home1 CLUSTER_NODES=prod01,prod02 "INVENTORY_LOCATION=/u01/app/oraInventory" LOCAL_NODE=prod02 
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 4871 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'DetachHome' was successful.
prod02:/u01/app/oraInventory/ContentsXML$cat inventory.xml 
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2011, Oracle. All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>11.2.0.3.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="grid_home1" LOC="/u01/11.2.0/grid" TYPE="O" IDX="1" CRS="true">
   <NODE_LIST>
      <NODE NAME="prod02"/>
      <NODE NAME="prod01"/>
   </NODE_LIST>
</HOME>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>
prod02:/u01/app/oraInventory/ContentsXML$ /u01/app/oracle/product/11.2.0/db_1/oui/bin/runInstaller -attachHome -noClusterEnabled ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 ORACLE_HOME_NAME=OraDb11g_home1 CLUSTER_NODES=prod01,prod02 "INVENTORY_LOCATION=/u01/app/oraInventory" LOCAL_NODE=prod02 
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 4871 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'AttachHome' was successful.
prod02:/u01/app/oraInventory/ContentsXML$


Ora_通过克隆方式安装11g R2 rac 软件

11g RAC 通过克隆技术安装grid和rdbms软件

如何免安装异机恢复sap bi系统及数据库

前言,我们在做sap basis时,总是对文件进行了备份,包括sap的安装文件、数据库安装文件。现在我们通过以上备份,对系统进行异机恢复测试。本次测试,其实非常有意义的,sap的安装会耗费大量的时间,...

oracle 11gR2 新增deinstall命令来卸载grid和database

在oracle 11gR2以前的版本中,卸载CRS和oracle database时需要手工去删除部分东西,从oracle 11gR2版本开始新增deinstall命令可以卸载grid和datab...

oracle runInstaller INS-32025

本地测试安装,删除ORACLE_HOME目录之后再次安装时报错: ./runInstaller -silent -force -ignorePrereq -ignoreSysPreReqs -res...

TNS-12547: TNS:lost contact解决办法

新安装的Enterprise Linux Enterprise Linux AS release 4,在安装Oracle 10gR2之后,Listener不能启动. 报错信息如下: TNS-1...

无法读取 C:/Program Files/Oracle/Inventory/ContentsXML/comps.xml

无法读取 C:/Program Files/Oracle/Inventory/ContentsXML/comps.xml 今天一个同事问我一个问题,安装oracle时一直安装不下去,查看安装日...

Oracle中Inventory目录作用以及如何重建此目录

oraInventory存放的是Oracle软件安装的目录信息,Oralce的安装升级都需要用到这个目录,来看看Oracle文档中对这个目录的一点说明: All Oracle software in...

Oracle ERP 仓库(inventory) 词汇1

词汇表AABC classification(ABC 分类)一种按重要性(如年度金额或公司的事务处理历史记录)递减顺序对物料进行分类的方法。ABR“基于属性发放”系统。ABR 是 Navistar 使...

Oracle EBS Inventory Item 导入(库存物料导入)

库存物料(Inventory Item)导入   物料导入/导出主要的目的是在不同系统之间的数据的导入/导出,以某一种数据信息格式和某一种传输方式获取数据。在不同系统间的数据导入/导出必须解决的最...

安装oralce过程中用户、群组及相关oracle inventory的详解

1、单实例用户 我们在创建单实例的时候,一般用的用户是 oracle  用户,oinstall ,dba ,oper组 oinstall:oinstall 组是oracle 推荐操作系统的用户组,...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:inventory.xml中的Oracle_home已存在
举报原因:
原因补充:

(最多只允许输入30个字)