Oracle 11gR2 RAC環境DBCA建立資料庫報錯ORA-15055 ORA-15001

來源:互聯網
上載者:User

Oracle 11gR2 RAC環境DBCA建立資料庫報錯ORA-15055 ORA-15001

問題現象:

在Oracle 11gR2 GridInfrastructure和Database軟體安裝完成之後,執行DBCA建立資料庫到30%的時候報如下錯誤,點擊OK後提示忽略並停止安裝。

問題分析:

從上面的問題我們不難看出是因為無法訪問ASM磁碟組導致,但是要解決該問題就得進入到ASM中去探個究竟,為什麼剛裝好的叢集,建庫就出現問題。

隨即我們先通過grid使用者登入到asm執行個體執行如下查詢操作,我們發現磁碟組均為mount狀態,說明磁碟組狀態沒有明顯的問題。

 

SQL> select name,state,type from v$asm_diskgroup;

NAME                          STATE      TYPE
------------------------------ ----------- ------
OCR_VOTE                      MOUNTED    HIGH
DATA001                        MOUNTED    EXTERN
FRA001                        MOUNTED    EXTERN
BAK001                        MOUNTED    EXTERN

    接下來我們通過amcmd登入到asm磁碟管理中進入到卷組+DATA001,這個時候我們同樣看見了dbca建立資料庫所產生的資料檔案。
[grid@db01 ~]$ asmcmd
ASMCMD> cd DATA001
ASMCMD> ls
XMMAN/
ASMCMD> cd XMMAN/
ASMCMD> LS
ASMCMD> ls
DATAFILE/
ASMCMD> cd DATAFILE/
ASMCMD> ls
SYSAUX.258.859553539
SYSTEM.259.859553539
UNDOTBS1.257.859553539
USERS.256.859553539
ASMCMD>

看到如上資訊我們基本可以排除ASM的問題了,接來下可能考慮到是許可權問題,嘗試重新執行root.sh指令碼。

問題解決:

重新執行如下指令碼

[root@db01 DBSoft]# /DBSoft/oracle/product/11.2.4/dbhome_1/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /DBSoft/oracle/product/11.2.4/dbhome_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
[root@db01 DBSoft]# pwd
/DBSoft

再重新運行dbca建庫,問題排除

Oracle 11g 在RedHat Linux 5.8_x64平台的安裝手冊

Linux-6-64下安裝Oracle 12C筆記

在CentOS 6.4下安裝Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虛擬機器中安裝步驟

Debian 下 安裝 Oracle 11g XE R2

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.