从库spfile

*.audit_file_dest='/u01/app/oracle/admin/mydbbk/adump'

*.compatible='11.2.0.4.0'

*.control_files='/u01/app/oracle/oradata/mydbbk/control01.ctl'#Restore Controlfile

*.db_name='mydb'

*.db_recovery_file_dest='/u01/app/oracle/fast_recovery_area'

*.db_recovery_file_dest_size=4385144832

*.diagnostic_dest='/u01/app/oracle'

*.pga_aggregate_target=314572800

*.sga_target=465567744

*.undo_tablespace='UNDOTBS1'

db_unique_name='mydbbk'

standby_file_management=auto

log_archive_dest_3='location=/home/oracle/arc_mydbbk_dest_3 valid_for=(standby_logfiles,standby_role) db_unique_name=mydbbk'

log_archive_dest_state_3='enable'

db_file_name_convert='/u01/app/oracle/oradata/mydb/','u01/app/oracle/oradata/mydbbk/'

log_file_name_convert='/u01/app/oracle/oradata/mydb/','u01/app/oracle/oradata/mydbbk/'

相关报错如下:

RMAN> duplicate target database for standby from active database;

Starting Duplicate Db at 15-JUN-17

using target database control file instead of recovery catalog

allocated channel: ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: SID=5 device type=DISK

contents of Memory Script:

{

backup as copy reuse

targetfile  '/u01/app/oracle/product/11.2.0/db_1/dbs/orapwmydb' auxiliary format

'/u01/app/oracle/product/11.2.0/db_1/dbs/orapwmydbbk'   ;

}

executing Memory Script

Starting backup at 15-JUN-17

allocated channel: ORA_DISK_1

channel ORA_DISK_1: SID=12 device type=DISK

Finished backup at 15-JUN-17

contents of Memory Script:

{

backup as copy current controlfile for standby auxiliary format  '/u01/app/oracle/oradata/mydbbk/control01.ctl';

}

executing Memory Script

Starting backup at 15-JUN-17

using channel ORA_DISK_1

channel ORA_DISK_1: starting datafile copy

copying standby control file

output file name=/u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_mydb.f tag=TAG20170615T000417 RECID=2 STAMP=946685058

channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03

Finished backup at 15-JUN-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/mydbbk/temp01.dbf";

switch clone tempfile all;

set newname for datafile  1 to

"u01/app/oracle/oradata/mydbbk/system01.dbf";

set newname for datafile  2 to

"u01/app/oracle/oradata/mydbbk/sysaux01.dbf";

set newname for datafile  3 to

"u01/app/oracle/oradata/mydbbk/undotbs01.dbf";

set newname for datafile  4 to

"u01/app/oracle/oradata/mydbbk/users01.dbf";

backup as copy reuse

datafile  1 auxiliary format

"u01/app/oracle/oradata/mydbbk/system01.dbf"   datafile

2 auxiliary format

"u01/app/oracle/oradata/mydbbk/sysaux01.dbf"   datafile

3 auxiliary format

"u01/app/oracle/oradata/mydbbk/undotbs01.dbf"   datafile

4 auxiliary format

"u01/app/oracle/oradata/mydbbk/users01.dbf"   ;

sql 'alter system archive log current';

}

executing Memory Script

executing command: SET NEWNAME

renamed tempfile 1 to u01/app/oracle/oradata/mydbbk/temp01.dbf in control file

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

Starting backup at 15-JUN-17

using channel ORA_DISK_1

channel ORA_DISK_1: starting datafile copy

input datafile file number=00001 name=/u01/app/oracle/oradata/mydb/system01.dbf

RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/15/2017 00:04:28

ORA-17628: Oracle error 19505 returned by remote Oracle server

continuing other job steps, job failed will not be re-run

channel ORA_DISK_1: starting datafile copy

input datafile file number=00002 name=/u01/app/oracle/oradata/mydb/sysaux01.dbf

RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/15/2017 00:04:29

ORA-17628: Oracle error 19505 returned by remote Oracle server

continuing other job steps, job failed will not be re-run

channel ORA_DISK_1: starting datafile copy

input datafile file number=00003 name=/u01/app/oracle/oradata/mydb/undotbs01.dbf

RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/15/2017 00:04:30

ORA-17628: Oracle error 19505 returned by remote Oracle server

continuing other job steps, job failed will not be re-run

channel ORA_DISK_1: starting datafile copy

input datafile file number=00004 name=/u01/app/oracle/oradata/mydb/users01.dbf

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of Duplicate Db command at 06/15/2017 00:04:31

