dataguard ORA-17628 處理
dataguard ORA-17628 處理
檢查備庫alert日誌
很明顯的錯誤,由於之前是用root建的的目錄未修改許可權
修改後刪除備庫之前複製檔案
重新duplicate
點選(此處)摺疊或開啟
-
RMAN> duplicate target database for standby from active database dorecover nofilenamecheck;
-
-
Starting Duplicate Db at 02-JUL-18
-
using target database control file instead of recovery catalog
-
allocated channel: ORA_AUX_DISK_1
-
channel ORA_AUX_DISK_1: SID=396 device type=DISK
-
-
-
contents of Memory Script:
-
{
-
backup as copy reuse
-
targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/orapwnetdata' auxiliary format
-
'/u01/app/oracle/product/11.2.0/db_1/dbs/orapwnetdata' ;
-
}
-
executing Memory Script
-
-
-
Starting backup at 02-JUL-18
-
allocated channel: ORA_DISK_1
-
channel ORA_DISK_1: SID=408 device type=DISK
-
Finished backup at 02-JUL-18
-
-
-
contents of Memory Script:
-
{
-
backup as copy current controlfile for standby auxiliary format '/u01/app/oracle/oradata/netdata/control01.ctl';
-
restore clone controlfile to '/u01/app/oracle/fast_recovery_area/netdata/control02.ctl' from
-
'/u01/app/oracle/oradata/netdata/control01.ctl';
-
}
-
executing Memory Script
-
-
-
Starting backup at 02-JUL-18
-
using channel ORA_DISK_1
-
channel ORA_DISK_1: starting datafile copy
-
copying standby control file
-
output file name=/u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_netdata.f tag=TAG20180702T183426 RECID=1 STAMP=980447667
-
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
-
Finished backup at 02-JUL-18
-
-
-
Starting restore at 02-JUL-18
-
using channel ORA_AUX_DISK_1
-
-
-
channel ORA_AUX_DISK_1: copied control file copy
-
Finished restore at 02-JUL-18
-
-
-
contents of Memory Script:
-
{
-
sql clone 'alter database mount standby database';
-
}
-
executing Memory Script
-
-
-
sql statement: alter database mount standby database
-
-
-
contents of Memory Script:
-
{
-
set newname for tempfile 1 to
-
"/u01/app/oracle/oradata/netdata/temp01.dbf";
-
switch clone tempfile all;
-
set newname for datafile 1 to
-
"/u01/app/oracle/oradata/netdata/system01.dbf";
-
set newname for datafile 2 to
-
"/u01/app/oracle/oradata/netdata/sysaux01.dbf";
-
set newname for datafile 3 to
-
"/u01/app/oracle/oradata/netdata/undotbs01.dbf";
-
set newname for datafile 4 to
-
"/u01/app/oracle/oradata/netdata/users01.dbf";
-
backup as copy reuse
-
datafile 1 auxiliary format
-
"/u01/app/oracle/oradata/netdata/system01.dbf" datafile
-
2 auxiliary format
-
"/u01/app/oracle/oradata/netdata/sysaux01.dbf" datafile
-
3 auxiliary format
-
"/u01/app/oracle/oradata/netdata/undotbs01.dbf" datafile
-
4 auxiliary format
-
"/u01/app/oracle/oradata/netdata/users01.dbf" ;
-
sql 'alter system archive log current';
-
}
-
executing Memory Script
-
-
-
executing command: SET NEWNAME
-
-
-
renamed tempfile 1 to /u01/app/oracle/oradata/netdata/temp01.dbf in control file
-
-
-
executing command: SET NEWNAME
-
-
-
executing command: SET NEWNAME
-
-
-
executing command: SET NEWNAME
-
-
-
executing command: SET NEWNAME
-
-
-
Starting backup at 02-JUL-18
-
using channel ORA_DISK_1
-
channel ORA_DISK_1: starting datafile copy
-
input datafile file number=00001 name=/u01/app/oracle/oradata/netdata/system01.dbf
-
output file name=/u01/app/oracle/oradata/netdata/system01.dbf tag=TAG20180702T183437
-
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:45
-
channel ORA_DISK_1: starting datafile copy
-
input datafile file number=00002 name=/u01/app/oracle/oradata/netdata/sysaux01.dbf
-
output file name=/u01/app/oracle/oradata/netdata/sysaux01.dbf tag=TAG20180702T183437
-
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15
-
channel ORA_DISK_1: starting datafile copy
-
input datafile file number=00003 name=/u01/app/oracle/oradata/netdata/undotbs01.dbf
-
output file name=/u01/app/oracle/oradata/netdata/undotbs01.dbf tag=TAG20180702T183437
-
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
-
channel ORA_DISK_1: starting datafile copy
-
input datafile file number=00004 name=/u01/app/oracle/oradata/netdata/users01.dbf
-
output file name=/u01/app/oracle/oradata/netdata/users01.dbf tag=TAG20180702T183437
-
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
-
Finished backup at 02-JUL-18
-
-
-
sql statement: alter system archive log current
-
-
-
contents of Memory Script:
-
{
-
backup as copy reuse
-
archivelog like "/u01/archive/1_8_980442214.dbf" auxiliary format
-
"/u01/archive/1_8_980442214.dbf" ;
-
catalog clone archivelog "/u01/archive/1_8_980442214.dbf";
-
switch clone datafile all;
-
}
-
executing Memory Script
-
-
-
Starting backup at 02-JUL-18
-
using channel ORA_DISK_1
-
channel ORA_DISK_1: starting archived log copy
-
input archived log thread=1 sequence=8 RECID=4 STAMP=980447742
-
RMAN-00571: ===========================================================
-
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
-
RMAN-00571: ===========================================================
-
RMAN-03002: failure of Duplicate Db command at 07/02/2018 18:35:43
-
RMAN-05501: aborting duplication of target database
-
RMAN-03015: error occurred in stored script Memory Script
-
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 07/02/2018 18:35:43
- ORA-17628: Oracle error 19505 returned by remote Oracle server
點選(此處)摺疊或開啟
-
Additional information: 3
-
Mon Jul 02 18:35:43 2018
-
Errors in file /u01/app/oracle/diag/rdbms/netdata_st1/netdata/trace/netdata_ora_4020.trc:
-
ORA-19505: failed to identify file "/u01/archive/1_8_980442214.dbf"
-
ORA-27040: file create error, unable to create file
-
Linux-x86_64 Error: 13: Permission denied
- Additional information: 1
很明顯的錯誤,由於之前是用root建的的目錄未修改許可權
點選(此處)摺疊或開啟
- chown -R oracle:oinstall /u01/archive
修改後刪除備庫之前複製檔案
點選(此處)摺疊或開啟
- rm -rf /u01/app/oracle/oradata/netdata
重新duplicate
點選(此處)摺疊或開啟
-
RMAN> duplicate target database for standby from active database dorecover nofilenamecheck;
-
Starting Duplicate Db at 02-JUL-18
-
using target database control file instead of recovery catalog
-
allocated channel: ORA_AUX_DISK_1
-
channel ORA_AUX_DISK_1: SID=10 device type=DISK
-
-
-
contents of Memory Script:
-
{
-
backup as copy reuse
-
targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/orapwnetdata' auxiliary format
-
'/u01/app/oracle/product/11.2.0/db_1/dbs/orapwnetdata' ;
-
}
-
executing Memory Script
-
-
-
Starting backup at 02-JUL-18
-
allocated channel: ORA_DISK_1
-
channel ORA_DISK_1: SID=404 device type=DISK
-
Finished backup at 02-JUL-18
-
-
-
contents of Memory Script:
-
{
-
backup as copy current controlfile for standby auxiliary format '/u01/app/oracle/oradata/netdata/control01.ctl';
-
restore clone controlfile to '/u01/app/oracle/fast_recovery_area/netdata/control02.ctl' from
-
'/u01/app/oracle/oradata/netdata/control01.ctl';
-
}
-
executing Memory Script
-
-
-
Starting backup at 02-JUL-18
-
using channel ORA_DISK_1
-
channel ORA_DISK_1: starting datafile copy
-
copying standby control file
-
output file name=/u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_netdata.f tag=TAG20180702T185303 RECID=2 STAMP=980448784
-
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
-
Finished backup at 02-JUL-18
-
-
-
Starting restore at 02-JUL-18
-
using channel ORA_AUX_DISK_1
-
-
-
channel ORA_AUX_DISK_1: copied control file copy
-
Finished restore at 02-JUL-18
-
-
-
contents of Memory Script:
-
{
-
sql clone 'alter database mount standby database';
-
}
-
executing Memory Script
-
-
-
sql statement: alter database mount standby database
-
-
-
contents of Memory Script:
-
{
-
set newname for tempfile 1 to
-
"/u01/app/oracle/oradata/netdata/temp01.dbf";
-
switch clone tempfile all;
-
set newname for datafile 1 to
-
"/u01/app/oracle/oradata/netdata/system01.dbf";
-
set newname for datafile 2 to
-
"/u01/app/oracle/oradata/netdata/sysaux01.dbf";
-
set newname for datafile 3 to
-
"/u01/app/oracle/oradata/netdata/undotbs01.dbf";
-
set newname for datafile 4 to
-
"/u01/app/oracle/oradata/netdata/users01.dbf";
-
backup as copy reuse
-
datafile 1 auxiliary format
-
"/u01/app/oracle/oradata/netdata/system01.dbf" datafile
-
2 auxiliary format
-
"/u01/app/oracle/oradata/netdata/sysaux01.dbf" datafile
-
3 auxiliary format
-
"/u01/app/oracle/oradata/netdata/undotbs01.dbf" datafile
-
4 auxiliary format
-
"/u01/app/oracle/oradata/netdata/users01.dbf" ;
-
sql 'alter system archive log current';
-
}
-
executing Memory Script
-
-
-
executing command: SET NEWNAME
-
-
-
renamed tempfile 1 to /u01/app/oracle/oradata/netdata/temp01.dbf in control file
-
-
-
executing command: SET NEWNAME
-
-
-
executing command: SET NEWNAME
-
-
-
executing command: SET NEWNAME
-
-
-
executing command: SET NEWNAME
-
-
-
Starting backup at 02-JUL-18
-
using channel ORA_DISK_1
-
channel ORA_DISK_1: starting datafile copy
-
input datafile file number=00001 name=/u01/app/oracle/oradata/netdata/system01.dbf
-
output file name=/u01/app/oracle/oradata/netdata/system01.dbf tag=TAG20180702T185311
-
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:25
-
channel ORA_DISK_1: starting datafile copy
-
input datafile file number=00002 name=/u01/app/oracle/oradata/netdata/sysaux01.dbf
-
output file name=/u01/app/oracle/oradata/netdata/sysaux01.dbf tag=TAG20180702T185311
-
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15
-
channel ORA_DISK_1: starting datafile copy
-
input datafile file number=00003 name=/u01/app/oracle/oradata/netdata/undotbs01.dbf
-
output file name=/u01/app/oracle/oradata/netdata/undotbs01.dbf tag=TAG20180702T185311
-
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
-
channel ORA_DISK_1: starting datafile copy
-
input datafile file number=00004 name=/u01/app/oracle/oradata/netdata/users01.dbf
-
output file name=/u01/app/oracle/oradata/netdata/users01.dbf tag=TAG20180702T185311
-
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
-
Finished backup at 02-JUL-18
-
-
-
sql statement: alter system archive log current
-
-
-
contents of Memory Script:
-
{
-
backup as copy reuse
-
archivelog like "/u01/archive/1_9_980442214.dbf" auxiliary format
-
"/u01/archive/1_9_980442214.dbf" ;
-
catalog clone archivelog "/u01/archive/1_9_980442214.dbf";
-
switch clone datafile all;
-
}
-
executing Memory Script
-
-
-
Starting backup at 02-JUL-18
-
using channel ORA_DISK_1
-
channel ORA_DISK_1: starting archived log copy
-
input archived log thread=1 sequence=9 RECID=5 STAMP=980448836
-
output file name=/u01/archive/1_9_980442214.dbf RECID=0 STAMP=0
-
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
-
Finished backup at 02-JUL-18
-
-
-
cataloged archived log
-
archived log file name=/u01/archive/1_9_980442214.dbf RECID=1 STAMP=980448838
-
-
-
datafile 1 switched to datafile copy
-
input datafile copy RECID=2 STAMP=980448838 file name=/u01/app/oracle/oradata/netdata/system01.dbf
-
datafile 2 switched to datafile copy
-
input datafile copy RECID=3 STAMP=980448838 file name=/u01/app/oracle/oradata/netdata/sysaux01.dbf
-
datafile 3 switched to datafile copy
-
input datafile copy RECID=4 STAMP=980448838 file name=/u01/app/oracle/oradata/netdata/undotbs01.dbf
-
datafile 4 switched to datafile copy
-
input datafile copy RECID=5 STAMP=980448838 file name=/u01/app/oracle/oradata/netdata/users01.dbf
-
-
-
contents of Memory Script:
-
{
-
set until scn 973806;
-
recover
-
standby
-
clone database
-
delete archivelog
-
;
-
}
-
executing Memory Script
-
-
-
executing command: SET until clause
-
-
-
Starting recover at 02-JUL-18
-
using channel ORA_AUX_DISK_1
-
-
-
starting media recovery
-
-
-
archived log for thread 1 with sequence 9 is already on disk as file /u01/archive/1_9_980442214.dbf
-
archived log file name=/u01/archive/1_9_980442214.dbf thread=1 sequence=9
-
media recovery complete, elapsed time: 00:00:01
-
Finished recover at 02-JUL-18
-
Finished Duplicate Db at 02-JUL-18
-
-
RMAN> quit
- Recovery Manager complete.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24486203/viewspace-2157175/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- dataguard故障處理一則
- 手動處理DataGuard間隔
- 一次dataguard故障處理
- 搭建dataguard時,錯誤處理
- DATAGUARD中手工處理日誌GAP
- Oracle 11.2.0.4 Dataguard兩則故障處理Oracle
- 【DG】 DataGuard 中處理archive gap的方法Hive
- Oracle DataGuard歸檔日誌丟失處理方法Oracle
- oracle dataguard資料同步故障處理一例Oracle
- 在DATAGUARD中手工處理日誌GAP的方法
- ORACLE 11G DATAGUARD 日誌中斷處理方案Oracle
- ORACLE DATAGUARD中手工處理日誌v$archive_GAP的方法OracleHive
- Dataguard報錯DEPENDS UPON ME, BUT MY DESTINATION INDEX處理過程Index
- 使用RMAN增量備份處理Dataguard因歸檔丟失造成的gap
- 【DATAGUARD】DG系列之邏輯備庫非實時更新小問題處理
- 【RMAN】使用RMAN的Duplicate功能建立物理DataGuard報錯(ORA-17627、ORA-17629)處理
- 多對一處理 和一對多處理的處理
- DATAGUARD主庫重做日誌不能同步至備庫 alert日中報ORA-12170故障處理
- JSP 異常處理如何處理?JS
- windows批處理之一:字串處理Windows字串
- 影像處理或其他多媒體處理中的值溢位處理
- Oracle DataGuard FAL[client, ARC2]: Error 16191 connecting to 問題處理過程記錄OracleclientError
- PHP錯誤處理和異常處理PHP
- 處理百萬級以上的資料處理
- 模板處理
- 事件處理事件
- 待處理
- Cookie處理Cookie
- gson 處理
- Office處理
- 處理交接
- clob處理
- 平滑處理
- 字串處理字串
- webgl 影像處理2---影像畫素處理Web
- APM RUEI processor處理程式hang死處理方法
- Apache Beam,批處理和流式處理的融合!Apache
- 【DataGuard】錯誤的log_file_name_convert引數導致物理Data Guard配置故障分析與處理