ORA-19527: physical standby redo log must be renamed
发表于:2025-11-07 作者:千家信息网编辑
千家信息网最后更新 2025年11月07日,错误记录:1,rman 复制数据库报错。ORACLE error from auxiliary database: ORA-19527: physical standby redo log must
千家信息网最后更新 2025年11月07日ORA-19527: physical standby redo log must be renamed错误记录:
1,rman 复制数据库报错。
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 1 thread 1: '/u01/app/oracle/oradata/pdb/redo01.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/pdb/redo02.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/pdb/redo03.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 4 thread 0: '/u01/app/oracle/oradata/pdb/s1.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 5 thread 0: '/u01/app/oracle/oradata/pdb/s2.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 6 thread 0: '/u01/app/oracle/oradata/pdb/s3.log'
解决办法:
备用和主数据库设置如下参数:--------------需要重启数据库。
alter system set LOG_FILE_NAME_CONVERT='pdb','pdb' scope=spfile;
修改之后rman恢复正常,无报错:
Recovery Manager: Release 12.1.0.2.0 - Production on Thu Dec 28 00:18:59 2017
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
connected to target database: PDB (DBID=3386854302)
connected to auxiliary database: PDB (not mounted)
RMAN> 2> 3> 4> 5>
Starting Duplicate Db at 28-DEC-17
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=272 device type=DISK
current log archived
contents of Memory Script:
{
backup as copy reuse
targetfile '/u01/app/oracle/product/12.1.0/dbhome_1/dbs/orapwpdb' auxiliary format
'/u01/app/oracle/product/12.1.0/dbhome_1/dbs/orapwpdb' ;
}
executing Memory Script
Starting backup at 28-DEC-17
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=364 device type=DISK
Finished backup at 28-DEC-17
contents of Memory Script:
{
backup as copy current controlfile for standby auxiliary format '/u01/app/oracle/oradata/pdb/control01.ctl';
}
executing Memory Script
Starting backup at 28-DEC-17
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
copying standby control file
output file name=/u01/app/oracle/product/12.1.0/dbhome_1/dbs/snapcf_pdb.f tag=TAG20171228T001903
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
Finished backup at 28-DEC-17
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/pdb/temp01.dbf";
switch clone tempfile all;
set newname for datafile 1 to
"/u01/app/oracle/oradata/pdb/system01.dbf";
set newname for datafile 3 to
"/u01/app/oracle/oradata/pdb/sysaux01.dbf";
set newname for datafile 4 to
"/u01/app/oracle/oradata/pdb/undotbs01.dbf";
set newname for datafile 6 to
"/u01/app/oracle/oradata/pdb/users01.dbf";
backup as copy reuse
datafile 1 auxiliary format
"/u01/app/oracle/oradata/pdb/system01.dbf" datafile
3 auxiliary format
"/u01/app/oracle/oradata/pdb/sysaux01.dbf" datafile
4 auxiliary format
"/u01/app/oracle/oradata/pdb/undotbs01.dbf" datafile
6 auxiliary format
"/u01/app/oracle/oradata/pdb/users01.dbf" ;
sql 'alter system archive log current';
}
executing Memory Script
executing command: SET NEWNAME
renamed tempfile 1 to /u01/app/oracle/oradata/pdb/temp01.dbf in control file
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting backup at 28-DEC-17
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
input datafile file number=00001 name=/u01/app/oracle/oradata/pdb/system01.dbf
output file name=/u01/app/oracle/oradata/pdb/system01.dbf tag=TAG20171228T001909
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:55
channel ORA_DISK_1: starting datafile copy
input datafile file number=00003 name=/u01/app/oracle/oradata/pdb/sysaux01.dbf
output file name=/u01/app/oracle/oradata/pdb/sysaux01.dbf tag=TAG20171228T001909
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting datafile copy
input datafile file number=00004 name=/u01/app/oracle/oradata/pdb/undotbs01.dbf
output file name=/u01/app/oracle/oradata/pdb/undotbs01.dbf tag=TAG20171228T001909
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting datafile copy
input datafile file number=00006 name=/u01/app/oracle/oradata/pdb/users01.dbf
output file name=/u01/app/oracle/oradata/pdb/users01.dbf tag=TAG20171228T001909
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
Finished backup at 28-DEC-17
sql statement: alter system archive log current
current log archived
contents of Memory Script:
{
backup as copy reuse
archivelog like "/u01/arc/1_47_963859490.dbf" auxiliary format
"/u01/arc/1_47_963859490.dbf" archivelog like
"/u01/arc/1_48_963859490.dbf" auxiliary format
"/u01/arc/1_48_963859490.dbf" ;
catalog clone archivelog "/u01/arc/1_47_963859490.dbf";
catalog clone archivelog "/u01/arc/1_48_963859490.dbf";
switch clone datafile all;
}
executing Memory Script
Starting backup at 28-DEC-17
using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log copy
input archived log thread=1 sequence=47 RECID=74 STAMP=963879658
output file name=/u01/arc/1_47_963859490.dbf RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
channel ORA_DISK_1: starting archived log copy
input archived log thread=1 sequence=48 RECID=75 STAMP=963879659
output file name=/u01/arc/1_48_963859490.dbf RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
Finished backup at 28-DEC-17
cataloged archived log
archived log file name=/u01/arc/1_47_963859490.dbf RECID=1 STAMP=963879661
cataloged archived log
archived log file name=/u01/arc/1_48_963859490.dbf RECID=2 STAMP=963879662
datafile 1 switched to datafile copy
input datafile copy RECID=2 STAMP=963879662 file name=/u01/app/oracle/oradata/pdb/system01.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=3 STAMP=963879662 file name=/u01/app/oracle/oradata/pdb/sysaux01.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=4 STAMP=963879662 file name=/u01/app/oracle/oradata/pdb/undotbs01.dbf
datafile 6 switched to datafile copy
input datafile copy RECID=5 STAMP=963879662 file name=/u01/app/oracle/oradata/pdb/users01.dbf
contents of Memory Script:
{
set until scn 1827407;
recover
standby
clone database
delete archivelog
;
}
executing Memory Script
executing command: SET until clause
Starting recover at 28-DEC-17
using channel ORA_AUX_DISK_1
starting media recovery
archived log for thread 1 with sequence 47 is already on disk as file /u01/arc/1_47_963859490.dbf
archived log for thread 1 with sequence 48 is already on disk as file /u01/arc/1_48_963859490.dbf
archived log file name=/u01/arc/1_47_963859490.dbf thread=1 sequence=47
archived log file name=/u01/arc/1_48_963859490.dbf thread=1 sequence=48
media recovery complete, elapsed time: 00:00:00
Finished recover at 28-DEC-17
Finished Duplicate Db at 28-DEC-17
RMAN>
Recovery Manager complete.
1,rman 复制数据库报错。
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 1 thread 1: '/u01/app/oracle/oradata/pdb/redo01.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/pdb/redo02.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/pdb/redo03.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 4 thread 0: '/u01/app/oracle/oradata/pdb/s1.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 5 thread 0: '/u01/app/oracle/oradata/pdb/s2.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 6 thread 0: '/u01/app/oracle/oradata/pdb/s3.log'
解决办法:
备用和主数据库设置如下参数:--------------需要重启数据库。
alter system set LOG_FILE_NAME_CONVERT='pdb','pdb' scope=spfile;
修改之后rman恢复正常,无报错:
Recovery Manager: Release 12.1.0.2.0 - Production on Thu Dec 28 00:18:59 2017
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
connected to target database: PDB (DBID=3386854302)
connected to auxiliary database: PDB (not mounted)
RMAN> 2> 3> 4> 5>
Starting Duplicate Db at 28-DEC-17
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=272 device type=DISK
current log archived
contents of Memory Script:
{
backup as copy reuse
targetfile '/u01/app/oracle/product/12.1.0/dbhome_1/dbs/orapwpdb' auxiliary format
'/u01/app/oracle/product/12.1.0/dbhome_1/dbs/orapwpdb' ;
}
executing Memory Script
Starting backup at 28-DEC-17
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=364 device type=DISK
Finished backup at 28-DEC-17
contents of Memory Script:
{
backup as copy current controlfile for standby auxiliary format '/u01/app/oracle/oradata/pdb/control01.ctl';
}
executing Memory Script
Starting backup at 28-DEC-17
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
copying standby control file
output file name=/u01/app/oracle/product/12.1.0/dbhome_1/dbs/snapcf_pdb.f tag=TAG20171228T001903
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
Finished backup at 28-DEC-17
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/pdb/temp01.dbf";
switch clone tempfile all;
set newname for datafile 1 to
"/u01/app/oracle/oradata/pdb/system01.dbf";
set newname for datafile 3 to
"/u01/app/oracle/oradata/pdb/sysaux01.dbf";
set newname for datafile 4 to
"/u01/app/oracle/oradata/pdb/undotbs01.dbf";
set newname for datafile 6 to
"/u01/app/oracle/oradata/pdb/users01.dbf";
backup as copy reuse
datafile 1 auxiliary format
"/u01/app/oracle/oradata/pdb/system01.dbf" datafile
3 auxiliary format
"/u01/app/oracle/oradata/pdb/sysaux01.dbf" datafile
4 auxiliary format
"/u01/app/oracle/oradata/pdb/undotbs01.dbf" datafile
6 auxiliary format
"/u01/app/oracle/oradata/pdb/users01.dbf" ;
sql 'alter system archive log current';
}
executing Memory Script
executing command: SET NEWNAME
renamed tempfile 1 to /u01/app/oracle/oradata/pdb/temp01.dbf in control file
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting backup at 28-DEC-17
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
input datafile file number=00001 name=/u01/app/oracle/oradata/pdb/system01.dbf
output file name=/u01/app/oracle/oradata/pdb/system01.dbf tag=TAG20171228T001909
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:55
channel ORA_DISK_1: starting datafile copy
input datafile file number=00003 name=/u01/app/oracle/oradata/pdb/sysaux01.dbf
output file name=/u01/app/oracle/oradata/pdb/sysaux01.dbf tag=TAG20171228T001909
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting datafile copy
input datafile file number=00004 name=/u01/app/oracle/oradata/pdb/undotbs01.dbf
output file name=/u01/app/oracle/oradata/pdb/undotbs01.dbf tag=TAG20171228T001909
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting datafile copy
input datafile file number=00006 name=/u01/app/oracle/oradata/pdb/users01.dbf
output file name=/u01/app/oracle/oradata/pdb/users01.dbf tag=TAG20171228T001909
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
Finished backup at 28-DEC-17
sql statement: alter system archive log current
current log archived
contents of Memory Script:
{
backup as copy reuse
archivelog like "/u01/arc/1_47_963859490.dbf" auxiliary format
"/u01/arc/1_47_963859490.dbf" archivelog like
"/u01/arc/1_48_963859490.dbf" auxiliary format
"/u01/arc/1_48_963859490.dbf" ;
catalog clone archivelog "/u01/arc/1_47_963859490.dbf";
catalog clone archivelog "/u01/arc/1_48_963859490.dbf";
switch clone datafile all;
}
executing Memory Script
Starting backup at 28-DEC-17
using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log copy
input archived log thread=1 sequence=47 RECID=74 STAMP=963879658
output file name=/u01/arc/1_47_963859490.dbf RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
channel ORA_DISK_1: starting archived log copy
input archived log thread=1 sequence=48 RECID=75 STAMP=963879659
output file name=/u01/arc/1_48_963859490.dbf RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
Finished backup at 28-DEC-17
cataloged archived log
archived log file name=/u01/arc/1_47_963859490.dbf RECID=1 STAMP=963879661
cataloged archived log
archived log file name=/u01/arc/1_48_963859490.dbf RECID=2 STAMP=963879662
datafile 1 switched to datafile copy
input datafile copy RECID=2 STAMP=963879662 file name=/u01/app/oracle/oradata/pdb/system01.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=3 STAMP=963879662 file name=/u01/app/oracle/oradata/pdb/sysaux01.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=4 STAMP=963879662 file name=/u01/app/oracle/oradata/pdb/undotbs01.dbf
datafile 6 switched to datafile copy
input datafile copy RECID=5 STAMP=963879662 file name=/u01/app/oracle/oradata/pdb/users01.dbf
contents of Memory Script:
{
set until scn 1827407;
recover
standby
clone database
delete archivelog
;
}
executing Memory Script
executing command: SET until clause
Starting recover at 28-DEC-17
using channel ORA_AUX_DISK_1
starting media recovery
archived log for thread 1 with sequence 47 is already on disk as file /u01/arc/1_47_963859490.dbf
archived log for thread 1 with sequence 48 is already on disk as file /u01/arc/1_48_963859490.dbf
archived log file name=/u01/arc/1_47_963859490.dbf thread=1 sequence=47
archived log file name=/u01/arc/1_48_963859490.dbf thread=1 sequence=48
media recovery complete, elapsed time: 00:00:00
Finished recover at 28-DEC-17
Finished Duplicate Db at 28-DEC-17
RMAN>
Recovery Manager complete.
数据
数据库
办法
参数
错误
备用
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
互联网科技新能源汽车
防火墙用代理服务器实现
dw 代码连接数据库
网络安全法应当充分运用
汕头巡检软件开发
软件开发一般要几个人
手机怎么掌握网络技术
上海学校网络安全工作方案
无锡木瓜互联网科技
软件开发那个招聘软件
数据库选型 mysql
电科院网络安全工作总结
图数据库中文文档
软件开发成本怎么估算
腾讯网络技术工程师
快速录入超市商品数据库
腾讯网络安全运维认证
易华录网络安全与发展研究所
济宁ios软件开发外包公司
昌吉软件开发定制
网络技术专业产教融合
晚礼服设计图软件开发
苏州市软件开发招聘
数据库技术你博客
oracle数据库半数配置
安全网络技术报告
中国网络安全院士
如何注释数据库表名
郑州办公系统软件开发哪家好
四川python软件开发价钱