ORA-16014 和 ORA-00312 錯誤解決

來源:互聯網
上載者:User

ORA-16014 和 ORA-00312 錯誤解決

今天在做邏輯standby資料庫switchover角色轉換時,啟動資料庫時日誌出現了如下錯誤提示,記錄下來;

primary>startup
Oracle instance started.

Total System Global Area 281018368 bytes
Fixed Size 2020160 bytes
Variable Size 100666560 bytes
Database Buffers 171966464 bytes
Redo Buffers 6365184 bytes
Database mounted.
Database opened.
某一遠端工作階段終端啟動資料庫,給人一種假象,資料庫已經開啟,但是日誌中卻已經報錯了,錯誤資訊如下:
ARC0: Failed to archive thread 1 sequence 45 (4)
ARCH: Archival stopped, error occurred. Will continue retrying
Thu Mar 27 15:27:54 2014
ORACLE Instance orcl - Archival Error
Thu Mar 27 15:27:54 2014
ORA-16014: log 1 sequence# 45 not archived, no available destinations
ORA-00312: online log 1 thread 1: '/u01/app/oradata/orcl/redo01.log'
Thu Mar 27 15:27:54 2014
Errors in file /u01/app/admin/orcl/bdump/orcl_arc0_2955.trc:
ORA-16014: log 1 sequence# 45 not archived, no available destinations
ORA-00312: online log 1 thread 1: '/u01/app/oradata/orcl/redo01.log'
錯誤資訊提示:archive log 無法歸檔,而且報錯資訊看出是 standby01.log該記錄檔被損壞了。
primary>alter database clear unarchived logfile group 1; --將未歸檔的內容清除
Database altered.
primary>shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
primary>startup
ORACLE instance started.

Total System Global Area 281018368 bytes
Fixed Size 2020160 bytes
Variable Size 104860864 bytes
Database Buffers 167772160 bytes
Redo Buffers 6365184 bytes
Database mounted.
Database opened.

在終端執行語句時,眼睛一眨不眨的盯著日誌資訊,最後顯示沒有報錯。
批註:平時做實驗類比練習時,多開啟幾個終端,養成查看日誌資訊的習慣,不至於以後操作生產環境下的資料庫時手忙腳亂。也許用戶端沒有報錯,但是日誌已經提示出錯了。

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

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

Debian 下 安裝 Oracle 11g XE R2

Oracle 11g從入門到精通 PDF+光碟片原始碼

RHEL6 ASM方式安裝Oracle 11g 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.