ORA-16009: remote archive log destination must be a STANDBY database
今天建立ORACLE10G 的Data Guard,使用的是物理備庫。在查詢物理備庫時出現ORA-16009: remote archive log destination must be a STANDBY database
SQL> select dest_name,status,error from v$archive_dest where rownum<3;
DEST_NAME -------------------------------------------------------------------------------- STATUS ERROR --------- ----------------------------------------------------------------- LOG_ARCHIVE_DEST_1 VALID
LOG_ARCHIVE_DEST_2 ERROR ORA-16009: remote archive log destination must be a STANDBY database
|
日誌:
edo shipping client performing standby login *** 2014-06-04 06:21:58.706 64561 kcrr.c Logged on to standby successfully Client logon and security negotiation successful! Error 16009 attaching RFS server to standby instance at host 'orcl_pd' Error 16009 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'orcl_pd' ORA-16009: remote archive log destination must be a STANDBY database *** 2014-06-04 06:21:58.759 60679 kcrr.c PING[ARC0]: Heartbeat failed to connect to standby 'orcl_pd'. Error is 16009. *** 2014-06-04 06:21:58.759 58941 kcrr.c kcrrfail: dest:2 err:16009 force:0 blast:1
|
上網上檢視了下資料,說是因為在備庫log_archive_dest_2未清空導致的。
解決方法:在log_archive_dest_2引數中加入 VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
SQL> show parameter log_archive_dest_2
NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ log_archive_dest_2 string service=orcl_pd DB_UNIQUE_NAME =orcl_pd SQL> alter system set LOG_ARCHIVE_DEST_2='service=orcl_pd VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=orcl_pd';
System altered.
SQL> select dest_name,status,error from v$archive_dest where rownum<3;
DEST_NAME -------------------------------------------------------------------------------- STATUS ERROR --------- ----------------------------------------------------------------- LOG_ARCHIVE_DEST_1 VALID
LOG_ARCHIVE_DEST_2 VALID
SQL> |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29532781/viewspace-1175435/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Recover physical standby database after loss of archive log(2)DatabaseHive
- Recover physical standby database after loss of archive log – roll forward(轉)DatabaseHiveForward
- ORA-1031 for Remote Archive Destination on Primary [ID 733793.1]REMHive
- 建立 Logical Standby DatabaseDatabase
- manage logical standby databaseDatabase
- standby_archive_dest和log_archive_dest_n區別Hive
- 監控Logical standby databaseDatabase
- 為什麼要在Standby DB上設定log_archive_dest_1 和 standby_archive_destHive
- Oracle DG建立Logical Standby DatabaseOracleDatabase
- Logical Standby Database的配置步驟.Database
- Oracle ocp 1Z0 053 Q563(archive-log destination)OracleHive
- Standby Server中的log_archive_start=false還是true ?ServerHiveFalse
- 建立Data guard logical standby database須知Database
- [江楓]In Memory Undo與logical standby databaseDatabase
- Oracle 10G Archive Destination 理解Oracle 10gHive
- standby databaseDatabase
- 關於standby設定max_failure 和 _LOG_ARCHIVE_CALLOUTAIHive
- oracle dataguard standby log_archive_dest_state_n 中defer 含義OracleHive
- Convert a Physical Standby Database into a Snapshot Standby DatabaseDatabase
- standby database to primary database.Database
- Physical Standby Database 切換到 Snapshot Standby DatabaseDatabase
- ASM Archive destination is full. [ID 351547.1]ASMHive
- Standby Database ---09Database
- Packet rejected remote IP proto TCP: Destination VIP disabledREMTCP
- Create RAC Standby Database for RAC Primary DatabaseDatabase
- standby database No RFS 程式Database
- Rman backup standby databaseDatabase
- Standby Database for reportDatabase
- 9.2 STANDBY資料庫出現ORA-16009錯誤資料庫
- 12c in-database archiveDatabaseHive
- flashback drop/query/table/database/archiveDatabaseHive
- RemoteSyslogwithMySQLandPHPREMMySqlPHP
- log_archive_dest與log_archive_dest_n區別Hive
- 4 Creating a Logical Standby Database 建立邏輯備庫Database
- oracle 9i physical standby database 上的v$archived_logOracleDatabaseHive
- OGG - No Valid Default Archive Destination Directory Found for Thread #Hivethread
- Standby Database的工作原理Database
- How a Standby Database Is Mounted (295)Database