最多的就是在第二個節點上面執行root.sh時候會出錯,我基本上把網上常見的錯誤都遇到過了,因此在這裏整理一下:java
1.安裝rac的節點時間必須同步不然會出現node
2.共享存儲問題,我遇到的這個問題基本上是vmware中共享存儲設置問題,在創建共享磁盤時候選擇當即分配全部磁盤空間以後就再也沒有出現過oracle
- PROT-1: Failed to initialize ocrconfig
- Failed to upgrade Oracle Cluster Registry configuration
3.遭遇到oracle bug 4679769,下載補丁p4679769_10201_LINUX.zipide
- Setting the permissions on OCR backup directory
- Setting up NS directories
- Failed to upgrade Oracle Cluster Registry configuration
下載補丁以後按照補丁文件中的說明操做便可spa
- cp $ORACLE_HOME/bin/clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin.bak
- cp clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin
- chmod 755 $ORACLE_HOME/bin/clsfmt.bin
而後從新運行root.sh腳本3d
4.blog
- /home/oracle/oracrs/product/10.2.0/crs/jdk//jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
這裏又是一個bug,手動修改兩個文件,在文件中添加以下設置ip
/home/oracle/oracrs/product/10.2.0/crs/bin/srvctlget
/home/oracle/oracrs/product/10.2.0/crs/bin/vipca同步
而後保存退出從新運行root.sh腳本
5.The given interface(s), "eth0" is not public. Public interfaces should be used to configure virtual IPs.
手動運行vipca配置node1和node2的虛IP便可
6.
- Error 0(Native: listNetInterfaces:[3])
- [Error 0(Native: listNetInterfaces:[3])]
若是遇到了這個錯誤:
- [root@node2 bin]# ./oifcfg iflist
- eth1 172.16.1.0
- eth0 192.168.183.0
- [root@node2 bin]# ./oifcfg setif -global eth0/192.168.183.0:public
- [root@node2 bin]# ./oifcfg setif -global eth1/172.16.1.0:cluster_interconnect
- [root@node2 bin]# ./oifcfg getif
- eth0 192.168.183.0 global public
- eth1 172.16.1.0 global cluster_interconnect
而後從新手動運行vipca便可