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中手工處理日誌GAP
- Oracle 11.2.0.4 Dataguard兩則故障處理Oracle
- Oracle DataGuard歸檔日誌丟失處理方法Oracle
- ORACLE 11G DATAGUARD 日誌中斷處理方案Oracle
- 使用RMAN增量備份處理Dataguard因歸檔丟失造成的gap
- Oracle DataGuard FAL[client, ARC2]: Error 16191 connecting to 問題處理過程記錄OracleclientError
- 【DATAGUARD】Oracle Dataguard nologging 塊修復Oracle
- 【Dataguard】DataGuard運維注意事項運維
- Oracle 11.2.0.4 physical dataguard和snapshot dataguard切換Oracle
- 【DATAGUARD】Oracle Dataguard體系架構詳解Oracle架構
- 【DATAGUARD】Dataguard遠端同步配置最佳實踐
- 多對一處理 和一對多處理的處理
- JSP 異常處理如何處理?JS
- 【DATAGUARD】Oracle19c dataguard新特性及部署Oracle
- 模板處理
- 平滑處理
- 字串處理字串
- 事件處理事件
- 【DATAGUARD】Oracle Dataguard物理備庫切換最佳實踐(sqlplus)OracleSQL
- 【Dataguard】Oracle多租戶環境對Dataguard的影響Oracle
- Python錯誤處理和異常處理(二)Python
- APM RUEI processor處理程式hang死處理方法
- Python資料處理(二):處理 Excel 資料PythonExcel
- Python影像處理丨5種影像處理特效Python特效
- webgl 影像處理2---影像畫素處理Web
- 【故障處理】ORA-600:[13013],[5001]故障處理
- Apache Beam,批處理和流式處理的融合!Apache
- RAC+ASM+DATAGUARDASM
- oracle dataguard broker 配置Oracle
- Python 影像處理 OpenCV (6):影像的閾值處理PythonOpenCV
- Python 影像處理 OpenCV (7):影像平滑(濾波)處理PythonOpenCV
- rust學習十、異常處理(錯誤處理)Rust
- C#基礎之前處理器,異常處理C#
- Python處理JSONPythonJSON
- Java處理emojiJava
- React事件處理React事件
- 影像預處理
- VideoView全屏處理IDEView