ASM裝載磁碟組時ORA-15063錯誤處理

來源:互聯網
上載者:User

環境:Vmware Redhat linux AS4雙機

資料庫:Oracle 10.2.0.1.0

 在其中一台機器上啟動ASM執行個體時,發生如下錯誤:

$ export ORACLE_SID=+ASM

$ sqlplus "/ as sysdba"

Connected to an idle instance. 

SQL> startup

ASM instance started

 

Total System Global Area  83886080 bytes

Fixed Size                  1217836 bytes

Variable Size             57502420 bytes

ASM Cache                  25165824 bytes

ORA-15032: not all alterations performed

ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DG2"

ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DG1"

 

 

這個錯誤是由於ASM執行個體無法裝載硬碟組的所有磁碟而引起的,有可能是許可權問題,導致ORACLE使用者沒有許可權訪問該裝置。

檢查該節點上/dev/oracleasm/disks的許可權,發現是root:root,改為oracle:dba後ASM啟動正常。

但是機器重啟後發現又恢複成了root:root,於是檢查/etc/udev/permissions.d/50-udev.permissions這個檔案中的其中一行“raw/*:oracle:dba:0660”,沒有任何問題。

(備忘:50-udev.permissions是用來設定系統啟動後祼裝置的屬主)

 

後來想起來由於是雙機,可能是忘了在這個節點執行:

#/etc/init.d/oracleasm configure(執行的時候會有相應的提示,回答oracle,dba,y,y就可以了,分別對應預設使用者,預設組,隨系統自啟動,啟動時設定許可權。)

執行完重啟Linux後,果然解決了問題。 

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.