在今天的文章中,我们将讨论 PING[ARC1]: Heartbeat failed to connect to standby 'teststby'。Error 16057。
错误:
PING[ARC1]: Heartbeat failed to connect to standby ‘teststby’. Error is 16057.
解决方案:
如下查询主数据库时,显示与 Data Guard 配置相关的错误。
SQL> select dest_id,error,status,log_sequence,applied_scn from
v$archive_dest where dest_id=2;
DEST_ID|ERROR |STATUS |LOG_SEQUENCE|APPLIED_SCN
— — | — — — — — — — —
2 |ORA-16057: server not in Data Guard configuration |ERROR | 0| 0由于未设置 log_archive_config 参数,因此会出现错误。在主数据库中,log_archive_config 参数设置如下。
SQL> alter system set log_archive_config='dg_config=
(TESTDB,TESTSTBY)';我们启用 log_archive_dest_state_x 参数,以便主数据库可以执行重做传输到备用数据库。
SQL> alter system set log_archive_dest_state_2=defer;
SQL> alter system set log_archive_dest_state_2=enable;原文标题:PING[ARC1]: Heartbeat failed to connect to standby ‘teststby’. Error is 16057.
原文作者:Melek Durdu
原文链接:https://dbtut.com/index.php/2022/10/07/pingarc1-heartbeat-failed-to-connect-to-standby-teststby-error-is-16057/?utm_source=rss&utm_medium=rss&utm_campaign=pingarc1-heartbeat-failed-to-connect-to-standby-teststby-error-is-16057
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




