ORA-19527: physical standby redo log must be renamed
发表于:2025-01-24 作者:千家信息网编辑
千家信息网最后更新 2025年01月24日,错误记录:1,rman 复制数据库报错。ORACLE error from auxiliary database: ORA-19527: physical standby redo log must
千家信息网最后更新 2025年01月24日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安全错误
数据库的锁怎样保障安全
ice服务器事件损失了多少钱
软件开发课程学习目标
BS服务器版仓库管理软件
华为云数据库老板
广州搜点网络技术有限公司
什么是value数据库
udp 多线程服务器
梦幻服务器实力排名
虚拟机数据库安全设置
考勤系统软件开发需求
华为服务器固态硬盘热拔插
支持软件开发模型
数据库备份失败的解决方法
基岩版生存1.17服务器ip
山西天元网络技术有限公司
数据库取模分片
家庭与网络安全
达梦数据库ip限制
硬科技包含软件开发吗
cdc软件开发方式
怎么看电脑的服务器mac
黑龙江网络安全防疫
邮箱服务器备份
怎么写起点中文网的数据库表格
考勤系统软件开发需求
广东常规软件开发方案
网络安全 美军
数据库技术及应用詹英
洛阳学软件开发在哪里
应用web服务器