RedHat 5.6_x86_64 + ASM + RAW+ Orac
十、常見報錯
1、報錯1
nodeNames = jason1,jason2,
INFO: Query Returned:
PRKC-1044 : Failed to check remote command executionsetup for node jason1 using shells /usr/bin/ssh and /usr/bin/rsh
jason1: Connection refused
SEVERE: The specified nodes are not clusterable.
The following error was returned by the operatingsystem:
PRKC-1044 : Failed to check remote command executionsetup for node jason1 using shells /usr/bin/ssh and /usr/bin/rsh
jason1: Connection refused
解決方法:
確保安裝ssh與rsh。同時配置彼此信任關係
2、報錯2
[root@jason2 crs]# ./root.sh
WARNING: directory '/home/oracle/orahome/product/10.2.0'is not owned by root
WARNING: directory '/home/oracle/orahome/product' is notowned by root
WARNING: directory '/home/oracle/orahome' is not ownedby root
WARNING: directory '/home/oracle' is not owned by root
Checking to see if Oracle CRS stack is alreadyconfigured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
PROT-1: Failed to initialize ocrconfig
Failed to upgrade Oracle Cluster Registry configuration
[root@jason2 crs]#
解決方法
如果出現以上報錯,則表示OCR無法初始化,
因此應確保共享磁碟共享正常或裸裝置中存在資料需要清除
dd if=/dev/zero of=/dev/sdc bs=8192 count=20000
3、報錯3
[root@jason2 crs]# ./root.sh
WARNING: directory '/home/oracle/orahome/product/10.2.0'is not owned by root
WARNING: directory '/home/oracle/orahome/product' is notowned by root
WARNING: directory '/home/oracle/orahome' is not ownedby root
WARNING: directory '/home/oracle' is not owned by root
Checking to see if Oracle CRS stack is alreadyconfigured
Oracle CRS stack is already configured and will be runningunder init(1M)
[root@jason2 crs]#
解決方法:
原因為更換的儲存裝置和上次安裝的裝置檔名不一致,刪除每臺機器上的/etc/oracle/scls_scr/rac1/oracle/cssfatal檔案即可。
4、報錯4 (這是個bug:3937317)
安裝叢集軟體時,在第二個節點執行root.sh指令碼報如下錯誤:
Running vipca(silent) for configuring nodeapps
/home/oracle/orahome/product/10.2.0/crs/jdk/jre//bin/java:error while loading shared libraries: libpthread.so.0: cannot open sharedobject file: No such file or directory
或執行root.sh指令碼碰到了這個錯誤(該錯誤不需要修改檔案,直接執行vipca進行配置):
The given interface(s), "eth0" is not public.Public interfaces should be used to configure virtual IPs.
解決方法:
修改vipca檔案
# vi /home/oracle/orahome/product/10.2.0/crs/bin/vipca
找到如下內容:
Remove this workaround when the bug 3937317 is fixed
arch=`uname -m`
if [ "$arch" = "i686" -o"$arch" = "ia64" ]
then
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
fi
#End workaround
在fi 後新新增一行:
unset LD_ASSUME_KERNEL
修改srvctl 檔案
# vi /home/oracle/orahome/product/10.2.0/crs/bin/srvctl
找到如下內容:
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
同樣在其後新增加一行:
unset LD_ASSUME_KERNEL
修改完檔案之後以root使用者身份執行vipca配置nodeappsresource.如下所示
091413185.jpg
點選next
091445603.jpg
點選next
091830146.jpg
書寫vip別名與vip地址
091943564.jpg
點選next
092317190.jpg
點選finish
092342875.jpg
092531878.jpg
點選ok
092814164.jpg
點選exit
vipca配置完成之後回到叢集軟體安裝介面點選ok介面退出叢集軟體安裝。
092915969.jpg
5、報錯5
在執行vipca配置時,報如下錯誤。
[root@jason2 bin]# ./vipca
Error 0(Native: listNetInterfaces:[3])
[Error 0(Native:listNetInterfaces:[3])]
[root@jason2 bin]#
解決方法
[root@jason2 bin]# pwd
/home/oracle/orahome/product/10.2.0/crs/bin
[root@jason2 bin]# ./oifcfg setif -globaleth0/192.168.12.0:public
[root@jason2 bin]# ./oifcfg setif -global eth1/10.10.10.0:cluster_interconnect
[root@jason2 bin]# ./oifcfg getif
eth0 192.168.12.0 global public
eth1 10.10.10.0 global cluster_interconnect
[root@jason2 bin]#
執行完以上操作後,再次以root使用者手工執行vipca進行配置nodeappsresource。
詳細的情況記錄在Oracle notes: 414163.1。
附件:
©著作權歸作者所有:來自51CTO部落格作者jason_125的原創作品,如需轉載,請註明出處,否則將追究法律責任
RAWASMRedHat 5.6_x86_64oracle配置部署
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4822/viewspace-2821159/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 題解:CF1349B Orac and Medians
- redhat安裝dockerRedhatDocker
- Redhat(02):yum 配置Redhat
- redhat 7.x 、redhat 6.x檢視硬碟UUID方法Redhat硬碟UI
- 【ASM】Oracle asm刪除磁碟組注意事項ASMOracle
- 【ASM】ASM磁碟頭被重寫,如何修復ASM
- Redhat:檔案目錄管理Redhat
- gnu inline asminlineASM
- goldengate + asm + racGoASM
- 【ASM】ASM啟動無法找到spfile問題原因ASM
- 從定位資料塊所在ASM磁碟到ASM strippingASM
- ASM叢集檔案系統ACFS(ASM Cluster File System)ASM
- Linux(01):RedHat 7.6 安裝LinuxRedhat
- centOS(同redhat)安裝 dockerCentOSRedhatDocker
- ASM磁碟組限制ASM
- 4.5.1.1 srvctl add asmASM
- ASM(Automatic Storage Management)ASM
- Android Transform + ASM 初探AndroidORMASM
- ASM Metadata Dump UtilityASM
- RAC+ASM+DATAGUARDASM
- ASM Fast Mirror ResyncASMAST
- 【ASM】asm常用命令及主要功能介紹ASM
- PostgreSQL:Redhat 8.5 + PostgreSQL 14.5 安裝SQLRedhat
- redhat 5.5 配置網路yum源Redhat
- RedHat FC5安裝xmmsRedhat
- RedHat8 配置本地yum源Redhat
- Redhat(03):Linux 初始化配置RedhatLinux
- 【ASM】Oracle asm磁碟被格式化,如何掛載該磁碟組ASMOracle
- Oracle ASM神書《撥雲見日 解密Oracle ASM核心》出版了OracleASM解密
- Centos和Redhat有什麼關係?Centos和Redhat的區別與聯絡介紹CentOSRedhat
- 遷移ASM磁碟組ASM
- Oracle ASM擴容(NFS)OracleASMNFS
- Java ASM學習(2)JavaASM
- Automatic Storage Management (ASM)(轉)ASM
- ASM下遷移spfileASM
- Multi-path handling for asmASM
- ASM 翻譯系列第十三彈:ASM 高階知識 - Forcing the issueASM
- Redhat8 yum源內網部署Redhat內網