RMAN-05501: aborting duplication of target database

RMAN-03015: error occurred in stored script Memory Script

RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/15/2017 00:04:31

ORA-17628: Oracle error 19505 returned by remote Oracle server

查询从库alert得知,是spfile中convert 目录错误,经查看,转换目录缺少/

dataguard mysql,搭建dataguard在同步数据时报错相关推荐

  1. 长时间不写springboot项目向数据库同步数据时报错

    前言 好久没有撸代码了,一堆问题 解决办法 使用如下方法继续报错: /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/b ...

  2. mysql插入表情_向MySQL数据库中插入带emoji表情符的数据时报错

    问题:向MySQL数据库中插入带emoji表情符的数据时报错 原因:utf8字符集不支持emoji表情符,需要改为utf8mb4字符集(utf8mb4是MySQL在5.5.3之后增加的,实际开发中建议 ...

  3. mysql设置主键自增长,插入数据时报错,解决

    mysql设置主键自增长,插入数据时报错,解决 创建一个可以自增长的表 create table user ( sid int not null primary key auto_inrement, ...

  4. 【MySQL】解决MySQL删除外键(foreign key)时报错问题

    [MySQL]解决MySQL删除外键(foreign key)时报错问题 文章目录 [MySQL]解决MySQL删除外键(foreign key)时报错问题 一.现象 二.分析 三.问题解决 四.拓展 ...

  5. python爬取数据时报错:`aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host sea

    python爬取数据时报错:aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host sear ...

  6. mysql导入sql文件、数据库时报错ERROR: ASCII ‘\0‘ appeared in the statement

    mysql导入sql文件.数据库时报错ERROR: ASCII '\0' appeared in the statement

  7. Redis_保存数据时报错MISCONF Redis is configured to save RDB snapshots, but it is curren

    Redis_保存数据时报错MISCONF Redis is configured to save RDB snapshots, but it is currently not able to pers ...

  8. 解决金仓数据库KingbaseES创建serial列并将其设置为主键约束,同时copy两条及以上数据时报错的问题

    ​  关键字 人大金仓.金仓数据库.KingbaseES.KES.serial.copy.PRIMARY KEY 问题描述 使用KingbaseES V8R3数据库的客户端工具ksql执行copy - ...

  9. Excel 通过plsql 向oracle导入数据时报错:variant conversion error for variable:V8

    Excel 通过plsql 向oracle导入数据时报错:variant conversion error for variable : V8 原因-:Excel中的某列字段类型与数据库表中字段数据类 ...

最新文章

  1. linux怎么卸载源码包安装mysql_Linux下卸载和安装MySQL[rpm包]
  2. UVA10382喷水装置
  3. php客户反馈发邮箱,PHP实现通过get方式识别用户发送邮件的方法
  4. php获取跳转之后的网址,php如何获得网址跳转之后的网址
  5. 当Java、C++、Python等编程语言都变成妹子。。。
  6. 【转】百度站长平台MIP引入工具使用心得
  7. 广东地区电信官方DNS服务器
  8. /usr/bin/xsltproc: not found
  9. join为什么每个字符都分割了 js_2019JS必看面试题
  10. ISO27001认证办理流程及2022年补贴政策汇总
  11. 8192fu网卡linux,Ubuntu 折腾 RTL8192EU 无线网卡驱动
  12. 免费搜索引擎提交网址大全
  13. Android MeasureSpec的理解和源码的解析
  14. 分享磁盘空间不足的5个处理方法
  15. rancher添加私有仓库_在Rancher2中部署Docker-Registry仓库服务
  16. 高保真设计软件介绍及推荐
  17. Spring Boot中多个PostConstruct注解执行顺序控制
  18. 数学模型课程期末复习提纲(上)
  19. python笔记之1-简单读入+循环、判断+数组+函数调用+题目Resistors in Parallel(18焦作)
  20. MVCC和快照读丶当前读

热门文章

  1. strlen函数的三种写法
  2. 关于SAP的号码范围(number range)
  3. css3波浪纹路_CSS Houdini实现动态波浪纹效果
  4. 招聘高层管理人才的四种办法
  5. swagger访问报错This application has no explicit mapping for /error, so you are seeing this as a fallback
  6. uniapp顶部安全距离(包括app)
  7. oracle的的配置文件在哪儿,oracle的几个配置文件
  8. 1、登录云服务器(Linux_Ubuntu)
  9. python课程及编码字典_Python基础之字典操作(示例代码)
  10. 中华会计网吉安双师教学中心