11.2.0.3 ASM執行個體出現ORA-4031錯誤導致資料庫歸檔失敗

來源:互聯網
上載者:User

環境:
平台:RedHat EnterPrise 5.8 X86_X64
資料庫:Oracle EnterPrise 11.2.0.3
叢集軟體:Oracle grid 11.2.0.3

故障現象:
資料庫出現了歸檔失敗,其中有一個節點的執行個體出現HANG死的狀況。

日誌資訊如下:

 Fri Feb 28 19:49:04 2014
 ARC1: Error 19504 Creating archive log file to '+DATA02'
 ARCH: Archival stopped, error occurred. Will continue retrying
 ORACLE Instance orcl1 - Archival Error
 ORA-16038: log 14 sequence# 68244 cannot be archived
 ORA-19504: failed to create file ""
 ORA-00312: online log 14 thread 1: '+DATA02/orcl/onlinelog/group_14.264.792274883'
 ORA-00312: online log 14 thread 1: '+DATA02/orcl/onlinelog/group_14.265.792274889'
 Archiver process freed from errors. No longer stopped
 Fri Feb 28 19:50:22 2014
 ARC0: LGWR is actively archiving destination LOG_ARCHIVE_DEST_3
 ARCH: Archival stopped, error occurred. Will continue retrying
 ORACLE Instance orcl1 - Archival Error
 ORA-16014: log 14 sequence# 68244 not archived, no available destinations
 ORA-00312: online log 14 thread 1: '+DATA02/orcl/onlinelog/group_14.264.792274883'
 ORA-00312: online log 14 thread 1: '+DATA02/orcl/onlinelog/group_14.265.792274889'
 ARC0: Archive log rejected (thread 1 sequence 68240) at host 'orclsh'
 FAL[server, ARC0]: FAL archive failed, see trace file.
 ARCH: FAL archive failed. Archiver continuing
 ORACLE Instance orcl1 - Archival Error. Archiver continuing.

分析:

由于歸檔失敗發生在ASM磁碟上,首先檢查ASM磁碟空間以及DB_RECOVERY_FILE_DEST_SIZE,ASM磁碟空間是足夠的,而且由於只有一個節點出現出現了無法歸檔的問題,也可以排除是空間不足造成的。確認兩個節點的DB_RECOVERY_FILE_DEST_SIZE參數設定都是0,基本上可以判斷問題和當前節點的ASM執行個體狀態不正常有關。

檢查ASM執行個體的錯誤資訊:

 Fri Feb 28 19:41:23 2014
 Dumping diagnostic data in directory=[cdmp_20130702164115], requested by (instance=2, osid=2032294 (LMD0)), summary=[incident=165521].
 Fri Feb 28 19:49:19 2014
 Dumping diagnostic data in directory=[cdmp_20130702164845], requested by (instance=2, osid=2032294 (LMD0)), summary=[incident=165522].
 Fri Feb 28 19:55:56 2014
 Dumping diagnostic data in directory=[cdmp_20130702165517], requested by (instance=2, osid=2032294 (LMD0)), summary=[incident=165523].

當前節點ASM執行個體出現了的這個資訊,說明報錯發生在執行個體2上:

Fri Feb 28 18:34:25 2014
 Errors in file /u01/app/grid/diag/asm/+asm/+ASM2/trace/+ASM2_lmd0_2032294.trc (incident=186256):
 ORA-04031: unable to allocate 3768 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","ges enqueues")
 Use ADRCI or Support Workbench to package the incident.
 See Note 411.1 at My Oracle Support for error and packaging details.
 Insufficient shared pool to allocate a GES object (ospid 2032294)
 Fri Feb 28 18:29:53 2014
 Sweep [inc][186256]: completed
 Fri Feb 28 18:36:49 2014
 Errors in file /u01/app/grid/diag/asm/+asm/+ASM2/trace/+ASM2_lmd0_2032294.trc (incident=186257):
 ORA-04031: unable to allocate 3768 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","ges enqueues")
 Use ADRCI or Support Workbench to package the incident.
 See Note 411.1 at My Oracle Support for error and packaging details.
 Insufficient shared pool to allocate a GES object (ospid 2032294)

 

  • 1
  • 2
  • 下一頁

聯繫我們

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