最新文章: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,對安裝沒影響