PING[ARC2]: Heartbeat failed to connect to standby ' GQTZDB_DG '. Error is 16047

Source: Internet
Author: User

After the Data guard is set up, the Open Archive path 2 is executed, and the results are found to be out of sync

Sql> alter system set log_archive_dest_state_2=enable;

Check the error log and find Ping[arc2]: Heartbeat failed to connect to standby ' GQTZDB_DG '. Error is 16047. Error:

[Email protected] trace]$ tail-100f alert_gqtzdb.log Mon Jul 18:19:10Using standby_archive_dest paramete R default Value as/oradata/gqtzdb/archivelogalter SYSTEM SET log_archive_dest_state_2= ' ENABLE ' scope=BOTH; Mon Jul 18:19:10Ping[arc2]: Heartbeat failed to connect to standby ' GQTZDB_DG '. Error is 16047.    

Then look at the V$archive_dest view to see if you can find the cause and find the following error:

Sql> Select Dest_id,error from v$archive_dest;   dest_id ERROR---------------------------------------------------------------------------         1         2 ORA-16047: Dgid mismatch between destination setting and target           database 

Obviously, Dgid is not the same, go to the library. View parameter Db_unique_name parameters:

sql> Show parameter db_unique_namename                                 TYPE        VALUE------------------------------------------------- ----------------------------db_unique_name                       string      gqtzdb

found that the Db_unique_name parameter is not modified, is still the value of the main library, speed change, and restart the library:

Sql> alter system set Db_unique_name= ' GQTZDB_DG ' scope=both;alter system set db_unique_name= ' GQTZDB_DG ' scope=both< C0/>*error at line 1:ora-02095:specified initialization parameter cannot be modifiedsql> alter system set DB_UNIQUE_NA Me= ' GQTZDB_DG ' scope=spfile; System altered.

Then open Archive path 2 in the main library, run the command in the standby to view the synchronization status:

sql> ALTER DATABASE recover managed standby database using current logfile disconnect from session;database alt Ered. Sql> Select Process,client_process,sequence#,status from v$managed_standby; PROCESS   client_p  sequence# STATUS---------------------------------------Arch      arch              0  Connectedarch      Arch              0 connectedarch      arch              0 connectedarch Arch 0 Connectedrfs UNKNOWN 0 idlerfs lgwr idlerfs UNKNOWN 0 idlerfs UNKNOWN 0 IDLEMRP0 N/a applying_log9 rows selected .

PING[ARC2]: Heartbeat failed to connect to standby ' GQTZDB_DG '. Error is 16047

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.