RMAN 恢复的时候出错RMAN-06091

简介: RMAN 恢复的时候出错RMAN-06091

RMAN 恢复的时候出错RMAN-06091

RMAN-03023: executing command: SET DBID
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 
RMAN-08030: allocated channel: c1
RMAN-08500: channel c1: SID=10 device type=SBT_TAPE
RMAN-08526: channel c1: DBackup3 Oracle MMS Library
RMAN-03023: executing command: SET COMMAND ID
RMAN-03090: Starting restore at 2020-07-23 16:12:28
RMAN-08021: channel c1: restoring control file
RMAN-08180: channel c1: restore complete, elapsed time: 00:00:01
RMAN-08505: output file name=/data/oradata/amlprod/control01.ctl
RMAN-08505: output file name=/data/fast_recovery_area/amlprod/control02.ctl
RMAN-03091: Finished restore at 2020-07-23 16:12:29
RMAN-08031: released channel: c1
RMAN> 
RMAN> 
RMAN-08066: database reset to incarnation 4
RMAN> 
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 
RMAN-08030: allocated channel: c1
RMAN-08500: channel c1: SID=10 device type=SBT_TAPE
RMAN-08526: channel c1: DBackup3 Oracle MMS Library
RMAN-03023: executing command: SET COMMAND ID
RMAN-03023: executing command: SET until clause
RMAN-03090: Starting restore at 2020-07-23 16:12:39
RMAN-03090: Starting implicit crosscheck backup at 2020-07-23 16:12:39
RMAN-03091: Finished implicit crosscheck backup at 2020-07-23 16:12:40
RMAN-03090: Starting implicit crosscheck copy at 2020-07-23 16:12:40
RMAN-08031: released channel: c1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/23/2020 16:12:40
RMAN-06091: no channel allocated for maintenance (of an appropriate type)

从进度提示看implicit crosscheck backup成功,implicit crosscheck copy 失败。


The implicit crosscheck and cataloging are only seen when using the fast recovery area. When using a restored controlfile to restore the database, we need to ensure that the controlfile metadata is still correct. So RMAN automatically crosschecks all backups and catalogs the flash recovery area. This is a one-time operation. So the first time a restore of any datafile is initiated, we will crosscheck and catalog the backup pieces. Subsequent restores from the same controlfile will not kick off the crosscheck and catalog operation.

After applying July (DBPSU/BP/RU) patch on 11.2.0.4,12.1.0.2,12.2,or 18.2 RMAN script fails with
RMAN-06091: NO CHANNEL ALLOCATED FOR MAINTENANCE (OF AN APPROPRIATE TYPE)
This issue has been reported on 11.2.0.4,12.1.0.2,12.2, and 18.2.
RMAN-08031:
RMAN-00571:
RMAN-00569:
RMAN-00571:
RMAN-03002:
RMAN-06091:
released channel:t1
===========================================================
=============== ERROR MESSAGE STACK FOLLOWS ===============
===========================================================
failure of delete command at 07/24/2018 08:26:03
no channel allocated for maintenance (of an appropriate type)
CAUSE
Issue is reported in Bug 28391990, which has been superseded by the fix of unpublished Bug 28432129:
Bug 28432129: RMAN-06091: no channel allocated for maintenance (of an appropriate type) after installing July 2018 (DBPSU/BP/RU) (Note
28432129.8)
Fixed Version : 19.1
SOLUTION
Check for an available patch within the 'Patches and Updates' area. Search for 28432129 as your Patch Name/Number
and select your platform.
Download and apply the appropriate patch for your version.
If a patch does not exist, log an SR requesting one.
If you cannot apply the patch, you can work around this issue by explicitly allocating the channel needed by the
maintenance command.

打补丁比较麻烦,而且不确定100%的能解决问题,文档建议是显式地分配一个maintenance channel。但这个办法在我们这里不好用,取消recovery area,不让implicit crosscheck 可能是个解决方案:

alter system set db_recovery_file_dest=’’ scope=both;

试了一下,成功的开始了恢复,但又报log_archive_dest_1参数错,原来这个参数是被设置成基于db_recovery_file_dest参数,改成绝对路径即可。

相关文章
|
Docker Python 容器
查看docker search之后的所有镜像分支版本
查看docker search之后的所有镜像分支版本
4928 0
查看docker search之后的所有镜像分支版本
|
SQL 存储 Oracle
oracle错误代码大全(超详细)
本篇文章是对oracle错误代码进行了详细的总结与分析,需要的朋友参考下
2488 0
|
域名解析 Ubuntu Linux
Docker 镜像基本操作
本文介绍 Docker 镜像最常用的三个基本操作 login、pull、push以及如何登录子账户。通过认识镜像的基本操作,您可以更熟练地使用容器镜像服务 ACR。
9367 0
Docker 镜像基本操作
|
SQL 数据库连接 网络安全
thinkphp SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: [error:14090086:SSL routine
thinkphp SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: [error:14090086:SSL routine
1731 0
|
安全 程序员 API
最新 | Python 官方中文文档正式发布!
千呼万唤始出来!Python 官方文档终于发布中文版了!受英语困扰的小伙伴终于可以更轻松地阅读官方文档了。
7215 1
最新 | Python 官方中文文档正式发布!
|
存储 前端开发 数据管理
为LTO磁带而生的文件系统LTFS|主线任务—夺回"秋雅"
在LTO第一代到第四代,如果我们想要访问LTO磁带的内容,都需要厂商提供的特殊软件来支持,软件需要全部加在整个磁带的内容,才能展示你要查找的文件,保存文件的过程也需要特有的软件来处理。提供的磁带存储的厂商还有多个这就导致用户在使用磁带过程中,非常的痛苦地面对来回之间复杂的搬运场景。
|
关系型数据库 数据库 PostgreSQL
如何在 Postgres 中重命名列
【8月更文挑战第11天】
1275 0
如何在 Postgres 中重命名列
|
缓存 运维 监控
PostgreSQL运维技巧之vacuum调优
PostgreSQL运维技巧之vacuum调优
2072 3
|
监控 安全 网络协议
什么是 TACACS/TACACS+ 身份验证?
【5月更文挑战第1天】
2348 1
什么是 TACACS/TACACS+ 身份验证?
|
SQL 关系型数据库 测试技术
详解DB2 restore恢复数据库
本文介绍了将生产数据库完整恢复到测试环境的具体步骤和注意事项。包括检查服务器空间、上传数据库文件、停掉数据库连接、查看日志、设置编码页、日志重定向、设置表空间大小、执行恢复、前滚日志、恢复字符集、善后工作等操作,帮助确保数据恢复过程顺利进行。
1252 0