ORA-19573: cannot obtain exclusive enqueue for datafile XXX 解决方法

ORA-19573: cannot obtain exclusive enqueue for datafile XXX 解决方法

 

一个朋友说自己使用RMAN进行恢复datafile 3,出现ORA-19573,不能正常恢复。与朋友沟通,朋友执行恢复的时候,竟还有实例处于OPEN状态。把所有实例mount后,恢复成功

 

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

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

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

RMAN-03002: failure of restore command at 07/26/2013 11:45:33

ORA-19870: error while restoring backup piece /rman/backup/data/level0_RACDB_93_1_2tofn3hn_20130726.bak

ORA-19573: cannot obtain exclusive enqueue for datafile 3

 

[oracle@racdb 2 rman]$ oerr ora 19573

19573, 00000, "cannot obtain %s enqueue for datafile %s"

// *Cause:  The file access enqueue could not be obtained for a file

//          specified in a backup, copy or restore operation.

//          If the enqueue type shown is 'shared', then the file is the

//          input file for a backup or copy.  If the type is 'exclusive', then

//          the file is the output file for a datafile copy or restore which

//          is attempting to overwrite the currently active version of that

//          file - in this case, the file must be offline or the database must

//          be closed.  If the type is 'read-only', then you are attempting

//          to back up or copy this file while the database is in NOARCHIVELOG

//          mode.

// *Action: Wait until the conflicting operation is complete, then retry

//          the copy or backup.  If the database is in NOARCHIVELOG mode, then

//          all files being backed up must be closed cleanly.

 

 

解决方法:所有实例mount状态下执行恢复!

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值