cdy 2019-05-29
1、PRCT-1011 : Failed to run "oifcfg"
在安装Oracle数据库时,在做最后环境和软件包检查时报错:
ID: oracle.install.commons.util.exception.DefaultErrorAdvisor:715
8oracle.cluster.verification.VerificationException: An internal error occurred within cluster verification framework
Unable to obtain network interface list from Oracle ClusterwarePRCT-1011 : Failed to run "oifcfg". Detailed error: null
经过查找资料是由于我在oracle用户下设置了 ORA_NLS10 变量导致,在~/.bash_profile 文件将变量注释解决。
2、安装数据库软件时找不到集群节点
产生这个问题的原因是之前我安装了一个单机版 的grid,所以我再安装集群时目录的名称就变成了 grid_1 ,可以就默认是个单机数据库呢
看不到图中 rac1 和 rac2
经过查询资料是配置文件问题,
u01/app/oraInventory/ContentsXML/inventory.xml找到打开如下:
[root@rac1 ~]# vi /u01/app/oraInventory/ContentsXML/inventory.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
<SAVED_WITH>11.2.0.4.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME name="Ora11g_gridinfrahome1" LOC="/u01/app/11.2.0/grid_1" TYPE="O" IDX="1" CRS="true" >
<NODE_LIST>
<NODE name="rac1"/>
<NODE name="rac2"/>
</NODE_LIST>
</HOME>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>
红色部分为要添加的内容
记住需要重新登录Oracle用户,重新加载环境变量