在RMAN备份全库的时候,将归档日志一同进行备份,结果报如下错误,可以看到是无法获得对应归档日志的报错:

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 07/05/2017 23:52:03
RMAN-06059: expected archived log not found, loss of archived log compromises recoverability
ORA-19625: error identifying file /oradata/gqtzdb/archivelog/1_173_946166147.dbf
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3

  根据报错,进入对应目录查看,发现确实没有此归档日志。所以此报错的原因可能是人为物理删除了该归档,而在控制文件中还记录此归档的存在,因此需要将此归档信息从控制文件的记载中删除,命令如下:

RMAN> crosscheck archivelog all;

RMAN> delete expired archivelog all;

[oracle@KG-ORA-01 archivelog]$ rman target /

Recovery Manager: Release 11.2.0.4.0 - Production on Wed Jul 5 23:56:10 2017

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

connected to target database: GQTZDB (DBID=1719892735)

RMAN> crosscheck archivelog all;

using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=288 device type=DISK
validation failed for archived log
archived log file name=/oradata/gqtzdb/archivelog/1_173_946166147.dbf RECID=3870 STAMP=948015057
validation failed for archived log
archived log file name=/oradata/gqtzdb/archivelog/1_174_946166147.dbf RECID=3873 STAMP=948015107
validation failed for archived log
archived log file name=/oradata/gqtzdb/archivelog/1_175_946166147.dbf RECID=3875 STAMP=948015107
validation succeeded for archived log
archived log file name=/oradata/gqtzdb/archivelog/1_38_948016496.dbf RECID=3960 STAMP=948585123
validation succeeded for archived log
archived log file name=/oradata/gqtzdb/archivelog/1_39_948016496.dbf RECID=3962 STAMP=948585123
Crosschecked 5 objects RMAN> delete expired archivelog all; released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=288 device type=DISK
List of Archived Log Copies for database with db_unique_name GQTZDB
===================================================================== Key Thrd Seq S Low Time
------- ---- ------- - ---------
3870 1 173 X 30-JUN-17
Name: /oradata/gqtzdb/archivelog/1_173_946166147.dbf 3873 1 174 X 30-JUN-17
Name: /oradata/gqtzdb/archivelog/1_174_946166147.dbf 3875 1 175 X 30-JUN-17
Name: /oradata/gqtzdb/archivelog/1_175_946166147.dbf Do you really want to delete the above objects (enter YES or NO)? yes
deleted archived log
archived log file name=/oradata/gqtzdb/archivelog/1_173_946166147.dbf RECID=3870 STAMP=948015057
deleted archived log
archived log file name=/oradata/gqtzdb/archivelog/1_174_946166147.dbf RECID=3873 STAMP=948015107
deleted archived log
archived log file name=/oradata/gqtzdb/archivelog/1_175_946166147.dbf RECID=3875 STAMP=948015107
Deleted 3 EXPIRED objects RMAN> RMAN> crosscheck archivelog all; released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=288 device type=DISK
validation succeeded for archived log
archived log file name=/oradata/gqtzdb/archivelog/1_38_948016496.dbf RECID=3960 STAMP=948585123
validation succeeded for archived log
archived log file name=/oradata/gqtzdb/archivelog/1_39_948016496.dbf RECID=3962 STAMP=948585123
Crosschecked 2 objects

  再次备份成功。

