归档日志被物理删除后执行rman操作报错:

RMAN> backup database plus archivelog;

Starting backup at -JUL- ::
current log archived
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID= device type=DISK
RMAN-: ===========================================================
RMAN-: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-: ===========================================================
RMAN-: failure of backup plus archivelog command at // ::
RMAN-: expected archived log not found, loss of archived log compromises recoverability
ORA-: error identifying file /home/oracle/arch/1_4_882107304.dbf
ORA-: unable to obtain file status
Linux-x86_64 Error: : No such file or directory
Additional information:

处理方法:(crosscheck 会将找不到的归档日志标记为expired状态)

RMAN> crosscheck archivelog all;

released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID= device type=DISK
validation failed for archived log
archived log file name=/home/oracle/arch/1_4_882107304.dbf RECID= STAMP=
validation failed for archived log
archived log file name=/home/oracle/arch/1_5_882107304.dbf RECID= STAMP=
validation failed for archived log
archived log file name=/home/oracle/arch/1_6_882107304.dbf RECID= STAMP=
validation failed for archived log
archived log file name=/home/oracle/arch/1_1_882110245.dbf RECID= STAMP=
validation failed for archived log
archived log file name=/home/oracle/arch/1_2_882110245.dbf RECID= STAMP=
validation succeeded for archived log
archived log file name=/home/oracle/arch/1_3_882110245.dbf RECID= STAMP=
Crosschecked objects RMAN> backup database plus archivelog;

此外,可以查看一下归档日志的状态:

SQL> select sequence#,
2 name,
3 status,
4 decode(status,'A','available','D','deleted','U','unavailable','X','expired')
5 from v$archived_log; SEQUENCE# NAME S DECODE(STAT
---------- ---------------------------------------- - -----------
4 /u01/app/oracle/oradata/yb1/redo01.log A available
5 /u01/app/oracle/oradata/yb1/redo02.log A available
6 /u01/app/oracle/oradata/yb1/redo03.log A available
4 /home/oracle/arch/1_4_882107304.dbf X expired
5 /home/oracle/arch/1_5_882107304.dbf X expired
6 /home/oracle/arch/1_6_882107304.dbf X expired
1 /home/oracle/arch/1_1_882110245.dbf X expired
2 /home/oracle/arch/1_2_882110245.dbf X expired
3 /home/oracle/arch/1_3_882110245.dbf A available
4 /home/oracle/arch/1_4_882110245.dbf A available
5 /home/oracle/arch/1_5_882110245.dbf A available 11 rows selected. SQL>

如果归档日志是被物理移动了位置,可以手动将归档日志注册进去:

RMAN> catalog start with '/xxx/xxx';#注册路径
RMAN> catalog archivelog '/home/oracle/arch/1_3_882110245.dbf';#注册具体归档日志

RMAN-06059: expected archived log not found, loss of archived log compromises recoverability的更多相关文章

  1. 【Caffe】利用log文件绘制loss和accuracy(转载)

    (原文地址:http://blog.csdn.net/liuweizj12/article/details/64920428) 在训练过程中画出accuracy 和loss曲线能够更直观的观察网络训练 ...

  2. git log命令全解析,打log还能这么随心所欲!

    git log命令非常强大而好用,在复杂系统的版本管理中扮演着重要的角色,但默认的git log命令显示出的东西实在太丑,不好好打扮一下根本没法见人,打扮好了用alias命令拍个照片,就正式出道了! ...

  3. 17.1.1.4 Obtaining the Replication Master Binary Log Coordinates 得到复制master binary log 位置:

    17.1.1.4 Obtaining the Replication Master Binary Log Coordinates 得到复制master binary log 位置: 你需要master ...

  4. 17.1.1.4 Obtaining the Replication Master Binary Log Coordinates 获取复制Master Binary Log的坐标:

    17.1.1.4 Obtaining the Replication Master Binary Log Coordinates 获取复制Master Binary Log的坐标: 你需要master ...

  5. log.error("异常:", e);与log.error(e.getMessage());区别

    转: log.error("异常:", e);与log.error(e.getMessage());区别 2017年04月28日 14:51:32 行走的soong 阅读数:120 ...

  6. 手动创建binary log files和手动编辑binary log index file会有什么影响

    基本环境:官方社区版MySQL 5.7.19 一.了解Binary Log结构 1.1.High-Level Binary Log Structure and Contents • Binlog包括b ...

  7. MySQL的redo log结构和SQL Server的log结构对比

    MySQL的redo log结构和SQL Server的log结构对比 innodb 存储引擎 mysql技术内幕 log buffer根据一定规则将内存中的log block刷写到磁盘,这个规则是 ...

  8. rest-assured 将log()中的信息打印到log日志中去的方法

    rest-assured 将log()中的信息打印到log日志中去的方法: ============方法1============== PrintStream fileOutPutStream = n ...

  9. MySQL必知必会:简介undo log、truncate、以及undo log如何帮你回滚事物

    目录 一.前言 二.undo log表空间 三.关于undo log默认的配置 四.如何将undo log放到单独的表空间 文章公众号首发,持续更新中 五.rollback segment 六.什么是 ...

随机推荐

  1. redis列表list

    Redis Rpush 命令  Redis 列表(List) Redis Rpush 命令用于将一个或多个值插入到列表的尾部(最右边). 如果列表不存在,一个空列表会被创建并执行 RPUSH 操作. ...

  2. 自动更新开奖数据的excel文件,供大家下载

    自动更新开奖数据的excel文件,供大家下载 2010-03-14 20:22 228492人阅读打印来源:乐彩网 作者:eren 很多人拥有自制excel电子表格,常要更新最基本的开奖信息.如有多期 ...

  3. Why Stored Procedures?

    http://www.w3resource.com/mysql/mysql-procedure.php Stored procedures are fast. MySQL server takes s ...

  4. Python For Data Analysis -- Pandas

    首先pandas的作者就是这本书的作者 对于Numpy,我们处理的对象是矩阵 pandas是基于numpy进行封装的,pandas的处理对象是二维表(tabular, spreadsheet-like ...

  5. uuu

    #include<stdio.h> int map[10][10]={0}; int step[30]={0}; int max=99999; int q; int ans[99]={0} ...

  6. android studio 编程中用到的快捷键

    1.Ctrl+Alt+T可以把代码包在一块内,例如try/catch Version:0.9 StartHTML:-1 EndHTML:-1 StartFragment:0000000111 EndF ...

  7. 【iTerm2】美化你的Terminal 赠佛祖像

    我们开发就是喜欢各种酷炫的东西,对于有洁癖的我,连命令行都不放过了 先上图看效果,命令行显示高亮部分 实现过程: 第一步:.bash_prompt脚本 # ~/.bash_prompt # This  ...

  8. SQL Server 触发器【转】

    触发器是一种特殊类型的存储过程,它不同于之前的我们介绍的存储过程.触发器主要是通过事件进行触发被自动调用执行的.而存储过程可以通过存储过程的名称被调用. Ø 什么是触发器 触发器对表进行插入.更新.删 ...

  9. Java迭代 : Iterator和Iterable接口

    从英文意思去理解 Iterable :故名思议,实现了这个接口的集合对象支持迭代,是可迭代的.able结尾的表示 能...样,可以做.... Iterator:   在英语中or 结尾是都是表示 .. ...

  10. ThreadPoolExecutor 分析

    一.从用法入手 Creates a thread pool that creates new threads as needed, but will reuse previously construc ...