在搭Oracle dataguard练习中,主库和从库已经配置好,备库执行rman的duplicate操作时报以下错误
代码语言:shell复制input datafile file number=00002 name=/home/app/oracle/oradata/orcl/sysaux01.dbf
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 02/25/2023 11:03:04
ORA-17627: ORA-12577: Message 12577 not found; product=RDBMS; facility=ORA
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00003 name=/home/app/oracle/oradata/orcl/undotbs01.dbf
output file name=/home/app/oracle/oradata/orcl/undotbs01.dbf tag=TAG20230225T105418
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:04
channel ORA_DISK_1: starting datafile copy
input datafile file number=00004 name=/home/app/oracle/oradata/orcl/users01.dbf
output file name=/home/app/oracle/oradata/orcl/users01.dbf tag=TAG20230225T105418
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 02/25/2023 11:03:09
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 02/25/2023 11:03:04
ORA-17627: ORA-12577: Message 12577 not found; product=RDBMS; facility=ORA
通过排查,发现是磁盘空间不足
清理磁盘空间后,重新执行rman,成功恢复备库
代码语言:shell复制[oracle@standby ~]$ rman target sys/Tx499ORa315@orclpr auxiliary sys/Tx499ORa315@orcldg
RMAN> duplicate target database for standby from active database nofilenamecheck;