日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

oracle 10g rac数据库,oracle 10g rac安装报错集锦

發(fā)布時間:2025/3/15 数据库 44 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracle 10g rac数据库,oracle 10g rac安装报错集锦 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

oracle 10g rac安裝報錯匯總

刪除crs

1.??????停止資源:關(guān)閉crs資源:crsctl stop resources

關(guān)閉crs:?????? crsctl stop crs

2.??????使用腳本:兩個節(jié)點(diǎn)root.delete.sh, rootdeinstall.sh

3.??????刪除啟動項(xiàng):

rm/etc/oracle/*

rm -f/etc/init.d/init.cssd

rm -f /etc/init.d/init.crs

rm -f/etc/init.d/init.crsd

rm -f/etc/init.d/init.evmd

rm -f/etc/rc2.d/K96init.crs

rm -f/etc/rc2.d/S96init.crs

rm -f/etc/rc3.d/K96init.crs

rm -f/etc/rc3.d/S96init.crs

rm -f/etc/rc5.d/K96init.crs

rm -f/etc/rc5.d/S96init.crs

rm -rf/etc/oracle/scls_scr

rm -f/etc/inittab.crs

cp /etc/inittab.orig /etc/inittab

4.??????查看進(jìn)程:crs evm css

a)????????ps -ef | grep -v grep | grep"init.evmd run"

5.??????刪除三個文件:/tmp/.oracle/,/var/tmp/.oracle/,/usr/tmp/.oracle/

6.??????刪除orc.loc:rm –rf /etc/oracle/orc.loc

7.??????在Universal Installer刪除crs產(chǎn)品。

8.??????刪除/orac le/下面的所有文件。

9.??????清理磁盤

Dd if=/dev/zero of=/dev/raw/raw1 bs=1M count=1024

Dd if=/dev/zero of=/dev/raw/raw2 bs=1M count=1024

Dd if=/dev/zero of=/dev/raw/raw3 bs=1M count=1024

Dd if=/dev/zero of=/dev/raw/raw4 bs=1M count=1024

Dd if=/dev/zero of=/dev/raw/raw5 bs=1M count=1024

10.清楚路徑/tmp/CVU_10.2.0.1.0.1_oinstall

11.重啟

報錯匯總

?? 運(yùn)行root.sh

Checking to see if Oracle CRS stack is alreadyconfigured

Oracle CRS stack is already configured and will berunning under init(1M)

1.??????原因:

更換的存儲設(shè)備和上次安裝的設(shè)備文件名不一致。

2.??????解決方法:

刪除每臺機(jī)器上的/etc/oracle/scls_scr/rac1/oracle/cssfatal文件即可.

?? Runningvipca(silent) for configuring nodeapps

Error 0(Native: listNetInterfaces:[3])

[Error 0(Native: listNetInterfaces:[3])]

1. 解決方法:

a)????????root@o10n2 bin]# ./oifcfg setif-global eth0/192.168.150.0:public

[root@o10n2 bin]# ./oifcfg setif -globaleth1/172.168.146.0:cluster_interconnect

b)????????運(yùn)行rootdelete.sh后再運(yùn)行root.sh

?? Expectingthe CRS daemons to be up within 600 seconds.

Failure at final check of Oracle CRS stack.

10

1.??????原因:

run "init q" and expect those 3 CRS relateddaemon processes to start. With init system problem, none of these daemonprocesses spawned, this caused CRS process startup failure as they rely on initdaemon process

to start first.

2.解決方法:

(a)手動格式/dev/raw/raw4:

dd if=/dev/zero of=/dev/raw/raw4 bs=1m

然后rm -fr /etc/oracle on all node

然后在每個節(jié)點(diǎn)$CRS_HOME/root.sh

After that daemon process in /etc/inittabstarted, CRS installation completed.

?? crsctlcheck crs Failure 1 contacting CSS daemon Cannot communicate with CRS Cannotcommunicate with EVM

1.????? 解決方法:重新安裝crs

a)????????兩個節(jié)點(diǎn)清楚votting盤和ocr盤

b)????????每個節(jié)點(diǎn)運(yùn)行rootdelete.sh

c)????????任一節(jié)點(diǎn)運(yùn)行rootdeinstall.sh

d)????????兩個節(jié)點(diǎn)重新運(yùn)行root.sh

e)????????執(zhí)行vipca配置vip, nodeapps注冊ocr中

f)?????????重新配監(jiān)聽,reconfig,回到注冊到crs

g)????????Oracle用戶手動注冊asm

i.?????????????Srvctladd asm –n host1 –I? +ASM1 –o/oracle/product/crs

h)????????啟動asm

i)??????????想ocr添加db

i.?????????????Srvctladd database –d dbsid –o

j)??????????添加實(shí)例只ocrs

i.?????????????Srvctladd instance –d? dbsid –I dbsid1

k)????????修改實(shí)例和asm的關(guān)系

i.?????????????Srvctlmodify instance –d dbsid –I dbsid1 –s +ASM1

l)??????????啟動數(shù)據(jù)庫

?? 在啟動時ASM報ORA-27550錯誤。

1. 原因

是因?yàn)镽AC無法確定使用哪個網(wǎng)卡作為Private Interconnect,

2. ?解決方法:

在兩個ASM的pfile文件里添加如下參數(shù):+ASM1.cluster_interconnects='10.10.17.221'+ASM2.cluster_interconnects='10.10.17.222'

所有實(shí)例啟動成功。如果啟動過程中也和起訂ASM一樣報錯:若也出現(xiàn)ORA-27550錯誤。也是因?yàn)镽AC無法確定使用哪個網(wǎng)卡作為Private

Interconnect,修改pfile參數(shù)在重啟動即可解決。SQL>alter system setcluster_interconnects='10.10.17.221' scope=spfile sid='RACDB1'; ??????SQL>alter system setcluster_interconnects='10.10.17.222'

scope=spfile sid='RACDB2'

?? Settingthe permissions on OCR backup directory

Setting up NS directories

PROT-1: Failed to initialize ocrconfig

Failed to upgrade Oracle Cluster Registry configuration

1原因:

(1)裸設(shè)備不可讀寫。權(quán)限不夠。

chown root.oinstall/dev/raw/raw[1-2]

chownoracle.oinstall /dev/raw/raw[3-5]

(2)bug

#Copy the clsfmt.bin binary to the $ORACLE_HOME/bin directory where

# % cp $ORACLE_HOME/bin/clsfmt.bin$ORACLE_HOME/bin/clsfmt.bin.bak

# % cp clsfmt.bin $ORACLE_HOME/bin/clsfmt.bin

# Ensure permissions on the clsfmt.bin binaryare correct:

# % chmod 755 $ORACLE_HOME/bin/clsfmt.bin

Runthe root.sh script and proceed with the installation

(3)沒有清空raw

?節(jié)點(diǎn)2運(yùn)行root.sh不能檢測到節(jié)點(diǎn)的css狀態(tài)

可能是設(shè)備的讀寫突然出了問題,第二個節(jié)點(diǎn)看到的OCR磁盤與你第一個節(jié)點(diǎn)的OCR磁盤并不是同樣的兩個磁盤設(shè)備!

總結(jié)

以上是生活随笔為你收集整理的oracle 10g rac数据库,oracle 10g rac安装报错集锦的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。