ORA-16753 錯誤問題解決

來源:互聯網
上載者:User

ORA-16753 錯誤問題解決

1、使用dgmgrl將資料庫設定為唯讀模式:

DGMGRL>edit database dg_name set state=read-only;

ORA-16753 Resource guard could not open standby database

Cause:Resource guard could not open standby database.

Action:Check the Data Guard console log for further details.

2、查看dg日誌${bdump}/drc$SID.log記錄

可以看到很關鍵的一條資訊:

ORA-16006: audit_trail destination incompatible with database open mode

原來如此,通過show parameter  audit_trail,可以看到audit_trail=db。

3、audit_trail參數說明

AUDIT_TRAIL = { none | os | db | db,extended | xml | xml,extended }

db:Directs audit records to the database audit trail (the SYS.AUD$table), except for records that are always written to the operating systemaudit trail. Use this setting for a general database for manageability.

If the database was started in read-onlymode with AUDIT_TRAIL set to db, then Oracle Database internally sets AUDIT_TRAILto os. Check the alert log for details.


詳見官網http://docs.oracle.com/cd/B19306_01/server.102/b14237/initparams016.htm

4、將audit_trail設定為none並重啟資料庫

alter system set audit_trail=none scope=spfile;

重啟以後問題解決。

聯繫我們

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