Duplicate from Active Database Failing with: RMAN-03009, ORA-17628, and ORA-19505 (Doc ID 1439632.1)
搭建备库使用duplicate报错如题,查了MOS,有两个都是说这个问题的: 1. 数据有一部分是非OMF方式创建的,可以使用select tablespace_name,file_name from dba_data_files; 这个语句查看下数据文件的名字,参考MOS(Doc ID 1331986.1)
2. 目录不存在或者存在的目录有相同的文件也会报如题的错误,参考MOS(Doc ID 1439632.1)
MOS上给出的解决方案: 删除目录中已经存在相同的文件
我的报错是目录不存在,创建个目录就好了
以下是MOS原文:
1. MOS原文:ORA-17628, ORA-19505 during RMAN DUPLICATE FROM ACTIVE (Doc ID 1331986.1)
Applies to:
Oracle Database - Enterprise Edition - Version 11.1.0.7 and later Oracle Database Cloud Schema Service - Version N/A and later Oracle Database Exadata Cloud Machine - Version N/A and later Oracle Cloud Infrastructure - Database Service - Version N/A and later Oracle Database Backup Service - Version N/A and later Information in this document applies to any platform.
Symptoms
The following error is reported trying to create a Physical Standby database using "duplicate from active database" :
RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of Duplicate Db command at 05/16/2011 09:54:23 RMAN-03015: error occurred in stored script Memory Script RMAN-03009: failure of backup command on disk2 channel at 05/16/2011 09:54:23 ORA-17628: Oracle error 19505 returned by remote Oracle server
Changes
One data file is not using OMF name while the rest of the data files are using OMF name.
Cause
This behavior was analyzed in Bug 12609412: ORA-17628 ORA-19505 DURING DUPLICATE FROM ACTIVE
Development confirmed that this behavior is not a Bug and this is exp