当前位置:  数据库>oracle

RMAN备份报Error occurred getting response - assuming NO response错误处理

    来源: 互联网  发布时间:2017-06-26

    本文导语: 1、一个RMAN备份脚本报错信息 Do you really want to delete the above objects (enter YES or NO)? Do you really want to delete the above objects (enter YES or NO)? "exit;" is an invalid response - please re-enter. Do you really want to delete the above objects (enter YES or NO)? Error occurre...

1、一个RMAN备份脚本报错信息

Do you really want to delete the above objects (enter YES or NO)?

Do you really want to delete the above objects (enter YES or NO)? "exit;" is an invalid response - please re-enter.

Do you really want to delete the above objects (enter YES or NO)?

Error occurred getting response - assuming NO response

released channel: c1

released channel: c2

released channel: c3

上面错误信息:Error occurred getting response - assuming NO response

2、原因分析

(1)检查脚本代码:

发现脚本代码中有一段:

delete archivelog all completed before 'sysdate-0.005';

(1)执行上面delete archivelog脚本时,给出提问选择信息:Do you really want to delete the above objects (enter YES or NO)?

(2)由于执行的是脚本代码,无法人工参与输入提问的选择值,所以报出“没有得到响应”的错误“Error occurred getting response - assuming NO response”

3、解决方法

修改脚本代码,加入noprompt关键字,即“不提示提问”,修改后代码如下:

delete noprompt archivelog all completed before 'sysdate-0.005';


    
 
 
 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • rman配置及rman常用命令操作
  • Oracle相关:Rman Crosscheck删除失效归档
  • rman恢复方案和oracle异机恢复
  • Oracle RMAN快速入门指南


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3