标签云
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 修改网卡名称
标签归档:_kews_idle_wait
win强制修改盘符导致oracle异常恢复
有客户反馈,他们在系统没有关闭数据库的情况下,强制修改了win系统盘符,然后导致数据库异常,启动报错
Sat Feb 25 12:50:40 2023 Recovery of Online Redo Log: Thread 1 Group 2 Seq 10440 Reading mem 0 Mem# 0 errs 0: G:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG Sat Feb 25 12:50:40 2023 Completed redo application Sat Feb 25 12:50:40 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_p001_5604.trc: ORA-00600: 内部错误代码, 参数: [2037], [25801018], [2973409798], [6], [255], [25], [1198764346], [100796692] Sat Feb 25 12:50:40 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_7648.trc: ORA-07445: 出现异常错误: 核心转储 [ACCESS_VIOLATION][_kslwlmod+166][PC:0x469742][ADDR:0x54F8][UNABLE_TO_WRITE][] ORA-04096: 触发器 '' 的 WHEN 子句过大, 限量为 2K Sat Feb 25 12:50:40 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_7252.trc: ORA-00600: internal error code, arguments: [ksuapc2], [258], [0], [2], [1], [2], [], [] Sat Feb 25 12:50:43 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_p001_5604.trc: ORA-00081: 地址范围 [0x77240440, 0x77240444) 不可读 ORA-07445: 出现异常错误: 核心转储 [ACCESS_VIOLATION][_ksl_cleanup+723][PC:0x46E373][ADDR:0x1C][UNABLE_TO_READ][] ORA-00081: 地址范围 [0x77240440, 0x77240444) 不可读 ORA-00600: 内部错误代码, 参数: [2037], [25801018], [2973409798], [6], [255], [25], [1198764346], [100796692] Sat Feb 25 12:50:45 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_dbw0_6332.trc: ORA-07445: ??????: ???? [ACCESS_VIOLATION][_kews_idle_wait+378][PC:0x604AE6][ADDR:0xED30C470][UNABLE_TO_WRITE][] Sat Feb 25 12:50:48 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_7648.trc: ORA-00600: 内部错误代码, 参数: [kslwlflux:1], [0xAB805400], [0x549C], [2], [], [], [], [] ORA-00081: 地址范围 [0x74480443, 0x74480447) 不可读 ORA-00600: 内部错误代码, 参数: [kslwlflux:1], [0xAB805400], [0x549C], [2], [], [], [], [] ORA-00081: 地址范围 [0x74480443, 0x74480447) 不可读 ORA-00600: 内部错误代码, 参数: [kslwlflux:1], [0xAB805400], [0x549C], [2], [], [], [], [] ORA-00081: 地址范围 [0x74480443, 0x74480447) 不可读 ORA-00600: 内部错误代码, 参数: [kslwlflux:1], [0xAB805400], [0x549C], [2], [], [], [], [] ORA-00081: 地址范围 [0x74480443, 0x74480447) 不可读 ORA-00600: 内部错误代码, 参数: [kslwlflux:1], [0xAB805400], [0x549C], [2], [], [], [], [] ORA-00081: 地址范围 [0x74480443, 0x74480447) 不可读 ORA-00600: 内部错误代码, 参数: [kslwlflux:1], [0xAB805400], [0x549C], [2], [], [], [], [] ORA-00081: 地址范围 [0x74480443, 0x74480447) 不可读 ORA-00600: 内部错误代码, 参数: [kslwlflux:1], [0xAB805400], [0x549C], [2], [], [], [], [] ORA-00081: 地址范围 [0x74480443, 0x74480447) 不可读 ORA-00600: 内部错误代码, 参 Sat Feb 25 12:51:34 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_d000_8116.trc: ORA-07445: ??????: ???? [ACCESS_VIOLATION][_kmcgms+121][PC:0x5D6C71][ADDR:0x50][UNABLE_TO_WRITE][] Sat Feb 25 12:52:04 2023 USER: terminating instance due to error 472 Sat Feb 25 12:52:48 2023 USER: terminating instance due to error 472 Sat Feb 25 12:52:48 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_6252.trc: ORA-07445: exception encountered: core dump [ACCESS_VIOLATION][_ksuitm+631][PC:0x410C07][ADDR:0x1][UNABLE_TO_READ][] Sat Feb 25 12:55:35 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_smon_7656.trc: ORA-07445: ??????: ???? [ACCESS_VIOLATION][_kews_idle_wait+378][PC:0x604AE6][ADDR:0xE530C470][UNABLE_TO_WRITE][]
通过恢复一些恢复之后,数据库open之后又挂掉
Sat Feb 25 15:05:49 2023 SMON: enabling tx recovery Sat Feb 25 15:05:49 2023 Database Characterset is ZHS16GBK Sat Feb 25 15:05:50 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_5308.trc: ORA-00600: 内部错误代码, 参数: [4194], [34], [31], [], [], [], [], [] Sat Feb 25 15:05:50 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_smon_7568.trc: ORA-00600: 内部错误代码, 参数: [kcbgtcr_13], [], [], [], [], [], [], [] Sat Feb 25 15:05:51 2023 Non-fatal internal error happenned while SMON was doing logging scn->time mapping. SMON encountered 1 out of maximum 100 non-fatal internal errors. Sat Feb 25 15:05:51 2023 Doing block recovery for file 2 block 2951 Block recovery from logseq 10441, block 78 to scn 109906860017 Sat Feb 25 15:05:51 2023 Recovery of Online Redo Log: Thread 1 Group 3 Seq 10441 Reading mem 0 Mem# 0 errs 0: G:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG Block recovery stopped at EOT rba 10441.81.16 Block recovery completed at rba 10441.81.16, scn 25.2532677517 Doing block recovery for file 2 block 113 Block recovery from logseq 10441, block 78 to scn 109906859718 Sat Feb 25 15:05:52 2023 Recovery of Online Redo Log: Thread 1 Group 3 Seq 10441 Reading mem 0 Mem# 0 errs 0: G:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG Block recovery completed at rba 10441.80.16, scn 25.2532677516 replication_dependency_tracking turned off (no async multimaster replication found) Starting background process QMNC QMNC started with pid=30, OS id=6904 Sat Feb 25 15:05:53 2023 db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a user-specified limit on the amount of space that will be used by this database for recovery-related files, and does not reflect the amount of space available in the underlying filesystem or ASM diskgroup. Sat Feb 25 15:05:53 2023 Completed: alter database open Sat Feb 25 15:05:53 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j000_5400.trc: ORA-00600: 内部错误代码, 参数: [4194], [6], [4], [], [], [], [], [] Sat Feb 25 15:05:54 2023 DEBUG: Replaying xcb 0xac458698, pmd 0x8d7e9b9c for failed op 8 Doing block recovery for file 2 block 1515 No block recovery was needed Sat Feb 25 15:05:55 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j000_5400.trc: ORA-00600: 内部错误代码, 参数: [4194], [6], [4], [], [], [], [], [] ORA-00600: 内部错误代码, 参数: [4194], [6], [4], [], [], [], [], [] Sat Feb 25 15:05:56 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j000_5400.trc: ORA-00603: ORACLE server session terminated by fatal error ORA-00600: internal error code, arguments: [4194], [6], [4], [], [], [], [], [] ORA-00600: internal error code, arguments: [4194], [6], [4], [], [], [], [], [] Sat Feb 25 15:05:57 2023 Doing block recovery for file 2 block 2951 Block recovery from logseq 10441, block 78 to scn 109906860017 Sat Feb 25 15:05:57 2023 Recovery of Online Redo Log: Thread 1 Group 3 Seq 10441 Reading mem 0 Mem# 0 errs 0: G:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG Block recovery completed at rba 10441.81.16, scn 25.2532677620 Doing block recovery for file 2 block 113 Block recovery from logseq 10441, block 78 to scn 109906860083 Sat Feb 25 15:05:57 2023 Recovery of Online Redo Log: Thread 1 Group 3 Seq 10441 Reading mem 0 Mem# 0 errs 0: G:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG Block recovery completed at rba 10441.138.16, scn 25.2532677684 Sat Feb 25 15:05:57 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j003_1716.trc: ORA-12012: 自动执行作业 42568 出错 ORA-00607: 当更改数据块时出现内部错误 ORA-00607: 当更改数据块时出现内部错误 Sat Feb 25 15:05:59 2023 Flush retried for xcb 0xac4c5a80, pmd 0x8c0cec74 Doing block recovery for file 2 block 2951 Block recovery from logseq 10441, block 78 to scn 109906860017 Sat Feb 25 15:05:59 2023 Recovery of Online Redo Log: Thread 1 Group 3 Seq 10441 Reading mem 0 Mem# 0 errs 0: G:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG Sat Feb 25 15:05:59 2023 DEBUG: Replaying xcb 0xac458698, pmd 0x8d7e9b9c for failed op 8 Doing block recovery for file 2 block 1515 No block recovery was needed Sat Feb 25 15:05:59 2023 Block recovery completed at rba 10441.81.16, scn 25.2532677620 Sat Feb 25 15:06:00 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j002_6400.trc: ORA-00600: internal error code, arguments: [4194], [6], [4], [], [], [], [], [] Sat Feb 25 15:06:02 2023 DEBUG: Replaying xcb 0xac458698, pmd 0x8d7e9b9c for failed op 8 Doing block recovery for file 2 block 1515 No block recovery was needed Sat Feb 25 15:06:02 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_pmon_1076.trc: ORA-00600: 内部错误代码, 参数: [4194], [6], [4], [], [], [], [], [] Sat Feb 25 15:06:03 2023 PMON: terminating instance due to error 472 Sat Feb 25 15:06:03 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j007_7188.trc: ORA-00472: PMON 进程因错误而终止 Sat Feb 25 15:06:03 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j006_7624.trc: ORA-00472: PMON 进程因错误而终止 Sat Feb 25 15:06:03 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j005_5688.trc: ORA-00472: PMON process terminated with error Sat Feb 25 15:06:10 2023 Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_smon_7568.trc: ORA-00472: PMON 进程因错误而终止 Instance terminated by PMON, pid = 1076
这个ORA-600 4194错误主要是由于undo异常,从而引起pmon异常,报ORA-00472错误.对undo进行处理,数据库稳定open,逻辑导出数据,完成恢复工作,完美帮忙客户恢复数据.
发表在 Oracle备份恢复
标签为 ksuapc2, ORA-00081, ORA-00472, ORA-600 2037, ORA-600 4194, _kews_idle_wait, _kmcgms, _kslwlmod, _ksuitm
评论关闭
记录正常open库报ORA-600 2662
数据库版本10.2.0.3 32位
SQL> select * from v$version; BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod PL/SQL Release 10.2.0.3.0 - Production CORE 10.2.0.3.0 Production TNS for 32-bit Windows: Version 10.2.0.3.0 - Production NLSRTL Version 10.2.0.3.0 - Production
数据库启动alert日志报大量ORA-600和ORA-07445错误
Tue Jul 31 09:56:45 2018 Started redo application at Thread 1: logseq 7593, block 46691 Tue Jul 31 09:56:45 2018 Recovery of Online Redo Log: Thread 1 Group 2 Seq 7593 Reading mem 0 Mem# 0: E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG Tue Jul 31 09:56:45 2018 RECOVERY OF THREAD 1 STUCK AT BLOCK 779 OF FILE 2 Tue Jul 31 09:56:45 2018 RECOVERY OF THREAD 1 STUCK AT BLOCK 4430 OF FILE 2 Tue Jul 31 09:56:45 2018 Hex dump of (file 3, block 23704) in trace file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_p002_248.trc Corrupt block relative dba: 0x00c05c98 (file 3, block 23704) Fractured block found during crash/instance recovery Data in bad block: type: 6 format: 2 rdba: 0x00c05c98 last change scn: 0x0000.05c3cad2 seq: 0x16 flg: 0x06 spare1: 0x0 spare2: 0x0 spare3: 0x0 consistency value in tail: 0xe4be0601 check value in block header: 0x5c03 computed block checksum: 0x2e7b Tue Jul 31 09:56:45 2018 Completed redo application Tue Jul 31 09:56:46 2018 Reread of rdba: 0x00c05c98 (file 3, block 23704) found same corrupted data RECOVERY OF THREAD 1 STUCK AT BLOCK 40841 OF FILE 8 Tue Jul 31 09:56:46 2018 RECOVERY OF THREAD 1 STUCK AT BLOCK 297 OF FILE 2 Tue Jul 31 09:56:46 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_p002_248.trc: ORA-00600: internal error code, arguments: [kssadpm1], [], [], [], [], [], [], [] Tue Jul 31 09:56:46 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_p001_2320.trc: ORA-00600: internal error code, arguments: [545], [0xCA15AE84], [3], [16], [], [], [], [] ORA-00600: internal error code, arguments: [545], [0xCA15AE84], [3], [16], [], [], [], [] ORA-00600: internal error code, arguments: [545], [0xCA15AE84], [3], [16], [], [], [], [] ORA-00600: internal error code, arguments: [545], [0xCA15AE84], [3], [8], [], [], [], [] Tue Jul 31 09:56:46 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_p004_2116.trc: ORA-00600: internal error code, arguments: [kssdmc: null so], [], [], [], [], [], [], [] ORA-00600: internal error code, arguments: [kssdmc: null so], [], [], [], [], [], [], [] ORA-00600: internal error code, arguments: [kssdmc: null so], [], [], [], [], [], [], [] ORA-00600: internal error code, arguments: [kssdmc: null so], [], [], [], [], [], [], [] ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x7C3429C1] [ADDR:0xCA800000] [UNABLE_TO_READ] [] Tue Jul 31 09:56:46 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_p000_220.trc: ORA-00600: internal error code, arguments: [ksfdchkfobrerr1], [0xBB9852DC], [0xA7EC530C], [], [], [], [], [] Tue Jul 31 09:56:46 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_p003_252.trc: ORA-00600: internal error code, arguments: [kssrc_test_cleanup:popall], [0xCA000304], [], [], [], [], [], [] Tue Jul 31 09:56:46 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_p001_228.trc: ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_kghalf+895] [PC:0x603BEBF3] [ADDR:0xFFFFFFF8] [UNABLE_TO_READ] [] Tue Jul 31 09:56:46 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_lgwr_1848.trc: ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_ksarcv+243] [PC:0x5B2223] [ADDR:0x206C000C] [UNABLE_TO_READ] [] Tue Jul 31 09:56:47 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_p000_220.trc: ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_kslwlmod+166] [PC:0x46946A] [ADDR:0x54F8] [UNABLE_TO_WRITE] [] ORA-00081: address range [0x75C80047, 0x75C8004B) is not readable ORA-00600: internal error code, arguments: [ksfdchkfobrerr1], [0xBB9852DC], [0xA7EC530C], [], [], [], [], [] Tue Jul 31 09:56:47 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_ckpt_1852.trc: ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_kcbs_dump_adv_state+471] [PC:0x59B403] [ADDR:0xCC60CBAD] [UNABLE_TO_READ] [] ORA-00600: internal error code, arguments: [kssrc_test_cleanup:popall], [0xCA000304], [], [], [], [], [], [] Tue Jul 31 09:56:47 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_pmon_1828.trc: ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_kews_idle_wait+378] [PC:0x60BE2E] [ADDR:0x1820D468] [UNABLE_TO_WRITE] [] Tue Jul 31 09:56:47 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_p004_236.trc: ORA-00081: address range [0x75C80041, 0x75C80045) is not readable ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x7C3429C1] [ADDR:0xCA800000] [UNABLE_TO_READ] []
检查主要坏块
主要影响数据库恢复的坏块,system不言而喻,block 2也比较敏感
E:\>dbv file=E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\TTTS.DAT DBVERIFY: Release 10.2.0.3.0 - Production on 星期三 8月 1 00:24:52 2018 Copyright (c) 1982, 2005, Oracle. All rights reserved. DBVERIFY - 开始验证: FILE = E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\TTTS.DAT 页 2 流入 - 很可能是介质损坏 Corrupt block relative dba: 0x02000002 (file 8, block 2) Fractured block found during dbv: Data in bad block: type: 29 format: 2 rdba: 0x02000002 last change scn: 0x0000.05c45a54 seq: 0x2 flg: 0x04 spare1: 0x0 spare2: 0x0 spare3: 0x0 consistency value in tail: 0x9e601d02 check value in block header: 0xea86 computed block checksum: 0xc434 DBVERIFY - 验证完成 检查的页总数: 121600 处理的页总数 (数据): 58606 失败的页总数 (数据): 0 处理的页总数 (索引): 45192 失败的页总数 (索引): 0 处理的页总数 (其它): 4453 处理的总页数 (段) : 0 失败的总页数 (段) : 0 空的页总数: 13348 标记为损坏的总页数: 1 流入的页总数: 1 最高块 SCN : 96716847 (0.96716847) E:\>dbv FILE = E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF DBVERIFY: Release 10.2.0.3.0 - Production on 星期三 8月 1 00:28:28 2018 Copyright (c) 1982, 2005, Oracle. All rights reserved. DBVERIFY - 开始验证: FILE = E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF 页 68377 流入 - 很可能是介质损坏 Corrupt block relative dba: 0x00410b19 (file 1, block 68377) Fractured block found during dbv: Data in bad block: type: 6 format: 2 rdba: 0x00410b19 last change scn: 0x0000.05c45bdf seq: 0x1 flg: 0x06 spare1: 0x0 spare2: 0x0 spare3: 0x0 consistency value in tail: 0x4f3b0601 check value in block header: 0x465b computed block checksum: 0x11c7 DBV-00200: 块 dba 4262777 已标记为损坏 DBVERIFY - 验证完成 检查的页总数: 74240 处理的页总数 (数据): 46209 失败的页总数 (数据): 0 处理的页总数 (索引): 9729 失败的页总数 (索引): 0 处理的页总数 (其它): 1923 处理的总页数 (段) : 0 失败的总页数 (段) : 0 空的页总数: 16378 标记为损坏的总页数: 2 流入的页总数: 1 最高块 SCN : 96757289 (0.96757289)
尝试recover数据库,open数据库
E:\>sqlplus / as sysdba SQL*Plus: Release 10.2.0.3.0 - Production on 星期二 7月 31 15:40:05 2018 Copyright (c) 1982, 2006, Oracle. All Rights Reserved. 连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production With the Partitioning, OLAP and Data Mining options SQL> recover database; 完成介质恢复。 SQL> alter database open; 数据库已更改。
数据库报ORA-600 2662错误
该数据库没有增加隐含隐含参数(屏蔽一致性,屏蔽事务),数据库直接启动之后报ORA-600 2662
Tue Jul 31 15:40:15 2018 SMON: enabling cache recovery Tue Jul 31 15:40:16 2018 Successfully onlined Undo Tablespace 1. Tue Jul 31 15:40:16 2018 SMON: enabling tx recovery Tue Jul 31 15:40:16 2018 Database Characterset is ZHS16GBK replication_dependency_tracking turned off (no async multimaster replication found) Starting background process QMNC QMNC started with pid=32, OS id=1152 Tue Jul 31 15:40:17 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_smon_1288.trc: ORA-00600: internal error code, arguments: [2662], [0], [96736891], [0], [96752794], [4264138], [], [] Tue Jul 31 15:40:18 2018 Non-fatal internal error happenned while SMON was doing logging scn->time mapping. SMON encountered 1 out of maximum 100 non-fatal internal errors. Tue Jul 31 15:40:18 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_smon_1288.trc: ORA-00600: internal error code, arguments: [2662], [0], [96736892], [0], [96752794], [4264138], [], [] Non-fatal internal error happenned while SMON was doing extent coalescing. SMON encountered 3 out of maximum 100 non-fatal internal errors. Tue Jul 31 15:40:19 2018 db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a user-specified limit on the amount of space that will be used by this database for recovery-related files, and does not reflect the amount of space available in the underlying filesystem or ASM diskgroup. Hex dump of (file 8, block 2) in trace file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mmon_1740.trc Corrupt block relative dba: 0x02000002 (file 8, block 2) Fractured block found during buffer read Data in bad block: type: 29 format: 2 rdba: 0x02000002 last change scn: 0x0000.05c45a54 seq: 0x2 flg: 0x04 spare1: 0x0 spare2: 0x0 spare3: 0x0 consistency value in tail: 0x9e601d02 check value in block header: 0xea86 computed block checksum: 0xc434 Reread of rdba: 0x02000002 (file 8, block 2) found same corrupted data Tue Jul 31 15:40:20 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_smon_1288.trc: ORA-00600: internal error code, arguments: [2662], [0], [96736902], [0], [96752794], [4264138], [], [] Tue Jul 31 15:40:20 2018 Completed: alter database open Tue Jul 31 15:40:20 2018 Non-fatal internal error happenned while SMON was doing extent coalescing. SMON encountered 4 out of maximum 100 non-fatal internal errors. Tue Jul 31 15:40:21 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_smon_1288.trc: ORA-00600: internal error code, arguments: [2662], [0], [96736922], [0], [96752794], [4264138], [], [] Non-fatal internal error happenned while SMON was doing extent coalescing. SMON encountered 5 out of maximum 100 non-fatal internal errors. Tue Jul 31 15:40:22 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j000_1076.trc: ORA-00600: 内部错误代码, 参数: [2662], [0], [96736954], [0], [96754130], [12615382], [], [] Tue Jul 31 15:40:22 2018 DEBUG: Replaying xcb 0xbba2d2e4, pmd 0xab1920fc for failed op 8 Reconstructing Uhdr 0x800019 for xcb 0xbba2d2e4, pmd 0xab1920fc Doing block recovery for file 2 block 25 Block recovery from logseq 7594, block 63 to scn 96736910 Tue Jul 31 15:40:22 2018 Recovery of Online Redo Log: Thread 1 Group 3 Seq 7594 Reading mem 0 Mem# 0: E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG Block recovery completed at rba 7594.82.16, scn 0.96736911 DEBUG: Restoring block headers for xcb 0xbba2d2e4, pmd 0xab1920fc DEBUG: Finished replay for xcb 0xbba2d2e4, pmd 0xab1920fc for failed op 8 Tue Jul 31 15:40:22 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j000_1076.trc: ORA-00603: ORACLE 服务器会话因致命错误而终止 ORA-00600: 内部错误代码, 参数: [2662], [0], [96736955], [0], [96754130], [12615382], [], [] ORA-00600: 内部错误代码, 参数: [2662], [0], [96736954], [0], [96754130], [12615382], [], [] Tue Jul 31 15:40:31 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_smon_1288.trc: ORA-00600: internal error code, arguments: [2662], [0], [96736963], [0], [96752794], [4264138], [], [] Tue Jul 31 15:40:31 2018 Non-fatal internal error happenned while SMON was doing extent coalescing. SMON encountered 6 out of maximum 100 non-fatal internal errors. Tue Jul 31 15:40:41 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_smon_1288.trc: ORA-00600: internal error code, arguments: [2662], [0], [96736967], [0], [96752794], [4264138], [], [] Tue Jul 31 15:41:03 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_pmon_1448.trc: ORA-00474: SMON process terminated with error Tue Jul 31 15:41:03 2018 PMON: terminating instance due to error 474 Tue Jul 31 15:41:03 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j004_1344.trc: ORA-00474: SMON process terminated with error Tue Jul 31 15:41:03 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j003_2104.trc: ORA-00474: SMON process terminated with error Tue Jul 31 15:41:03 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j002_932.trc: ORA-00474: SMON process terminated with error Tue Jul 31 15:41:04 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j001_1680.trc: ORA-00474: SMON process terminated with error Tue Jul 31 15:41:04 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_q000_2336.trc: ORA-00474: SMON process terminated with error Tue Jul 31 15:41:05 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_lgwr_552.trc: ORA-00474: SMON process terminated with error Tue Jul 31 15:41:05 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_dbw0_1420.trc: ORA-00474: SMON process terminated with error Tue Jul 31 15:41:05 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_dbw1_2556.trc: ORA-00474: SMON process terminated with error Tue Jul 31 15:41:05 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_psp0_1812.trc: ORA-00474: SMON process terminated with error Tue Jul 31 15:41:05 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mman_1924.trc: ORA-00474: SMON process terminated with error Tue Jul 31 15:41:05 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_ckpt_2940.trc: ORA-00474: SMON process terminated with error Tue Jul 31 15:41:10 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_reco_660.trc: ORA-00474: SMON process terminated with error Instance terminated by PMON, pid = 1448 Tue Jul 31 15:41:57 2018
这是一个不常见的错误,没有使用隐含参数强制拉库,数据库正常open成功,但是由于system坏块,导致数据库启动之后报ORA-600 2662错误(再次证明2662不一定只有强制拉库发生,正常open的库也有可能,主要取决block scn和datafile scn,如果不是open过程必须要访问的block,那可能在open之后由于访问需要再报出来该错误).这个问题比较简单,因为open成功之后再crash,而且该坏块引起smon报错但是并没有ora-600 4xxx相关错误,因此根据经验,直接在数据库open之后,处理掉system异常报错对象和坏块对象即可.另外block 2 比较特殊,需要对其上面的对象进行处理
Tue Jul 31 15:55:54 2018 Hex dump of (file 8, block 2) in trace file e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_3664.trc Corrupt block relative dba: 0x02000002 (file 8, block 2) Completely zero block found during reading space header Reread of blocknum=2, file=E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\TTTS.DAT. found same corrupt data Reread of blocknum=2, file=E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\TTTS.DAT. found same corrupt data Reread of blocknum=2, file=E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\TTTS.DAT. found same corrupt data Reread of blocknum=2, file=E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\TTTS.DAT. found same corrupt data Reread of blocknum=2, file=E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\TTTS.DAT. found same corrupt data Tue Jul 31 15:55:54 2018 Errors in file e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_3664.trc: ORA-07445: 出现异常错误: 核心转储 [ACCESS_VIOLATION] [_krbodmpcx+243] [PC:0x2317857] [ADDR:0x8] [UNABLE_TO_READ] [] ORA-19880: 数据文件 E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\TTTS.DAT 的空间标头已损坏, 块 2 备份已中止
补充ora-600 2662 block记录
---------------------------------------- SO: BB97A97C, type: 24, owner: BB882B10, flag: INIT/-/-/0x00 (buffer) (CR) PR: BB8029D8 FLG: 0x100000 class bit: 00000000 kcbbfbp: [BH: B9FCF268, LINK: BB97A9A0] where: kdswh06: kdscgr, why: 0 BH (B9FCF268) file#: 1 rdba: 0x004110ca (1/69834) class: 1 ba: B9832000 set: 9 blksize: 8192 bsi: 0 set-flg: 2 pwbcnt: 0 dbwrid: 0 obj: 573 objn: 575 tsn: 0 afn: 1 hash: [bb9151ec,bb9151ec] lru: [b9fcf378,b9fcf200] ckptq: [NULL] fileq: [NULL] objq: [b9fcf3d0,aa776524] use: [bb97a9a0,bb97a9a0] wait: [NULL] st: XCURRENT md: SHR tch: 0 flags: LRBA: [0x0.0.0] HSCN: [0xffff.ffffffff] HSUB: [65535] Using State Objects ---------------------------------------- SO: BB97A97C, type: 24, owner: BB882B10, flag: INIT/-/-/0x00 (buffer) (CR) PR: BB8029D8 FLG: 0x100000 class bit: 00000000 kcbbfbp: [BH: B9FCF268, LINK: BB97A9A0] where: kdswh06: kdscgr, why: 0 buffer tsn: 0 rdba: 0x004110ca (1/69834) scn: 0x0000.05c4549a seq: 0x01 flg: 0x06 tail: 0x549a0601 frmt: 0x02 chkval: 0xc60a type: 0x06=trans data