重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1133|回复: 0
打印 上一主题 下一主题

[Oracle] ORA-19599 When Backing up an Archivelog that is Corrupt

[复制链接]
跳转到指定楼层
楼主
发表于 2024-1-10 09:49:18 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
现象:
Getting error when backing up archivelogs:

RMAN-03015: error occurred in stored script backup_al_all_tape_dwdb2
RMAN-03009: failure of backup command on t1 channel at 10/03/2007 12:29:13
ORA-19599: block number 2181011 is corrupt in archived log /<path>/<SID>_2_9482.arc

原因:
Oracle through RMAN is finding corruption in the archivelog file '/<path>/<SID>_2_9482.arc'.


处理方法:
RMAN can be used to check archivelogs for corruption.

1) Validate all archivelogs for corruption:

RMAN> validate archivelog all;
2) Move any corrupted archivelog to a temporary directory using an operating system command such as cp.  For example:

$ mv /<path>/<SID>_2_9482.arc /tmp/
If archivelog files are on ASM, the following can be used:
How to Move a Datafile from Filesystem to ASM Using ASMCMD CP Command. (Doc ID 1610615.1)

3) Once the archivelog files is not residing in expected location, run the crosscheck command in RMAN to mark it as expired.

RMAN> crosscheck copy of archivelog all ;

Or

RMAN> crosscheck archivelog '<Path and name of corrupted archivelog>' ;   <== by full path and name
RMAN> crosscheck archivelog sequence 9482 thread 2;     <== by sequence and thread numbers

4) Re-execute the archivelog backup

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-25 07:12 , Processed in 0.089381 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表