ITPub博客

首页 > 数据库 > Oracle > rac 11.2.0.4 安装常见错误及处理

rac 11.2.0.4 安装常见错误及处理

Oracle 作者:mingjie1116 时间:2014-03-18 16:03:54 0 删除 编辑

./runInstaller

启动图形化报错

PRVF-0002 : Could not retrieve local nodename.

核查方向:主机名与ip的对应问题

[root@howe1 ~]# hostname

howe1

[root@howe1 ~]# cat /etc/sysconfig/network

NETWORKING=yes

HOSTNAME=howe1

vim /etc/hosts --主机名后面不要有空格

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

#public ip

192.168.8.201 howe1

192.168.8.202 howe2

#private ip

10.10.10.201 howe1-priv

10.10.10.202 howe2-priv

#vip ip

192.168.8.211 howe1-vip

192.168.8.212 howe2-vip

#scan ip

192.168.8.223 scan-howe

GI安装时,检查public和vip时报错INS-30132错误,如下图

clip_image001

核查方向:

Ssh互信配置问题,

逐个核查

ssh howe1

ssh howe2

ssh howe1-priv

ssh howe2-priv

是否需要输入密码。

GI安装第二节点root.sh出错(1)

[root@howe2 ~]# /u01/app/11.2.0/grid/root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME= /u01/app/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:

Copying dbhome to /usr/local/bin ...

Copying oraenv to /usr/local/bin ...

Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Creating trace directory

User ignored Prerequisites during installation

Installing Trace File Analyzer

OLR initialization - successful

Adding Clusterware entries to upstart

CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node howe1, number 1, and is terminating

An active cluster was found during exclusive startup, restarting to join the cluster

Start of resource "ora.crsd" failed

CRS-2800: Cannot start resource 'ora.asm' as it is already in the INTERMEDIATE state on server 'howe2'

CRS-4000: Command Start failed, or completed with errors.

Failed to start Oracle Grid Infrastructure stack

Failed to start Cluster Ready Services at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 1353.

/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed

官方解决方法,参考文章1062983.1

个人估计是:vmware-vdiskmanager.exe -c -s 2Gb -a lsilogic -t 0 E:\vmware\asm\data01.vmdk

创建共享存储的原因:将-t 0 改为-t 2后重新创建,之后GI安装正常。

GI安装第二节点root.sh出错(1)

/u01/app/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory

解决办法:

1. 安装compat-libcap1-1.10-1.x86_64.rpm

2. 删除root.sh运行的内容 (howe2)

perl /u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig –force

3. 重新运行root.sh

DB安装找不到节点,报INS-35423 The installer has detected that Oracle Clusterware is not running on local node错误。

clip_image003

官方解决办法:

1./etch/hosts配置

#public ip

192.168.8.201 howe1

192.168.8.202 howe2

#private ip

10.10.10.201 howe1-priv

10.10.10.202 howe2-priv

#vip ip

192.168.8.211 howe1-vip

192.168.8.212 howe2-vip

#scan ip

192.168.8.223 scan-howe

Doc ID 1533356.1

Eg

192.168.100.101 racnode1-mgmt racnode1      ====>> public hostname is NOT the first in the list

该次配置不存在这个问题

2. Set/Unset "CRS=true" Flag

设置CRS=true

/u01/app/11.2.0/grid/oui/bin/runInstaller -updateNodeList ORACLE_HOME="/u01/app/11.2.0/grid " CRS=true

Doc ID 1053393.1

经过上述设置,成功识别了两个节点

操作记录:

[grid@howe1 ~]$ echo $ORACLE_HOME

/u01/app/11.2.0/grid

[grid@howe1 ~]$ /u01/app/11.2.0/grid/oui/bin/runInstaller -updateNodeList ORACLE_HOME="/u01/app/11.2.0/grid " CRS=true

Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB. Actual 2047 MB Passed

The inventory pointer is located at /etc/oraInst.loc

The inventory is located at /u01/app/oraInventory

'UpdateNodeList' was successful.

[grid@howe1 ~]$ cat /u01/app/oraInventory/ContentsXML/inventory.xml

<!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.

All rights reserved. -->

<!-- Do not modify the contents of this file by hand. -->

11.2.0.4.0

2.1.0.6.0

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/741768/viewspace-1124222/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-10-10

  • 博文量
    5
  • 访问量
    11253