ORA-19625: error identifying file XXXXX的更多相关文章

  1. ORA-19502: write error on file "xxxxx", block number xxxx

    错误现象: 在ORACLE 10g下为表空间IGNITE_EGVSQL01增加数据文件时,报如下错误: SQL> ALTER TABLESPACE IGNITE_EGVSQL01      AD ...

  2. ORA-19625: error identifying file

    问题描述:rman进行备份的时候,出现报错ORA-19625,无效的文件 1.进行数据库备份,然后就出现了报错,没有这个24号的归档日志 RMAN> run{ 2> allocate ch ...

  3. rac的一次问题 ORA-01565: error in identifying file '+DATA/bol/spfilebol.ora'

    昨天安装的测试环境的rac--2节点 CentOS release 6.8 (Final) SQL*Plus: Release 11.2.0.4.0 Production 今天测试突然出现问题 在ra ...

  4. 萌新笔记——git的问题(error: object file .git/objects/* is empty...)的解决方案及对git版本库文件的了解

    由于操作不当,导致git版本库出了大问题,如下所示: error: object file .git/objects/8b/61d0135d3195966b443f6c73fb68466264c68e ...

  5. MYSQL 5.7 无法启动(Could not open error log file errno 2)

    前两天电脑中毒, 病毒好像把mysql的 log.err 文件给删掉了.然后服务一直启动不了:Could not open error log file errno 2. 然后疯狂百度,搜索的结果大多 ...

  6. mariadb:InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes

    mariadb 启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 起因:线上正在运行的系统,因为需要调整性能,变更了my ...

  7. linux下解压大于4G文件提示error: Zip file too big错误的解决办法

    error: Zip file too big (greater than 4294959102 bytes)错误解决办法.zip文件夹大于4GB,在centos下无法正常unzip,需要使用第三方工 ...

  8. Nginx启动报错: could not open error log file: open() &q

    启动nginx报如下错误: nginx: [alert] could not open error log file: open() "/usr/local/nginx/logs/error ...

  9. 报错问题:InnoDB: Error: log file ./ib_logfile0 is of different size

    InnoDB: Error: log file ./ib_logfile0 is of different size bytesInnoDB: than specified in the .cnf f ...

随机推荐

  1. TensorFlow中卷积

    CNN中的卷积核及TensorFlow中卷积的各种实现 声明: 1. 我和每一个应该看这篇博文的人一样,都是初学者,都是小菜鸟,我发布博文只是希望加深学习印象并与大家讨论. 2. 我不确定的地方用了“ ...

  2. WIN32汇编语言中位图的使用

    说到位图.我们事实上非常早就接触过.从最早接触计算机,我们应该就知道有图片这个东西,然后再进一步说,图片在电脑上有好几种格式比方jpg. gif .png.pcx.bmp等等,当中bmp格式的图片文件 ...

  3. iis配置反向代理oss

    windows利用iis配置反向代理实现ECS内网互通oss IIS实现反向代理 新建两个站点,端口分别使用 80 和 81,在DNS中新建A记录,指向该计算机(10.4.34.41) 配置过程如下: ...

  4. 二分图之最小边覆盖(poj3020)

    题目:poj3020 题意:给出一个图,让你用最少的1*2的纸片覆盖掉图中的全部*出现过的地方. 基本裸的最小边覆盖. 分析: 最小边覆盖 = 点总数 - 最大匹配 所以就是转化为求最大匹配. 跟前面 ...

  5. 二叉苹果树 - 二叉树树型DP

    传送门 中文题面: 题目描述 有一棵苹果树,如果树枝有分叉,一定是分 2 叉(就是说没有只有 1 个儿子的结点,这棵树共有N 个结点(叶子点或者树枝分叉点),编号为1-N,树根编号一定是1. 我们用一 ...

  6. Java Web 实用返回结果封装

    实用的返回结果封装 使用示例 效果 Result ResultEnum 使用示例 /** * @Author: huangwenjun * @Description: * @Date: Created ...

  7. AnimatorSet和PropertyValuesHolders.ofKeyframe

    如果要多个动画配合工作,需要把他们放入AnimatorSet中 ObjectAnimator animator1 = ObjectAnimator.ofFloat(...); animator1.se ...

  8. delphi 10.2 创建并使用资源文件(一共22种格式,RCDATA是自定义格式)

    windows支持以下资源格式: 1 2 //下面是 Windows 支持的资源格式: RT_CURSOR = MakeIntResource(1); RT_BITMAP = MakeIntResou ...

  9. Winsock出错引起的断网

    背景 实验室有二十来台 PC 机,30+的服务器集群,网络拓扑比较复杂.简单地说,有网关连着校网,校网无法直接访问学校外的网络,只能通过拨 vpn 来实现外网访问.而校网最近也不稳定,时常断网. 今天 ...

  10. Codeforces 85B. Embassy Queue【段树、馋】

    标题效果: 每个人都应该申请签证必须向大使馆3种程序,而这3个步骤做的顺序是固定的.通过各种形式的手续给出多少,它需要对每个过程的处理时间,有多少人会来办理手续,什么时间来.要求的是全部人分别在大使馆 ...