标签云
asm恢复 bbed bootstrap$ dul In Memory kcbzib_kcrsds_1 kccpb_sanity_check_2 kfed MySQL恢复 ORA-00312 ORA-00607 ORA-00704 ORA-01110 ORA-01555 ORA-01578 ORA-08103 ORA-600 2131 ORA-600 2662 ORA-600 2663 ORA-600 3020 ORA-600 4000 ORA-600 4137 ORA-600 4193 ORA-600 4194 ORA-600 16703 ORA-600 kcbzib_kcrsds_1 ORA-600 KCLCHKBLK_4 ORA-15042 ORA-15196 ORACLE 12C oracle dul ORACLE PATCH Oracle Recovery Tools oracle加密恢复 oracle勒索 oracle勒索恢复 oracle异常恢复 Oracle 恢复 ORACLE恢复 ORACLE数据库恢复 oracle 比特币 OSD-04016 YOUR FILES ARE ENCRYPTED 勒索恢复 比特币加密文章分类
- Others (2)
- 中间件 (2)
- WebLogic (2)
- 操作系统 (102)
- 数据库 (1,670)
- DB2 (22)
- MySQL (73)
- Oracle (1,532)
- Data Guard (52)
- EXADATA (8)
- GoldenGate (21)
- ORA-xxxxx (159)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (14)
- ORACLE 21C (3)
- Oracle 23ai (7)
- Oracle ASM (65)
- Oracle Bug (8)
- Oracle RAC (52)
- Oracle 安全 (6)
- Oracle 开发 (28)
- Oracle 监听 (28)
- Oracle备份恢复 (560)
- Oracle安装升级 (91)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (78)
- PostgreSQL (18)
- PostgreSQL恢复 (6)
- SQL Server (27)
- SQL Server恢复 (8)
- TimesTen (7)
- 达梦数据库 (2)
- 生活娱乐 (2)
- 至理名言 (11)
- 虚拟化 (2)
- VMware (2)
- 软件开发 (37)
- Asp.Net (9)
- JavaScript (12)
- PHP (2)
- 小工具 (20)
-
最近发表
- ORA-600 krse_arc_complete.4
- Oracle 19c 202410补丁(RUs+OJVM)
- ntfs MFT损坏(ntfs文件系统故障)导致oracle异常恢复
- .mkp扩展名oracle数据文件加密恢复
- 清空redo,导致ORA-27048: skgfifi: file header information is invalid
- A_H_README_TO_RECOVER勒索恢复
- 通过alert日志分析客户自行对一个数据库恢复的来龙去脉和点评
- ORA-12514: TNS: 监听进程不能解析在连接描述符中给出的SERVICE_NAME
- ORA-01092 ORA-00604 ORA-01558故障处理
- ORA-65088: database open should be retried
- Oracle 19c异常恢复—ORA-01209/ORA-65088
- ORA-600 16703故障再现
- 数据库启动报ORA-27102 OSD-00026 O/S-Error: (OS 1455)
- .[metro777@cock.li].Elbie勒索病毒加密数据库恢复
- 应用连接错误,初始化mysql数据库恢复
- RAC默认服务配置优先节点
- Oracle 19c RAC 替换私网操作
- 监听报TNS-12541 TNS-12560 TNS-00511错误
- drop tablespace xxx including contents恢复
- Linux 8 修改网卡名称
标签归档:ORA-600[KCLCHKBLK_4]
rac redo log file被意外覆盖数据库恢复
当前日志被覆盖导致错误
朋友的一客户在一套rac上包含了两个数据库,其其中一个库增加redo group时候,覆盖了另外一个库的redo,悲剧的是刚好是current redo
Wed May 16 17:03:05 2012 ALTER DATABASE OPEN This instance was first to open Wed May 16 17:03:09 2012 Beginning crash recovery of 2 threads parallel recovery started with 15 processes Wed May 16 17:03:11 2012 Started redo scan Wed May 16 17:03:11 2012 Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2040024.trc: ORA-00305: log 14 of thread 1 inconsistent; belongs to another database ORA-00312: online log 14 thread 1: '/dev/rods_redo1_2_2' ORA-00305: log 14 of thread 1 inconsistent; belongs to another database ORA-00312: online log 14 thread 1: '/dev/rods_redo1_2_1' Abort recovery for domain 0 Wed May 16 17:03:11 2012 Aborting crash recovery due to error 305 Wed May 16 17:03:11 2012 Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2040024.trc: ORA-00305: log 14 of thread 1 inconsistent; belongs to another database ORA-00312: online log 14 thread 1: '/dev/rods_redo1_2_2' ORA-00305: log 14 of thread 1 inconsistent; belongs to another database ORA-00312: online log 14 thread 1: '/dev/rods_redo1_2_1' ORA-305 signalled during: ALTER DATABASE OPEN... Wed May 16 17:03:13 2012 Shutting down instance (abort)
使用_allow_resetlogs_corruption= TRUE进行恢复
Wed May 16 18:16:48 2012 SMON: enabling cache recovery Wed May 16 18:16:48 2012 Instance recovery: looking for dead threads Instance recovery: lock domain invalid but no dead threads Wed May 16 18:16:48 2012 Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2105454.trc: ORA-00600: internal error code, arguments: [kclchkblk_4], [2522], [18446744072024280773], [2522], [18446744072024247666], [], [], [] Wed May 16 18:16:50 2012 Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2105454.trc: ORA-00600: internal error code, arguments: [kclchkblk_4], [2522], [18446744072024280773], [2522], [18446744072024247666], [], [], [] Wed May 16 18:16:50 2012 Error 600 happened during db open, shutting down database USER: terminating instance due to error 600 Instance terminated by USER, pid = 2105454 ORA-1092 signalled during: alter database open resetlogs...
ORA-600[KCLCHKBLK_4], is signaled because the SCN in a tempfile block is too high.
The same reason caused the ORA-600[2662]s in the alert logs.
因为是临时文件的scn太大的问题,那就比较好解决:
启动数据库到mount状态,查询出来相关temp file,然后drop掉.
ORA-00600[6856]
Wed May 16 20:25:16 2012 Errors in file /oracle/admin/odsdb/bdump/odsdb1_smon_2482210.trc: ORA-00339: archived log does not contain any redo ORA-00334: archived log: '/dev/rods_redo2_1_1' ORA-00600: internal error code, arguments: [6856], [0], [0], [], [], [], [], [] ORACLE Instance odsdb1 (pid = 16) - Error 600 encountered while recovering transaction (10, 8) on object 7162533. Wed May 16 20:25:16 2012 Errors in file /oracle/admin/odsdb/bdump/odsdb1_smon_2482210.trc: ORA-00600: internal error code, arguments: [6856], [0], [0], [], [], [], [], []
这里的4193和4194是比较熟悉的,根据这里的提示猜测6856也是和undo有关系
ORA-600[6856]SMON is trying to recover a dead transaction.
But the undo application runs into an internal error (trying to delete a row that is already deleted).
因为smon回滚的时候出现上面错误,解决方法是想办法终止回滚,使用event=”10513 trace name context forever, level 2″.
ORA-00600[4193]/ORA-00600[4194]
Wed May 16 20:25:17 2012 Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2547936.trc: ORA-00339: archived log does not contain any redo ORA-00334: archived log: '/dev/rods_redo2_1_1' ORA-00600: internal error code, arguments: [4194], [22], [25], [], [], [], [], [] Wed May 16 20:25:18 2012 Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2547936.trc: ORA-00339: archived log does not contain any redo ORA-00334: archived log: '/dev/rods_redo2_1_1' ORA-00600: internal error code, arguments: [4194], [22], [25], [], [], [], [], [] Wed May 16 20:25:56 2012 Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2547936.trc: ORA-00600: internal error code, arguments: [4193], [22248], [22252], [], [], [], [], []
太常见错误,不再做说明,虽然使用event是的库open成功,因为部分回滚段有问题,该错误还是会出现(还是喜欢直接屏蔽回滚段)
ORA-00600[ktpridestroy2]
Wed May 16 20:36:26 2012 Errors in file /oracle/admin/odsdb/bdump/odsdb1_smon_2101296.trc: ORA-00600: internal error code, arguments: [ktpridestroy2], [], [], [], [], [], [], []
This error could be the result of a corruption and involves the parallel rollback that SMON enables each startup.
解决:fast_start_parallel_rollback=false
ORA-00600[kturacf1]/ORA-00600[kcbgcur_9]
Wed May 16 20:49:15 2012 Errors in file /oracle/admin/odsdb/bdump/odsdb1_j000_2007088.trc: ORA-00600: internal error code, arguments: [kturacf1], [2097152], [], [], [], [], [], [] ORA-00600: internal error code, arguments: [kcbgcur_9], [780140563], [4], [4294959056], [2097152], [], [], []
ORA-00600[kturacf1]错误未查询到原因
ORA-00600[kcbgcur_9]错误原因可能是:Buffers are pinned in a specific class order to prevent internal deadlocks.
因为这两个错误是job产生非致命错误,在这次的处理过程中可以忽略
ORA-00600[4097]
Wed May 16 21:05:05 2012 Errors in file /oracle/admin/odsdb/bdump/odsdb1_j000_1716282.trc: ORA-12012: error on auto execute of job 6603 ORA-20001: ORA-00600: internal error code, arguments: [4097], [], [], [], [], [], [], [] ORA-06512: at "EPBI.UP_SYSLOG_ONLINE_USER", line 141 ORA-00600: internal error code, arguments: [4097], [], [], [], [], [], [], []
When an instance has a rollback segment offline and the instance crashes, or
the user does a shutdown abort, the rollback segment wrap number does not get
updated. If that segment is then dropped and recreated immediately after the
instance is restarted, the wrap number could be lower than existing wrap
numbers. This will cause the ORA-600[4097] to occur in subsequent
transactions using Rollback.
这个错误也是因为回滚段wrap number未被及时更新导致的异常.
总结这次恢复过程
1.因当前redo丢失,使用隐含参数打开库,然后出现ORA-600[KCLCHKBLK_4](这个错误比较少见,更何况这个库是10.2.0.4)
2.undo出现问题出现ORA-00600[6856]错误不是很多见
3.接下来都是一些列undo导致的问题,其实如果开始就直接使用隐含参数删除掉有问题回滚段,效果可能会比event好.
4.因为部分trace文件没有拿到,未做深入分析,文章列出整体恢复思路
5.本次恢复的数据库版本是10.2.0.4,根据mos描述,很多错误应不会发生,但是实际还是发生了,MOS的版本范围,不要太看重.
6.其实这篇文章的本质不是展示恢复过程,而是再一次提醒:操作数据库慎重,特别是一台机器上多套库.