重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1306|回复: 0
打印 上一主题 下一主题

[参考文档] RMAN Duplicate to ASM Failing With ORA-19870 ORA-19504 ORA-15012 ORA-17502 OR...

[复制链接]
跳转到指定楼层
楼主
发表于 2022-12-18 13:10:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
当RMAN恢复到ASM时报ORA-19870、ORA-19504、ORA-15012、ORA-17502等错误
RMAN duplicate to ASM is failing with these errors:
  channel D1: reading from backup piece /mnt/ora_ab12345678_a12_a1
  ORA-19870: error reading backup piece /mnt/ora_ab12345678_a12_a1
  ORA-19504: failed to create file "+DISK1/mydatafile01.dbf"
  ORA-15012: ASM file 'mydatafile01.dbf' does not exist
  ORA-17502: ksfdcre:5 Failed to create file +DISK1/mydatafile01.dbf
  ORA-15080: synchronous I/O operation to a disk failed
And you might see these errors too:
  RMAN-00571: ================================================
  RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===
  RMAN-00571: ================================================
  RMAN-03002: failure of Duplicate Db command at 02/22/2007 10:01:36
  RMAN-03015: error occurred in stored script Memory Script
  RMAN-06026: some targets not found - aborting restore
  RMAN-06023: no backup or copy of datafile 411 found to restore
The alert log shows these errors:
  Errors in file /mydb/udump/mydb/trace_864352.trc:
  ORA-27091: unable to queue I/O
  ORA-27041: unable to open file
  IBM AIX RISC System/6000 Error: 13: Permission denied
  Additional information: 3

原因是操作系统中存在权限问题
Incorrect operating system permissions.  
The operating system owner of the $ORACLE_HOME for the TARGET database is different
from the operating system owner of the $ORACLE_HOME for ASM instance.
.
The file permissions show 744 for the ASM disks.
Both the owner of the $ORACLE_HOME for ASM instance and the one for the TARGET instance
have a group of DBA, but file permissions of 744 only allow for "read" access to the DBA group.

Cause justified by trace file showing errors:

ORA-27091: unable to queue I/O
ORA-27041: unable to open file
SVR4 Error: 13: Permission denied
Additional information: 3

解决方法:
For the ASM disks seen at the operating system prompt, change the permissions for the group (usually DBA)
to allow at least read and write by the group.

Set the owner:group for the 'TARGET' database home to the same as the 'ASM' home.

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-25 19:39 , Processed in 0.102423 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表