最新文章:Virson's Blog
文章来自:CSDN-howe
1.PRVF-0002
./runInstaller
启动图形化报错
PRVF-0002 : Could not retrieve local nodename.
核查方向:主机名与ip的对应问题
1 [root@howe1 ~]# hostname 2 howe1 3 [root@howe1 ~]# cat /etc/sysconfig/network 4 NETWORKING=yes 5 HOSTNAME=howe1 6 7 vim /etc/hosts --主机名后面不要有空格 8 9 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 10 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 11 12 #public ip 13 192.168.8.201 howe1 14 192.168.8.202 howe2 15 #private ip 16 10.10.10.201 howe1-priv 17 10.10.10.202 howe2-priv 18 #vip ip 19 192.168.8.211 howe1-vip 20 192.168.8.212 howe2-vip 21 #scan ip 22 192.168.8.223 scan-howe
2.INS-30132
GI安装时,检查public和vip时报错INS-30132错误,如下图
核查方向:
Ssh互信配置问题,
逐个核查
ssh howe1
ssh howe2
ssh howe1-priv
ssh howe2-priv
是否需要输入密码。
3.GI安装第二节点root.sh出错(1)
1 [root@howe2 ~]# /u01/app/11.2.0/grid/root.sh 2 Performing root user operation for Oracle 11g 3 4 The following environment variables are set as: 5 ORACLE_OWNER= grid 6 ORACLE_HOME= /u01/app/11.2.0/grid 7 8 Enter the full pathname of the local bin directory: [/usr/local/bin]: 9 Copying dbhome to /usr/local/bin ... 10 Copying oraenv to /usr/local/bin ... 11 Copying coraenv to /usr/local/bin ... 12 13 14 Creating /etc/oratab file... 15 Entries will be added to the /etc/oratab file as needed by 16 Database Configuration Assistant when a database is created 17 Finished running generic part of root script. 18 Now product-specific root actions will be performed. 19 Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params 20 Creating trace directory 21 User ignored Prerequisites during installation 22 Installing Trace File Analyzer 23 OLR initialization - successful 24 Adding Clusterware entries to upstart 25 CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node howe1, number 1, and is terminating 26 An active cluster was found during exclusive startup, restarting to join the cluster 27 Start of resource "ora.crsd" failed 28 CRS-2800: Cannot start resource 'ora.asm' as it is already in the INTERMEDIATE state on server 'howe2' 29 CRS-4000: Command Start failed, or completed with errors. 30 Failed to start Oracle Grid Infrastructure stack 31 Failed to start Cluster Ready Services at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 1353. 32 /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 33 34 官方解决方法,参考文章1062983.1
个人估计是:vmware-vdiskmanager.exe -c -s 2Gb -a lsilogic -t 0E:\vmware\asm\data01.vmdk
创建共享存储的原因:将-t 0 改为-t 2后重新创建,之后GI安装正常。
4.GI安装第二节点root.sh出错(2)
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
5.INS-35423
DB安装找不到节点,报INS-35423 The installer hasdetected that Oracle Clusterware is not running on local node错误。
官方解决办法:
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 <?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" TYPE="O" IDX="1" CRS="true"> <NODE_LIST> <NODE NAME="howe1"/> <NODE NAME="howe2"/> </NODE_LIST> </HOME> </HOME_LIST> <COMPOSITEHOME_LIST> </COMPOSITEHOME_LIST> </INVENTORY>
6、可以忽略的检查错误
device checks for asm --没安装asmlib,使用的udev绑定,可以忽略
task resolv.conf integrity --这个是因为无法访问设置的DNS ip,对安装没影响