zoukankan      html  css  js  c++  java
  • 【原创】rman备份出现ORA-19625

    [oracle@sunny stage]$ rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Sun Mar 18 17:21:22 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database: ORCL (DBID=1141870147)
     
    RMAN> backup archivelog all;
    Starting backup at 18-MAR-07
    current log archived
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 03/18/2007 17:52:42
    RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
    ORA-19625: error identifying file /u01/1_2_616734317.dbf
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
     
    原因在于操作系统下删除了这个归档日志,这个日志还没备份过,rman去备份的时候,找不到这个归档就出错了。可用以下方法解决:
     
    RMAN> change archivelog all crosscheck;
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=152 devtype=DISK
    validation succeeded for archived log
    archive log filename=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2007_02_12/o1_mf_1_1_2x01h9c2_.arc recid=1 stam
    p=614355305
    validation succeeded for archived log
    archive log filename=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2007_02_13/o1_mf_1_2_2x147xxt_.arc recid=2 stam
    p=614390912
    validation succeeded for archived log
    ......
    ......
    archive log Crosschecked 27 objects

    RMAN> backup archivelog all;
    Starting backup at 18-MAR-07
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=1 recid=14 stamp=616946466
    input archive log thread=1 sequence=3 recid=16 stamp=616947068
    input archive log thread=1 sequence=4 recid=17 stamp=617035270
    input archive log thread=1 sequence=5 recid=18 stamp=617068230
    input archive log thread=1 sequence=6 recid=19 stamp=617214283
    input archive log thread=1 sequence=7 recid=20 stamp=617236569
    input archive log thread=1 sequence=8 recid=21 stamp=617317844
    input archive log thread=1 sequence=9 recid=22 stamp=617365403
    input archive log thread=1 sequence=10 recid=23 stamp=617373909
    input archive log thread=1 sequence=11 recid=24 stamp=617388719
    input archive log thread=1 sequence=12 recid=25 stamp=617546548
    input archive log thread=1 sequence=13 recid=26 stamp=617562955
    input archive log thread=1 sequence=14 recid=27 stamp=617565160
    input archive log thread=1 sequence=15 recid=28 stamp=617565330
    channel ORA_DISK_1: starting piece 1 at 18-MAR-07
    channel ORA_DISK_1: finished piece 1 at 18-MAR-07
    piece handle=/stage/test/ORCL/backupset/2007_03_18/o1_mf_annnn_TAG20070318T175530_2zt34n86_.bkp tag=TAG20070318T175530 c
    omment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:36
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=1 recid=1 stamp=614355305
    input archive log thread=1 sequence=2 recid=2 stamp=614390912
    input archive log thread=1 sequence=3 recid=3 stamp=616178167
    input archive log thread=1 sequence=4 recid=4 stamp=616179332
    input archive log thread=1 sequence=5 recid=5 stamp=616337492
    input archive log thread=1 sequence=6 recid=6 stamp=616456995
    input archive log thread=1 sequence=7 recid=7 stamp=616458691
    input archive log thread=1 sequence=8 recid=10 stamp=616734185
    input archive log thread=1 sequence=9 recid=12 stamp=616734187
    input archive log thread=1 sequence=10 recid=11 stamp=616734186
    channel ORA_DISK_1: starting piece 1 at 18-MAR-07
    channel ORA_DISK_1: finished piece 1 at 18-MAR-07
    piece handle=/stage/test/ORCL/backupset/2007_03_18/o1_mf_annnn_TAG20070318T175530_2zt35rxm_.bkp tag=TAG20070318T175530 c
    omment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:26
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=1 recid=13 stamp=616734317
    channel ORA_DISK_1: starting piece 1 at 18-MAR-07
    channel ORA_DISK_1: finished piece 1 at 18-MAR-07
    piece handle=/stage/test/ORCL/backupset/2007_03_18/o1_mf_annnn_TAG20070318T175530_2zt36m4w_.bkp tag=TAG20070318T175530 c
    omment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 18-MAR-07
    备份成功
  • 相关阅读:
    LC 面试题56
    AspNet 执行存储过程带参数 and Entity Framework 之存储过程篇
    SQL中Charindex和Oracle中对应的函数Instr
    Spring MVC遭遇checkbox的问题解决方案
    Spring MVC 的 multipartResolver 不能同iWebOffice2006 共同使用
    Spring CommonsMultipartResolver 上传文件
    解决自定义文件上传处理与Spring MultipartResolver的冲突问题
    GooFlow
    js判断undefined类型
    mybatis generator tools配置文件解析
  • 原文地址:https://www.cnblogs.com/zhangxsh/p/3494525.html
Copyright © 2011-2022 走看看