oracle dg 報錯: ORA-16057: DGID from server not in Data Guard configuration

來源:互聯網
上載者:User

標籤:oracle   error   dataguard   

   搭建完DG,發現備庫沒有接受到主庫的日誌。

在主庫執行

Select dest_id,status,error from v$archive_dest where dest_id=3;

報:  ORA-16057: DGID from server not in Data Guard configuration

  錯誤的意思很明顯,log_archive_config 沒有配置

但是我在已經主庫配置了

alter system set log_archive_config = ‘dg_config=(itrusdb,jingxiang)‘   scope=both ;


通過

ALTER SYSTEM SET log_archive_dest_state_3=‘DEFER‘SCOPE=BOTH;

ALTER SYSTEM SET log_archive_dest_state_3=‘ENABLE‘SCOPE=BOTH;

來生新啟用 archive_dest;

後發現錯誤依舊。


原來。。原來。。。在備庫忘記配置log_archive_config這個參數了

通過

alter system set log_archive_config = ‘dg_config=(itrusdb,jingxiang)‘   scope=both ;

在備庫配置完後,dg正常工作。

希望大家以後做事,想的周全一點,不要圖快。避免這些不必要的錯誤。



本文出自 “Li_weikang” 部落格,請務必保留此出處http://liweikang.blog.51cto.com/3246878/1589405

oracle dg 報錯: ORA-16057: DGID from server not in Data Guard configuration

聯繫我們

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