RMAN-06059: expected archived log not found, loss of archived log compromises recoverability
归档日志被物理删除后执行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的更多相关文章
- 【Caffe】利用log文件绘制loss和accuracy(转载)
(原文地址:http://blog.csdn.net/liuweizj12/article/details/64920428) 在训练过程中画出accuracy 和loss曲线能够更直观的观察网络训练 ...
- git log命令全解析,打log还能这么随心所欲!
git log命令非常强大而好用,在复杂系统的版本管理中扮演着重要的角色,但默认的git log命令显示出的东西实在太丑,不好好打扮一下根本没法见人,打扮好了用alias命令拍个照片,就正式出道了! ...
- 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 ...
- 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 ...
- log.error("异常:", e);与log.error(e.getMessage());区别
转: log.error("异常:", e);与log.error(e.getMessage());区别 2017年04月28日 14:51:32 行走的soong 阅读数:120 ...
- 手动创建binary log files和手动编辑binary log index file会有什么影响
基本环境:官方社区版MySQL 5.7.19 一.了解Binary Log结构 1.1.High-Level Binary Log Structure and Contents • Binlog包括b ...
- MySQL的redo log结构和SQL Server的log结构对比
MySQL的redo log结构和SQL Server的log结构对比 innodb 存储引擎 mysql技术内幕 log buffer根据一定规则将内存中的log block刷写到磁盘,这个规则是 ...
- rest-assured 将log()中的信息打印到log日志中去的方法
rest-assured 将log()中的信息打印到log日志中去的方法: ============方法1============== PrintStream fileOutPutStream = n ...
- MySQL必知必会:简介undo log、truncate、以及undo log如何帮你回滚事物
目录 一.前言 二.undo log表空间 三.关于undo log默认的配置 四.如何将undo log放到单独的表空间 文章公众号首发,持续更新中 五.rollback segment 六.什么是 ...
随机推荐
- Web 在线文件管理器学习笔记与总结(13)重命名文件夹(14)复制文件夹
(13)重命名文件夹 ① 重命名文件夹通过 rename($oldname,$newname) 实现 ② 检测文件夹名是否符合规范 ③ 检测当前目录中是否存在同名文件夹名称,如果不存在则重命名成功 i ...
- web-content和web-info目录问题
1.资源文件只能放在WebContent下面,如 CSS,JS,image等.放在WEB-INF下引用不了. 2.页面放在WEB-INF目录下面,这样可以限制访问,提高安全性.如JSP,html 3. ...
- php实现多线程
php实现多线程 感谢 3lian8 的投递 时间:2014-01-21 来源:三联教程 有没有办法在php中实现多线程呢?假设你正在写一个基于多台服务器的php应用,理想的情况时同时向多台服务器发送 ...
- java 操作数据库
package foo;import java.sql.*; public class JdbcDemo { private static Connection conn; private stati ...
- java Direct Buffer
public static ByteBuffer allocate (int capacity) //性能低于下面的Direct,因为是把内存建立在JVM堆上,容易被GC回收,可能需要多次 ...
- jframe去掉窗体
jframe 去掉最大化 怎样去除JFrame上的三个按钮(最大化,最小化,关闭) myjframe.getRootPane().setWindowDecorationStyle(JRootPane. ...
- js文档视口高度函数
objwin=window;objBody=document.body;objDel=document.documentElement; 关于弹窗时候用到 function getPageHeig ...
- iOS开发之Objective-c的MD5/SHA1加密算法的实现
Objective-c实现MD5和SHA1算法相对还是比较简单的,可以直接调用系统的C/C++共享库来实现调用 MD5即Message Digest Algorithm 5(信息-摘要算法 5),用于 ...
- javaScript没有块级作用域
1.如下,变量i,j,k 的作用域是相同的. function test(obj){ var i= 0; if(typeof obj == "object"){ var j = 0 ...
- xcode5 和code6中push后方法执行的先后问题
在xocde5中 执行的顺序是 prepareForSegue .viewDidLoad. didSelectRowAtIndexPath,在xcode6中 执行的顺序是 prepareForSe ...