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$


版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

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

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

powerdesigner连接数据库 导出数据 生成PDM文件 傻瓜试教程

powerdesigner连接数据库 导出数据 生成PDM文件 傻瓜试教程

[INS-32025] 所选安装与指定 Oracle 主目录中已安装的软件冲突

今天在安装oracle中 ,提示所选安装与指定oracle主目录中已安装的软件冲突,估计是我以前卸载oracle没卸载干净,解决办法: 删除C:\Program Files (x86)\Oracle...

Microsoft Windows Server 2008 R2官方原版(MSDN版)下载

以下下载均为微软官方原版光盘映像文件,即MSDN版。包括零售版(RTL Edition)和大客户版(VOL Edition),请大家根据需要选择下载。提醒大家:下载完成后请验证文件的MD5/SHA1值...

win7下安装ORACLE 11G 出现:“[INS-32025] 所选安装与指定 Oracle 主目录中已安装的软件冲突” 的问题

如题,win7下安装oracle 11g,安装包为win32_11gR2_database_1of2和win32_11gR2_database_2of2。由于安装时没有将安装包里面的文件合并到一个目录...

ORA-12154: TNS: 无法解析指定的连接标识符 - 解决方案

刚创建了一个数据库,准备用PL/SQL Developer登录时,出现如下错误信息:ORA-12154: TNS: 无法解析指定的连接标识符,(有时可能不会出现错误对话框,但也连不上,多试几次对会弹出...

安装oracle [INS-32025] 所选安装与指定 Oracle 主目录中已安装的软件冲突” 的问题

oracle卸了安装,报 [INS-32025] 所选安装与指定 Oracle 主目录中已安装的软件冲突” 的问题 这个错误,解决方案  当我再次重装的时候,选择之前安装的目录(已经删除干净...
  • dyzhen
  • dyzhen
  • 2015-01-08 12:12
  • 2338

[INS-32025] 所选安装与指定 Oracle 主目录中已安装的软件冲突

今天  重装oracle的时候遇见了这个问题,试过好多种方法, 最后我的解决方法是:不要在安装包所在的路径安装oracle, 也就是安装路径和安装包不能再一个路径下。

使用ODBC创建数据源出现未发现 ”Oracle(TM) 客户端和网络组件“问题解决方案

1.下载驱动包   base包:instantclient-basic-windows.x64-11.2.0.3.0.zip   ODBC包:instantclient-odbc-windows....

oracle12c安装详细图解

将两个压缩包解压到同一个目录下,即“database”,然后单击解压目录下的“setup.exe”文件: 安装步骤: 第一步,邮件通知去掉勾,继续下一步; 第二步...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

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