溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

oracle 11g rac安裝之grid報錯解決

發(fā)布時間:2020-07-30 15:39:18 來源:網(wǎng)絡(luò) 閱讀:3918 作者:z597011036 欄目:關(guān)系型數(shù)據(jù)庫

1.在rac2節(jié)點使用oracleasm找不到共享磁盤

[root@rac2 ~]# oracleasm scandisks        
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@rac2 ~]#


解決方法:

   是因為在rac1節(jié)點格式化磁盤沒有使用partprobe命令,分區(qū)沒有生效

在rac1執(zhí)行:

[root@rac1 ~]# partprobe

在rac2執(zhí)行:

[root@rac2 ~]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "VOL04"
Instantiating disk "VOL03"
Instantiating disk "VOL01"
Instantiating disk "VOL02"
[root@rac2 ~]# /usr/sbin/oracleasm listdisks
VOL01
VOL02
VOL03
VOL04
[root@rac2 ~]#


2.安裝grid集群軟件時出現(xiàn)ORACLE_HOME和ORACLE_BASE目錄不對

錯誤提示:

INS-32026]The Software Location specified should not be under Oracle base location.
   CAUSE: Grid Infrastructure for a Cluster installation will assign root ownership to all parent directories of clusterware software location. As a result, all named directories in the software location path will acquire root ownership. This may create problems for subsequent installations into the same Oracle base.
   ACTION: Specify software location outside of Oracle base


解決方法:

我當(dāng)前目錄是:ORACLE_BASE=/home/grid

       ORACLE_HOME=/home/grid/11.2.0/grid


這樣目錄是不正確的,因為ORACLE_BASE和ORACLE_HOME目錄要分開,ORACLE_BASE安裝好后是有root權(quán)限的,而ORACLE_HOME則沒有.

這樣才對:ORACLE_BASE=/home/grid/app

      ORACLE_HOME=/home/grid/11.2.0/grid


3.在安裝grid到最后一步出錯誤,是因為scan的IP問題補占用了

oracle 11g rac安裝之grid報錯解決

日志:

INFO: All nodes have same "hosts" entry defined in file "/etc/nsswitch.conf"

INFO: Check for integrity of name service switch configuration file "/etc/nsswitch.conf" passed

INFO: ERROR:

INFO: PRVG-1101 : SCAN name "scan-cluster" failed to resolve

INFO: ERROR:

INFO: PRVF-4657 : Name resolution setup check for "scan-cluster" (IP address: 192.168.3.155) failed

INFO: ERROR:

INFO: PRVF-4664 : Found inconsistent name resolution entries for SCAN name "scan-cluster"

INFO: Verification of SCAN VIP and Listener setup failed

INFO: Checking OLR integrity...

INFO: Checking OLR config file...

INFO: OLR config file check successful

INFO: Checking OLR file attributes...

INFO: OLR file check successful


解決方法:

(1).直接跳過不影響

(2),修改系統(tǒng)的nslookup二進制文件(http://www.ithao123.cn/content-1094742.html)


4.crs無法共享磁盤通信

錯誤信息:

CRS-0184: Cannot communicate with the CRS daemon.


日志信息:

2016-09-16 09:20:45.508: [   CRSPE][1175734592]{1:19372:2} Reading (12) resources

2016-09-16 09:20:45.510: [   CRSPE][1175734592]{1:19372:2} Reading (15) types

2016-09-16 09:20:46.087: [   CRSPE][1175734592]{1:19372:2} Reading (2) server pools

2016-09-16 09:20:48.321: [  OCRRAW][1171532096]proprseterror: Error in accessing physical storage [26] Marking context invalid.

2016-09-16 09:20:48.321: [  OCRRAW][1171532096]proprdc: backend_ctx->prop_ctx_tag=PROPCTXT

2016-09-16 09:20:48.325: [  OCRRAW][1171532096]proprdc: backend_ctx->prop_valid=0

2016-09-16 09:20:48.325: [  OCRRAW][1171532096]proprdc: backend_ctx->prop_boot_mode=1


解決方法:

  這是共享磁盤的問題,我是用iscsi做的共享,查看了下asm只能掛載自己在磁盤組,將共享磁盤換成虛擬機自帶的磁盤共享就解決了.

向AI問一下細節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI