您好,登錄后才能下訂單哦!
12C dataguard備庫備份archivelog出現報錯
Problem Description
---------------------------------------------------
SQL> select * from product_component_version ;
PRODUCT VERSION STATUS
---------------------------------------- ---------- ----------------------------------------
NLSRTL 12.1.0.2.0 Production
Oracle Database 12c Enterprise Edition 12.1.0.2.0 64bit Production
PL/SQL 12.1.0.2.0 Production
TNS for Linux: 12.1.0.2.0 Production
備庫的狀態
SQL> select OPEN_MODE,PROTECTION_MODE,DATABASE_ROLE from v$database;
OPEN_MODE PROTECTION_MODE DATABASE_ROLE
-------------------- -------------------- ----------------
READ ONLY WITH APPLY MAXIMUM PERFORMANCE PHYSICAL STANDBY
SQL> select THREAD# ,SEQUENCE#,APPLIED from v$archived_log where APPLIED='NO' ;
no rows selected
在standby(備庫)備份archivelog時會報RMAN-06820,ORA-17629,ORA-17627的錯,但是最后歸檔還是備份成功了。
[oracle@localhost ~]$rman target /
RMAN> backup archivelog all;
Starting backup at 02-OCT-15
using target database control file instead of recovery catalog
RMAN-06820: WARNING: failed to archive current log at primary database
ORACLE error from target database:
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-00942: table or view does not exist
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1156 device type=DISK
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=2 sequence=132 RECID=135 STAMP=891367439
input archived log thread=1 sequence=172 RECID=134 STAMP=891367438
......
piece
handle=/opt/oracle/oradata/MXCNSTB/backupset/2015_10_02/o1_mf_annnn_TAG20151002T144942_c0wbbdw1_.bkp
tag=TAG20151002T144942 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:07
Finished backup at 02-OCT-15
解決方法:
在備庫上以sys用戶登錄
rman target sys/password
可以參考以下文檔:
RMAN-06820 ORA-17629 ORA-17627 ORA-01034 ORA-27101 During Backup of a Standby Database ( Doc ID 2042148.1 )
RMAN-06820 ORA-17629 During Backup at Standby Site ( Doc ID 1616074.1 )
RMAN-06820 ORA-17629 ORA-12154 During Backup of a Standby Database ( Doc ID 2025142.1 )
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。