>  기사  >  데이터 베이스  >  RMAN备份报Erroroccurredgettingresponse-assumingNOresponse错

RMAN备份报Erroroccurredgettingresponse-assumingNOresponse错

WBOY
WBOY원래의
2016-06-07 15:57:141675검색

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 th

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';

本文作者:踩点

欢迎 加入 系统性能优化专业群 ,共同探讨性能优化技术。群号:258187244

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.