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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Redhat 5.4 + ASM + RAW+ Oracle 10g RAC 安裝文件RedhatASMOracle 10g
- install 11G ASM on RedHat step by stepASMRedhat
- Redhat 下 ASM oracleasm deletedisk -failed 的解決方法RedhatASMOracledeleteAI
- 題解:CF1349B Orac and Medians
- redhat5 x86_64 + oracle10g RAC + ASMRedhatOracleASM
- redhat 6.5之oracle 11.2.0.4 asm例項異常抽取asm配置資訊之amdu初識之一RedhatOracleASM
- redhat enterprise 4下遷移oracle 10g到asmRedhatOracle 10gASM
- RedHat 4 as 下安裝Oracle11gR2,Cluster(ASM)和DatabaseRedhatOracleASMDatabase
- redhat6.4及以上版本xxx-asm.rule配置問題RedhatASM
- 解決:ora-00604, orac-00942錯誤
- 基於redhat 6.5 oracle 11.2.0.4初識oracle asm diskgroup相關概念之一RedhatOracleASM
- asm files,asm directories,asm templatesASM
- Content'Trac Fi Genera for Orac Proc after Removi TF by Mist at OS Lev_805083.1REM
- 【ASM】如何建立ASM磁碟ASM
- ASM之建立ASM磁碟ASM
- 【ASM學習】ASM 管理ASM
- 【ASM學習】ASM文件ASM
- redhat 5 iscsiRedhat
- RedHat配置IPRedhat
- ASM之建立ASM例項及ASM資料庫ASM資料庫
- 【ASM】ASM基礎知識ASM
- ASM之建立ASM例項ASM
- ASM之ASM相關概念ASM
- ASMASM
- 【ORACLE ASM】ASM 支援工具簡介OracleASM
- asm-windows下安裝asmASMWindows
- rman copy asm datafile(rename asm datafile)ASM
- (轉)redhat下安裝oracle,設定redhat核心引數RedhatOracle
- ASM 翻譯系列第八彈:ASM Internal ASM file extent mapASM
- ASM 翻譯系列第十彈:ASM Internal ASM DISK headerASMHeader
- 利用RMAN將非ASM檔案移動到ASM裡 - [ASM]ASM
- Redhat(02):yum 配置Redhat
- redhat安裝dockerRedhatDocker
- redhat 6.2 配置 zabbixRedhat
- redhat儲存管理Redhat
- redhat 下載地址Redhat
- Change redhat root passwordRedhat
- redhat網路配置Redhat