溫馨提示×

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

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

DBCA建庫(kù)時(shí)找不到ASM磁盤(pán)

發(fā)布時(shí)間:2020-07-16 09:52:48 來(lái)源:網(wǎng)絡(luò) 閱讀:901 作者:SEianG 欄目:關(guān)系型數(shù)據(jù)庫(kù)


實(shí)驗(yàn)環(huán)境:

操作系統(tǒng):RedHat 6.4

數(shù)據(jù)庫(kù)版本:Oracle 11.2.0.2.0

在使用DBCA創(chuàng)建數(shù)據(jù)庫(kù)的時(shí)候,發(fā)現(xiàn)找不到ASM磁盤(pán)組:

 DBCA建庫(kù)時(shí)找不到ASM磁盤(pán)


錯(cuò)誤排查:


1
、執(zhí)行:

/usr/sbin/oracleasm listdisks 

查看執(zhí)行結(jié)果, listdisk可以正常的將磁盤(pán)組可顯示出來(lái).


2
、切換到 grid 用戶下 ,查看ASM實(shí)例是否啟動(dòng),并執(zhí)行查詢 

select group_number,path,mount_status,state from v$asm_disk;

id oracle 和id grid

查看oracle用戶是否在admdba組里面


4
、查看oracle用戶和grid用戶的$ORACLE_HOME/bin/oracle文件的權(quán)限

$ORACLE_HOME/bin/oracle該文件的默認(rèn)權(quán)限為6751權(quán)限,有個(gè)s權(quán)限,如果s權(quán)限消失,這時(shí)通過(guò)OS認(rèn)證將不能登錄到數(shù)據(jù)庫(kù);

 DBCA建庫(kù)時(shí)找不到ASM磁盤(pán)


經(jīng)過(guò)對(duì)問(wèn)題的逐一排查,終于找到了問(wèn)題的所在:

執(zhí)行 chmod +s oracle 解決問(wèn)題


總結(jié):

DBCA建庫(kù)找不到ASM磁盤(pán)的問(wèn)題所在:

1. Incorrect permission setting for oracle user.
2. ASM instance was not started or diskgroups are not mounted.
3. The diskgroup resources are not online.
4. The permission setting for the asm devices are incorrect.
5. The oracle executable under /bin has incorrect permission settings.
6. the file system for grid home was mounted with option ’nosuid’.


 

作者:SEian.G

◇本文整理自網(wǎng)絡(luò)

◇本文在ITPUBhttp://blog.itpub.net/31015730/

      51CTOhttp://seiang.blog.51cto.com/上有同步更新

◇本文itpub地址:http://blog.itpub.net/31015730/viewspace-2137066/

◇本文51CTO地址:http://seiang.blog.51cto.com/10819863/1915404

 

 


向AI問(wèn)一下細(xì)節(jié)

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

AI