Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

ORA-00309: log belongs to wrong database

$
0
0
Message:
ORA-00309: log belongs to wrong database
Cause:
The system cannot access the archived redo log because it belongs to another database.
Action:
Specify the correct redo log file, then retry the operation.

sqlplus / as sysdba

show parameter config

dg_broker_config_file1               string                            /u01/oracle/product/11.2.0.4/db_1/dbs/dr1TEST_TESTHOST.dat
dg_broker_config_file2               string                            /u01/oracle/product/11.2.0.4/db_1/dbs/dr2TEST_TESTHOST.dat
log_archive_config                   string                            DG_CONFIG=(PRIMARY_PRODHOST,TEST_TESTHOST)


Check PRIMARY_PRODHOST and TEST_TESTHOST are correct Primary and Standby Hosts

Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>