系统:oel 7.9 64位
数据库:oracle 11.2.0.4 64位
环境:rac(双节点) + dg
问题描述:搭建dg在执行duplicate命令时,报错RMAN-05517,如下所示:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 10/01/2022 20:44:20
RMAN-05501: aborting duplication of target database
RMAN-05517: tempfile +DATA/orcl/tempfile/temp.266.1107818221 conflicts with file used by target database
异常原因:
用spfile生成pfile文件后,查看log_file_name_convert、db_file_name_convert参数发现tempfile的转换路径编写错误.
修改后异常不再发生.