标签云
asm恢复 bbed bootstrap$ dul In Memory kcbzib_kcrsds_1 kccpb_sanity_check_2 MySQL恢复 ORA-00312 ORA-00607 ORA-00704 ORA-00742 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)
- 操作系统 (103)
- 数据库 (1,716)
- DB2 (22)
- MySQL (74)
- Oracle (1,576)
- Data Guard (52)
- EXADATA (8)
- GoldenGate (24)
- ORA-xxxxx (160)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (15)
- ORACLE 21C (3)
- Oracle 23ai (8)
- Oracle ASM (68)
- Oracle Bug (8)
- Oracle RAC (54)
- Oracle 安全 (6)
- Oracle 开发 (28)
- Oracle 监听 (28)
- Oracle备份恢复 (575)
- Oracle安装升级 (94)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (81)
- PostgreSQL (18)
- PostgreSQL恢复 (6)
- SQL Server (28)
- SQL Server恢复 (9)
- TimesTen (7)
- 达梦数据库 (2)
- 生活娱乐 (2)
- 至理名言 (11)
- 虚拟化 (2)
- VMware (2)
- 软件开发 (37)
- Asp.Net (9)
- JavaScript (12)
- PHP (2)
- 小工具 (20)
-
最近发表
- 不当使用_allow_resetlogs_corruption参数引起ORA-600 2662错误
- CSSD signal 11 in thread clssnmRcfgMgrThread故障处理
- 使用sid方式直接访问pdb(USE_SID_AS_SERVICE_LISTENER)
- ORA-00069: cannot acquire lock — table locks disabled for xxxx
- ORA-600 [4000] [a]相关bug
- sql server数据库“正在恢复”故障处理
- 如何判断数据文件是否处于begin backup状态
- CDM备份缺少归档打开数据库报ORA-600 kcbzib_kcrsds_1故障处理
- ORA-07445: exception encountered: core dump [expgod()+43] [IN_PAGE_ERROR]
- 2025年第一起ORA-600 16703故障恢复
- _gc_undo_affinity=FALSE触发ORA-01558
- public授权语句
- 中文环境显示AR8MSWIN1256(阿拉伯语字符集)
- 处理 Oracle 块损坏
- Oracle各种类型坏块说明和处理
- fio测试io,导致磁盘文件系统损坏故障恢复
- ORA-742 写丢失常见bug记录
- Oracle 19c 202501补丁(RUs+OJVM)-19.26
- 避免 19c 数据库性能问题需要考虑的事项 (Doc ID 3050476.1)
- Bug 21915719 Database hang or may fail to OPEN in 12c IBM AIX or HPUX Itanium – ORA-742, DEADLOCK or ORA-600 [kcrfrgv_nextlwn_scn] ORA-600 [krr_process_read_error_2]
标签归档: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.其实这篇文章的本质不是展示恢复过程,而是再一次提醒:操作数据库慎重,特别是一台机器上多套库.