标签云
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 kghstack_free2
110T oracle故障恢复
有客户一套110T的数据库由于存储控制器故障导致数据库无法正常启动,启动报错如下:
Wed Feb 2 23:16:13 2022 Recovery of Online Redo Log: Thread 1 Group 7 Seq 1647469 Reading mem 0 Mem# 0: /dev/vgredo6/rredo7b Mem# 1: /dev/vgredo4/rredo7a Wed Feb 2 23:16:14 2022 Errors in file /opt/oracle/admin/xifenfei/udump/xifenfei_ora_26754.trc: ORA-07445: exception encountered: core dump [_memcpy()+7040] [SIGSEGV] [Address not mapped to object] [] [] [] Wed Feb 2 23:16:15 2022 Errors in file /opt/oracle/admin/xifenfei/udump/xifenfei_ora_26754.trc: ORA-07445: exception encountered: core dump [kcbzdh()+560] [SIGSEGV] [Address not mapped to object] [] [] [] ORA-07445: exception encountered: core dump [_memcpy()+7040] [SIGSEGV] [Address not mapped to object] [] [] [] Wed Feb 2 23:16:16 2022 Errors in file /opt/oracle/admin/xifenfei/udump/xifenfei_ora_26754.trc: ORA-07445: exception encountered: core dump [kcbzdh()+560] [SIGSEGV] [Address not mapped to object] [] [] [] ORA-07445: exception encountered: core dump [kcbzdh()+560] [SIGSEGV] [Address not mapped to object] [] [] [] ORA-07445: exception encountered: core dump [_memcpy()+7040] [SIGSEGV] [Address not mapped to object] [] [] [] Wed Feb 2 23:16:16 2022 Errors in file /opt/oracle/admin/xifenfei/udump/xifenfei_ora_26754.trc: ORA-00600: internal error code, arguments: [kghstack_free2], [], [], [], [], [], [], [] ORA-00607: Internal error occurred while making a change to a data block ORA-00602: internal programming exception ORA-07445: exception encountered: core dump [kcbzdh()+560] [SIGSEGV] [Address not mapped to object] [] [] [] ORA-07445: exception encountered: core dump [kcbzdh()+560] [SIGSEGV] [Address not mapped to object] [] [] [] ORA-07445: exception encountered: core dump [_memcpy()+7040] [SIGSEGV] [Address not mapped to object] [] [] [] Wed Feb 2 23:16:26 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_pmon_26722.trc: ORA-07445: exception encountered: core dump [kcbzre1()+6593] [SIGSEGV] [Address not mapped to object] [] [] [] Wed Feb 2 23:16:27 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_pmon_26722.trc: ORA-07445: exception encountered: core dump [kcbs_dump_adv_state()+1200] [SIGSEGV][] [] ORA-07445: exception encountered: core dump [kcbzre1()+6593] [SIGSEGV] [Address not mapped to object] [] [] [] Wed Feb 2 23:16:27 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_pmon_26722.trc: ORA-00602: internal programming exception ORA-07445: exception encountered: core dump [kcbs_dump_adv_state()+1200] [SIGSEGV][] [] ORA-07445: exception encountered: core dump [kcbzre1()+6593] [SIGSEGV] [Address not mapped to object] [] [] [] Wed Feb 2 23:17:11 2022 PSP0: terminating instance due to error 472 Instance terminated by PSP0, pid = 26724
该错误原因是由于redo信息和数据文件block信息不匹配导致无法正常应用日志,从而出现异常,在后续的recover 中还出现以下错误
Fri Feb 18 16:09:59 2022 ALTER DATABASE RECOVER datafile 609,610,611,612,613,614,615,602,603,604,605,606,607,608 Fri Feb 18 16:09:59 2022 Media Recovery Start parallel recovery started with 16 processes Fri Feb 18 16:10:00 2022 Recovery of Online Redo Log: Thread 1 Group 7 Seq 1647469 Reading mem 0 Mem# 0: /dev/vgredo6/rredo7b Mem# 1: /dev/vgredo4/rredo7a Fri Feb 18 16:12:17 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_p000_22509.trc: ORA-00600: internal error code, arguments: [6101], [0], [42], [96], [], [], [], [] Fri Feb 18 16:18:51 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_p000_22509.trc: ORA-10562: Error occurred while applying redo to data block (file# 602, block# 1693691) ORA-10564: tablespace DBS_DCDL_PT ORA-01110: data file 602: '/dev/vgora12/rdbs_dcdl_pt0155' ORA-10561: block type 'TRANSACTION MANAGED INDEX BLOCK', data object# 33682645 ORA-00600: internal error code, arguments: [6101], [0], [42], [96], [], [], [], [] Fri Feb 18 16:18:55 2022 Media Recovery failed with error 12801
Fri Feb 18 18:23:59 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_dbw1_22483.trc: ORA-07445: exception encountered: core dump [kcbs_dump_adv_state()+1200] [SIGSEGV][] [] ORA-07445: exception encountered: core dump [ksuitm()+2400] [SIGSEGV] [] [] [] [] ORA-00472: PMON process terminated with error Fri Feb 18 18:24:04 2022 DBW3: terminating instance due to error 472 Fri Feb 18 18:24:04 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_dbw3_22487.trc: ORA-07445: exception encountered: core dump [ksuitm()+2400] [SIGSEGV] [] [] [] [] ORA-00472: PMON process terminated with error Fri Feb 18 18:24:04 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_dbw3_22487.trc: ORA-07445: exception encountered: core dump [kcbs_dump_adv_state()+1200] [SIGSEGV] [] [] ORA-07445: exception encountered: core dump [ksuitm()+2400] [SIGSEGV] [] [] [] [] ORA-00472: PMON process terminated with error Fri Feb 18 18:24:09 2022 LGWR: terminating instance due to error 472 Fri Feb 18 18:24:09 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_lgwr_22489.trc: ORA-07445: exception encountered: core dump [ksuitm()+2400] [SIGSEGV] [] [] [] [] ORA-00472: PMON process terminated with error
从sqlplus中看到类似一些报错
SQL> recover datafile 601; ORA-03113: end-of-file on communication channel SQL> recover datafile 1066; ORA-00283: recovery session canceled due to errors ORA-12801: error signaled in parallel query server P015 ORA-00600: internal error code, arguments: [2037], [207064103], [207064103], [162], [6], [1], [1833009883], [1130705717] SQL> recover datafile 1065; ORA-00283: recovery session canceled due to errors ORA-12801: error signaled in parallel query server P004 ORA-00600: internal error code, arguments: [kcbzpb_1], [142189139], [3], [0], [], [], [], [] SQL> recover datafile 2042; ORA-00283: recovery session canceled due to errors ORA-12801: error signaled in parallel query server P014 ORA-00600: internal error code, arguments: [3020], [627], [3234156], [2633062764], [], [], [], [] ORA-10567: Redo is inconsistent with data block
通过屏蔽一致性,强制open库成功
Sun Feb 20 21:20:06 2022 SMON: enabling tx recovery Sun Feb 20 21:20:06 2022 Database Characterset is ZHS16GBK Sun Feb 20 21:20:07 2022 ORACLE Instance xifenfei (pid = 38) - Error 376 encountered while recovering transaction (74, 17) on object 34131051. Sun Feb 20 21:20:07 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_smon_25140.trc: ORA-00376: file 1416 cannot be read at this time ORA-01110: data file 1416: '/dev/vgora14/rdbs_icdl_pt116' Sun Feb 20 21:20:08 2022 Stopping background process MMNL Sun Feb 20 21:20:09 2022 ORACLE Instance xifenfei (pid = 38) - Error 376 encountered while recovering transaction (88, 36) on object 33514955. Sun Feb 20 21:20:09 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_smon_25140.trc: ORA-00376: file 1264 cannot be read at this time ORA-01110: data file 1264: '/dev/vgora14/rdbs_icdl_pt102' Sun Feb 20 21:20:09 2022 Stopping background process MMON Starting background process MMON Starting background process MMNL MMON started with pid=46, OS id=1482 Sun Feb 20 21:20:10 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_smon_25140.trc: ORA-01578: ORACLE data block corrupted (file # 652, block # 3767844) ORA-01110: data file 652: '/dev/vgora13/rdbs_dcdl_pt0205' Sun Feb 20 21:20:10 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_smon_25140.trc: ORA-01578: ORACLE data block corrupted (file # 652, block # 3767661) ORA-01110: data file 652: '/dev/vgora13/rdbs_dcdl_pt0205' replication_dependency_tracking turned off (no async multimaster replication found) Sun Feb 20 21:20:11 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_smon_25140.trc: ORA-01578: ORACLE data block corrupted (file # 652, block # 3767661) ORA-01110: data file 652: '/dev/vgora13/rdbs_dcdl_pt0205' Sun Feb 20 21:20:11 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_smon_25140.trc: ORA-01578: ORACLE data block corrupted (file # 652, block # 3767661) ORA-01110: data file 652: '/dev/vgora13/rdbs_dcdl_pt0205' Sun Feb 20 21:20:11 2022 LOGSTDBY: Validating controlfile with logical metadata Sun Feb 20 21:20:11 2022 LOGSTDBY: Validation complete Sun Feb 20 21:20:11 2022 Errors in file /opt/oracle/admin/xifenfei/bdump/xifenfei_smon_25140.trc: ORA-01578: ORACLE data block corrupted (file # 652, block # 3767661) ORA-01110: data file 652: '/dev/vgora13/rdbs_dcdl_pt0205' Completed: alter database open
对于异常undo进行处理,数据库正常open
由于客户短期无法迁移数据,先对于一些坏块进行修复,暂时运行数据库后续有时间窗口进行迁移.
ORA-600 kghstack_free2异常恢复
今天接触一案例ORA-00600[kghstack_free2],恢复起来很简单,顺便记录下,供其他人遇到类似情况参考.
Wed Feb 20 15:05:04 2013 SMON: enabling cache recovery Wed Feb 20 15:05:05 2013 Successfully onlined Undo Tablespace 1. Wed Feb 20 15:05:05 2013 SMON: enabling tx recovery Wed Feb 20 15:05:06 2013 Errors in file f:\oracle\product\10.2.0\admin\cksoltp\bdump\cksoltp_smon_3556.trc: ORA-00600: internal error code, arguments: [kghstack_free2], [], [], [], [], [], [], [] Wed Feb 20 15:05:06 2013 Database Characterset is AL32UTF8 replication_dependency_tracking turned off (no async multimaster replication found) Wed Feb 20 15:05:08 2013 Errors in file f:\oracle\product\10.2.0\admin\cksoltp\bdump\cksoltp_smon_3556.trc: ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_kghstack_err+101] [PC:0x603CC77F] [ADDR:0x59004E04] [UNABLE_TO_READ] [] ORA-00600: internal error code, arguments: [kghstack_free2], [], [], [], [], [], [], [] Starting background process QMNC QMNC started with pid=18, OS id=3504 Wed Feb 20 15:05:13 2013 Errors in file f:\oracle\product\10.2.0\admin\cksoltp\bdump\cksoltp_pmon_4064.trc: ORA-00474: SMON process terminated with error
这个错误很明显是因为smon在回滚事务的时候,遇到异常从而出现ORA-00600[kghstack_free2]错误,使得数据库不能被正常open,通过分析trace文件发现回滚段36中有事务未提交,需要回滚,针对这样的数据库恢复方法很简单:1.屏蔽事务回滚,2.屏蔽回滚段强制offline等
1) EVENT=”10513 trace name context forever”
2)_offline_rollback_segments= _SYSSMU36$
数据库启动后,通过分析trace文件,找出来异常对象,然后重建该对象,除掉event/_offline_rollback_segments即可