标签云
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-01595 ORA-08103 ORA-600 2131 ORA-600 2662 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,769)
- DB2 (22)
- MySQL (77)
- Oracle (1,610)
- Data Guard (52)
- EXADATA (8)
- GoldenGate (24)
- ORA-xxxxx (166)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (15)
- ORACLE 21C (3)
- Oracle 23ai (8)
- Oracle ASM (69)
- Oracle Bug (8)
- Oracle RAC (54)
- Oracle 安全 (6)
- Oracle 开发 (28)
- Oracle 监听 (29)
- Oracle备份恢复 (592)
- Oracle安装升级 (97)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (86)
- PostgreSQL (30)
- pdu工具 (6)
- PostgreSQL恢复 (9)
- SQL Server (32)
- SQL Server恢复 (13)
- TimesTen (7)
- 达梦数据库 (3)
- 达梦恢复 (1)
- 生活娱乐 (2)
- 至理名言 (11)
- 虚拟化 (2)
- VMware (2)
- 软件开发 (39)
- Asp.Net (9)
- JavaScript (12)
- PHP (2)
- 小工具 (22)
-
最近发表
- 2025年的Oracle 8.0.5数据库恢复
- ORA-600 kokiasg1故障分析(obj$中核心字典序列全部被恶意删除)
- ORA-00756 ORA-10567故障数据0丢失恢复
- 数据库文件变成32k故障恢复
- tcp连接过多导致监听TNS-12532 TNS-12560 TNS-00502错误
- 文件系统格式化MySQL数据库恢复
- .sstop勒索加密数据库恢复
- 解决一次硬件恢复之后数据文件0kb的故障恢复case
- Error in invoking target ‘libasmclntsh19.ohso libasmperl19.ohso client_sharedlib’问题处理
- ORA-01171: datafile N going offline due to error advancing checkpoint
- linux环境oracle数据库被文件系统勒索加密为.babyk扩展名溯源
- ORA-600 ksvworkmsgalloc: bad reaper
- ORA-600 krccfl_chunk故障处理
- Oracle Recovery Tools恢复案例总结—202505
- ORA-600 kddummy_blkchk 数据库循环重启
- 记录一次asm disk加入到vg通过恢复直接open库的案例
- CHECKDB 发现了 N 个分配错误和 M 个一致性错误
- 达梦数据库dm.ctl文件异常恢复
- Oracle Recovery Tools修复ORA-00742、ORA-600 ktbair2: illegal inheritance故障
- 可能是 tempdb 空间用尽或某个系统表不一致故障处理
分类目录归档:ORA-xxxxx
ORA-00600[KSSADP1]
检查数据库发现ORA-00600[KSSADP1]错误
Thu Apr 19 21:16:45 2012 Errors in file /oracle9/app/admin/crm/udump/crm1_ora_442896.trc: ORA-00600: internal error code, arguments: [KSSADP1], [], [], [], [], [], [], [] Thu Apr 19 21:16:45 2012 Errors in file /oracle9/app/admin/crm/udump/crm1_ora_442896.trc: ORA-00600: internal error code, arguments: [KSSADP1], [], [], [], [], [], [], [] Thu Apr 19 21:16:45 2012 Trace dumping is performing id=[cdmp_20120419211645] Thu Apr 19 21:16:46 2012 Errors in file /oracle9/app/admin/crm/udump/crm1_ora_442896.trc: ORA-00600: internal error code, arguments: [KSSADP1], [], [], [], [], [], [], [] Thu Apr 19 21:16:47 2012 Errors in file /oracle9/app/admin/crm/udump/crm1_ora_442896.trc: ORA-00600: internal error code, arguments: [KSSADP1], [], [], [], [], [], [], []
分析crm1_ora_442896.trc信息
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production ORACLE_HOME = /oracle9/app/product/9.2.0 System name: AIX Node name: zwq_crm1 Release: 3 Version: 5 Machine: 00C420B44C00 Instance name: crm1 Redo thread mounted by this instance: 1 Oracle process number: 2354 Unix process pid: 442896, image: oracle@zwq_crm1 (TNS V1-V3) *** SESSION ID:(927.39278) 2012-04-19 21:16:45.317 *** 2012-04-19 21:16:45.317 ksedmp: internal or fatal error ORA-00600: internal error code, arguments: [KSSADP1], [], [], [], [], [], [], [] ----- Call Stack Trace ----- calling call entry argument values in hex location type point (? means dubious value) -------------------- -------- -------------------- ---------------------------- ksedmp+0148 bl ksedst 1029746FC ? ksfdmp+0018 bl 01FD4014 kgerinv+00e8 bl _ptrgl kgesinv+0020 bl kgerinv 9001000A02B56F8 ? 9001000A02B9450 ? FFFFFFFFFFF8430 ? 000000458 ? 900000000CBAFA4 ? ksesin+005c bl kgesinv FFFFFFFFFFF88E0 ? 1101FAF78 ? 900000000C0ECC0 ? 000010000 ? 000000002 ? kssadpm_stage+00c4 bl ksesin 102973C84 ? 000000000 ? 00000001E ? 000000000 ? 000000069 ? 00000000C ? 000000000 ? 000000000 ? ksqgel+0138 bl kssadpm_stage 000000000 ? 000000000 ? 000000000 ? 000000000 ? kcftis+003c bl ksqgel 000000000 ? 4029C61E0 ? 000000002 ? 0FFFFC16C ? 102A7977C ? 000000000 ? 000000003 ? 002A36408 ? kcfhis+001c bl kcftis krbbcc+0238 bl kcfhis 11043B590 ? krbpgc+001c bl krbbcc ksmupg+0074 bl _ptrgl ksuded+00b8 bl ksmupg 102924988 ? 000000020 ? ksupucg+10ec bl ksuded 700000C376F5740 ? 000000000 ? 000000000 ? opiodr+0474 bl ksupucg 100000001 ? ttcpip+0cc4 bl _ptrgl opitsk+0d60 bl ttcpip 11000CF90 ? 442442216B736800 ? FFFFFFFFFFFBF00 ? 1102E04BC ? 1102D7D20 ? 0000006A0 ? 1102D83C0 ? 0000006A0 ? opiino+0758 bl opitsk 000000000 ? 000000000 ? opiodr+08cc bl _ptrgl opidrv+032c bl opiodr 3C00000018 ? 4101FAF78 ? FFFFFFFFFFFF840 ? 0A000F350 ? sou2o+0028 bl opidrv 3C0C000000 ? 4A00E8B50 ? FFFFFFFFFFFF840 ? main+0138 bl 01FD3A28 __start+0098 bl main 000000000 ? 000000000 ? --------------------- Binary Stack Dump --------------------- Cursor Dump: ---------------------------------------- Cursor 1 (110360418): CURROW curiob: 110369b78 curflg: 46 curpar: 0 curusr: 0 curses 700000c376f5740 cursor name: select nvl(max(cpmid),0) from x$kcccp where cpsta = 2 child pin: 0, child lock: 700000d9b9c5bb8, parent lock: 700000d088e0fa0 xscflg: 1100024, parent handle: 70000031d588d88, xscfl2: 4040401 bhp size: 160/600 ---------------------------------------- Cursor 2 (110360468): CURBOUND curiob: 1103656f0 curflg: c7 curpar: 0 curusr: 0 curses 700000c376f5740 cursor name: SELECT SUBSTR(VERSION,1,INSTR(VERSION,'.') - 1 ) FROM V$INSTANCE child pin: 0, child lock: 700000d21e60930, parent lock: 700000327837ce0 xscflg: 141024, parent handle: 700000304e2f020, xscfl2: 4000401 bhp size: 160/600 ---------------------------------------- Cursor 3 (1103604b8): CURBOUND curiob: 1103b6aa8 curflg: c7 curpar: 0 curusr: 0 curses 700000c376f5740 cursor name: SELECT SUBSTR(VERSION,1 + INSTR(VERSION,'.',1,1) ,INSTR(VERSION,'.',1,2) - INSTR(VERSION,'.',1,1) - 1 ) FROM V$INSTANCE child pin: 0, child lock: 700000d5e382ee8, parent lock: 700000c93581d40 xscflg: 141024, parent handle: 700000d73daa1c0, xscfl2: 4000401 bhp size: 160/600 ---------------------------------------- Cursor 4 (110360508): CURBOUND curiob: 1103b66b8 curflg: c7 curpar: 0 curusr: 0 curses 700000c376f5740 cursor name: SELECT SUBSTR(VERSION,1 + INSTR(VERSION,'.',1,2) ,INSTR(VERSION,'.',1,3) - INSTR(VERSION,'.',1,2) - 1 ) FROM V$INSTANCE child pin: 0, child lock: 700000d16de7978, parent lock: 700000c44059d30 xscflg: 141024, parent handle: 700000259c4a700, xscfl2: 4000401 bhp size: 160/600 ---------------------------------------- Cursor 5 (110360558): CURBOUND curiob: 1103b3868 curflg: 46 curpar: 0 curusr: 0 curses 700000c376f5740 cursor name: SELECT SYSDATE FROM SYS.DUAL child pin: 0, child lock: 700000d589cea48, parent lock: 70000026b311fb0 xscflg: 100024, parent handle: 700000d2eaee328, xscfl2: 4600409 bhp size: 280/632 ---------------------------------------- Cursor 6 (1103605a8): CURBOUND curiob: 1103b3408 curflg: 46 curpar: 0 curusr: 0 curses 700000c376f5740 cursor name: SELECT TO_CHAR(SYSDATE,'YYYY','NLS_CALENDAR=Gregorian'),TO_CHAR(SYSDATE,'MM','NLS_CALENDAR=Gregorian'), TO_CHAR(SYSDATE,'DD','NLS_CALENDAR=Gregorian') FROM X$DUAL child pin: 0, child lock: 70000033f1753c8, parent lock: 700000db8c6dd18 xscflg: 100024, parent handle: 700000cbc6ad8b0, xscfl2: 4600409 bhp size: 160/600 End of cursor dump ksedmp: no current context area ----- Dump of the Fixed PGA -----
找到相关文档Note:262996.1,经过分析,产生错误的原因是由在本版本的数据库中SGA管理中存在的漏洞造成,但此错误没有对数据库的数据造成损坏及性能影响.
处理建议
1.当前版本ORACLE已经不再提供补丁支持,建议升级到高版本解决(有sr中介绍10.2中解决);
2.由于此报错并没有对数据库的数据及性能造成损坏及影响,可以忽此错误。
ORA-01075: you are currently logged on
rm删除文件后alert中出现错误
Mon Apr 16 21:36:59 2012 Errors in file /home/oracle/oracle/admin/XGS/bdump/xgs_j000_1349.trc: ORA-00603: ORACLE server session terminated by fatal error ORA-01116: error in opening database file 3 ORA-01110: data file 3: '/home/oracle/oracle/oradata/XGS/sysaux01.dbf' ORA-27041: unable to open file Linux Error: 2: No such file or directory Additional information: 3 ORA-01116: error in opening database file 3 ORA-01110: data file 3: '/home/oracle/oracle/oradata/XGS/sysaux01.dbf' ORA-27041: unable to open file Linux Error: 2: No such file or directory Additional information: 3 ORA-01116: error in opening database file 6 ORA-01110: data file 6: '/home/oracle/oracle/oradata/XGS/undotbs02.dbf' ORA-27041: unable to open file Linux Error: 2: No such file or directory Additional information: 3
数据库进程还在运行
oracle 779 1 0 21:21 ? 00:00:01 ora_pmon_XGS oracle 781 1 0 21:21 ? 00:00:10 ora_psp0_XGS oracle 783 1 0 21:21 ? 00:00:00 ora_mman_XGS oracle 785 1 0 21:21 ? 00:00:00 ora_dbw0_XGS oracle 787 1 0 21:21 ? 00:00:00 ora_lgwr_XGS oracle 789 1 0 21:21 ? 00:00:00 ora_ckpt_XGS oracle 791 1 0 21:21 ? 00:00:00 ora_smon_XGS oracle 793 1 0 21:21 ? 00:00:00 ora_reco_XGS oracle 795 1 0 21:21 ? 00:00:00 ora_cjq0_XGS oracle 797 1 0 21:21 ? 00:00:01 ora_mmon_XGS oracle 799 1 0 21:21 ? 00:00:00 ora_mmnl_XGS oracle 801 1 0 21:21 ? 00:00:00 ora_d000_XGS oracle 803 1 0 21:21 ? 00:00:00 ora_s000_XGS
尝试登陆数据库
[oracle@dbtest ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 16 21:40:06 2012 Copyright (c) 1982, 2005, Oracle. All rights reserved. ERROR: ORA-01075: you are currently logged on Enter user-name: sys Enter password: ERROR: ORA-00604: error occurred at recursive SQL level 2 ORA-01116: error in opening database file 1 ORA-01110: data file 1: '/home/oracle/oracle/oradata/XGS/system01.dbf' ORA-27041: unable to open file Linux Error: 2: No such file or directory Additional information: 3 ORA-00604: error occurred at recursive SQL level 1 ORA-01116: error in opening database file 6 ORA-01110: data file 6: '/home/oracle/oracle/oradata/XGS/undotbs02.dbf' ORA-27041: unable to open file Linux Error: 2: No such file or directory Additional information: 3
问题原因
Internal triggers are trying to fire but one or more datafiles for the SYSAUX tablespace is offline, this is preventing the database from allowing new connections. NOTE: At this point, you cannot connect to verify the status in V$DATAFILE, but you may find an indication of the offline datafile(s) in the alert.log file. For example: In one case, a media problem occurred which made disks unavailable. This caused several files to be taken offline automatically including a SYSAUX datafile.
解决方法
kill进程,重启数据库到mount状态,然后根据特定情况恢复数据库或者online相关文件
记录一次ORA-00600[kdsgrp1]分析
数据库版本
SQL> select * from v$version; BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi PL/SQL Release 10.2.0.4.0 - Production CORE 10.2.0.4.0 Production TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio NLSRTL Version 10.2.0.4.0 - Production
找出报错对象
--方法1 *** SESSION ID:(795.16405) 2012-04-05 09:36:11.958 row 080095ee.26 continuation at file# 32 block# 38382 slot 39 not found ************************************************** KDSTABN_GET: 0 ..... ntab: 1 curSlot: 39 ..... nrows: 19 ************************************************** SQL> SELECT OWNER, SEGMENT_NAME, SEGMENT_TYPE, TABLESPACE_NAME, A.PARTITION_NAME 2 FROM DBA_EXTENTS A 3 WHERE FILE_ID = &FILE_ID 4 AND &BLOCK_ID BETWEEN BLOCK_ID AND BLOCK_ID + BLOCKS - 1; Enter value for file_id: 32 old 3: WHERE FILE_ID = &FILE_ID new 3: WHERE FILE_ID = 32 Enter value for block_id: 38382 old 4: AND &BLOCK_ID BETWEEN BLOCK_ID AND BLOCK_ID + BLOCKS - 1 new 4: AND 38382 BETWEEN BLOCK_ID AND BLOCK_ID + BLOCKS - 1 OWNER ------------------------------ SEGMENT_NAME -------------------------------------------------------------------------------- SEGMENT_TYPE TABLESPACE_NAME PARTITION_NAME ------------------ ------------------------------ ------------------------------ AHV8 TBL_IVR_LOG TABLE PARTITION CSS_PARTITION IVR_LOG_2012_MONTH04 --方法2 *** 2012-04-05 09:36:11.965 ksedmp: internal or fatal error ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], [] Current SQL statement for this session: INSERT INTO TBL_CONTACT_INFO_FAILED_TMP select * from TBL_IVR_LOG SO: 70000017f954f50, type: 4, owner: 70000017f65a840, flag: INIT/-/-/0x00 (session) sid: 795 trans: 70000017464a1e8, creator: 70000017f65a840, flag: (40110041) USR/- BSY/-/-/-/-/- DID: 0002-0067-000305BD, short-term DID: 0002-0067-000305BE txn branch: 0 oct: 2, prv: 0, sql: 70000015180ee98, psql: 700000180d67550, user: 49/AHV8 service name: SYS$USERS O/S info: user: oracle10, term: UNKNOWN, ospid: 12976218, machine: zwq_kfdb2 program: oracle@zwq_kfdb2 (J002) last wait for 'db file sequential read' blocking sess=0x0 seq=226 wait_time=17071 seconds since wait started=1 file#=20, block#=95ee, blocks=1 --方法3 Block header dump: 0x080095ee Object id on Block? Y seg/obj: 0x11eeb csc: 0x6f2.848e814 itc: 2 flg: E typ: 1 - DATA brn: 1 bdba: 0x7c09c89 ver: 0x01 opc: 0 inc: 0 exflg: 0 SQL> select to_number('11eeb','xxxxxxxx') from dual; TO_NUMBER('11EEB','XXXXXXXX') ----------------------------- 73451 SQL> select owner,object_name,subobject_name,object_type from dba_objects where data_object_id='73451'; OWNER ------------------------------ OBJECT_NAME -------------------------------------------------------------------------------- SUBOBJECT_NAME OBJECT_TYPE ------------------------------ ------------------- AHV8 TBL_IVR_LOG IVR_LOG_2012_MONTH04 TABLE PARTITION
验证是否真的坏块
SQL> select name from v$datafile where file#=32; NAME ------------------------------------------------------ /dev/rdb1_data27 [zwq_kfdb2:/home/oraeye]dbv file='/dev/rdb1_data27' blocksize=8192 DBVERIFY: Release 10.2.0.4.0 - Production on Fri Apr 13 15:33:10 2012 Copyright (c) 1982, 2007, Oracle. All rights reserved. DBVERIFY - Verification starting : FILE = /dev/rdb1_data27 DBVERIFY - Verification complete Total Pages Examined : 1048448 Total Pages Processed (Data) : 947357 Total Pages Failing (Data) : 0 Total Pages Processed (Index): 0 Total Pages Failing (Index): 0 Total Pages Processed (Other): 4756 Total Pages Processed (Seg) : 0 Total Pages Failing (Seg) : 0 Total Pages Empty : 96335 Total Pages Marked Corrupt : 0 Total Pages Influx : 0 Highest block SCN : 297329920 (1778.297329920) SQL> select count(*) from AHV8.TBL_IVR_LOG partition(IVR_LOG_2012_MONTH04); COUNT(*) ---------- 8798030
总结:很明显这次出现这个问题,因为内存中出现坏块导致,经过一段时间buffer cache中的坏块内容已经被老化,所以现在不能重现(甚至不用做任何操作)。如果内存中出现了坏块,而且还没有被老化掉,可以刷新data buffer;如果是数据块出现坏块,根据实际情况决定处理