ORA-00600 [4185]错误处理过程

6 篇文章 0 订阅

--//数据库启动报ORA-00600 4185错误
SQL> startup 
ORACLE instance started.

Total System Global Area  242208768 bytes
Fixed Size                  2227176 bytes
Variable Size             184550424 bytes
Database Buffers           50331648 bytes
Redo Buffers                5099520 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [4185], [], [], [], [], [], [], [],
[], [], [], []
Process ID: 13634
Session ID: 125 Serial number: 5

--//后台日志
Block recovery completed at rba 35.5.16, scn 0.2084626
Errors in file /u01/app/diag/rdbms/qxy1/QXY1/trace/QXY1_ora_13634.trc:
ORA-00600: internal error code, arguments: [4185], [], [], [], [], [], [], [], [], [], [], []
Errors in file /u01/app/diag/rdbms/qxy1/QXY1/trace/QXY1_ora_13634.trc:
ORA-00600: internal error code, arguments: [4185], [], [], [], [], [], [], [], [], [], [], []
Error 600 happened during db open, shutting down database
USER (ospid: 13634): terminating the instance due to error 600
Instance terminated by USER, pid = 13634
ORA-1092 signalled during: ALTER DATABASE OPEN...
opiodr aborting process unknown ospid (13634) as a result of ORA-1092
Mon Mar 30 12:34:26 2020
ORA-1092 : opitsk aborting process

--//QXY1_ora_13634.trc文件内容
*** 2020-03-30 12:34:26.699
Recovery of Online Redo Log: Thread 1 Group 2 Seq 35 Reading mem 0
Block recovery completed at rba 35.5.16, scn 0.2084626
==== Redo read statistics for thread 1 ====
Total physical reads (from disk and memory): 4097Kb
-- Redo read_disk statistics --
Read rate (ASYNC): 0Kb in 0.01s => 0.00 Mb/sec
-- Redo read_memory statistics --
Read disk 0Kb and read memory 1Kb, hit-ratio=1.00
Longest LWN: 1Kb, moves: 0/1 (0%), moved: 0Mb
Last redo scn: 0x0000.001fcf11 (2084625)
----------------------------------------------
Block image after block recovery:
buffer tsn: 0 rdba: 0x00400080 (1/128)
scn: 0x0000.001d0f49 seq: 0x01 flg: 0x04 tail: 0x0f490e01
frmt: 0x02 chkval: 0x7fc6 type: 0x0e=KTU UNDO HEADER W/UNLIMITED EXTENTS
Hex dump of block: st=0, typ_found=1
Dump of memory from 0x0000000063794000 to 0x0000000063796000
063794000 0000A20E 00400080 001D0F49 04010000  [......@.I.......]
063794010 00007FC6 00000000 00000000 00000000  [................]
063794020 00000000 00000011 000000FF 00001020  [............ ...]
063794030 0000000D 00000049 00000080 00415F49  [....I.......I_A.]
063794040 00000000 0000000D 00000000 00000000  [................]
063794050 00000000 00000000 00000000 00000011  [................]
063794060 00000000 00000000 40000000 00400081  [...........@..@.]
063794070 00000007 00400088 00000008 00400210  [......@.......@.]
063794080 00000008 00415C90 00000008 00415CA0  [.....\A......\A.]


--//1号文件128块
BBED> set dba 1,128 
        DBA             0x00400080 (4194432 1,128)

BBED> map 
 File: /u01/app/oradata/QXY1/system01.dbf (1)
 Block: 128                                   Dba:0x00400080
------------------------------------------------------------
 Unlimited Undo Segment Header

 struct kcbh, 20 bytes                      @0       

 struct ktech, 72 bytes                     @20      

 struct ktemh, 16 bytes                     @92      

 struct ktetb[17], 136 bytes                @108     

 struct ktuxc, 104 bytes                    @4148    

 struct ktuxe[255], 10200 bytes             @4252    

 ub4 tailchk                                @8188    


BBED> p ktuxc
struct ktuxc, 104 bytes                     @4148    
   struct ktuxcscn, 8 bytes                 @4148    
      ub4 kscnbas                           @4148     0x001796b1
      ub2 kscnwrp                           @4152     0x0000
   struct ktuxcuba, 8 bytes                 @4156    
      ub4 kubadba                           @4156     0x00415f49
      ub2 kubaseq                           @4160     0x0054
      ub1 kubarec                           @4162     0x23
   sb2 ktuxcflg                             @4164     1 (KTUXCFSK)
   ub2 ktuxcseq                             @4166     0x0054  
   sb2 ktuxcnfb                             @4168     1
   ub4 ktuxcinc                             @4172     0x00000000
   sb2 ktuxcchd                             @4176     89
   sb2 ktuxcctl                             @4178     69
   ub2 ktuxcmgc                             @4180     0x8002
   ub4 ktuxcopt                             @4188     0x7ffffffe
   struct ktuxcfbp[0], 12 bytes             @4192    
      struct ktufbuba, 8 bytes              @4192    
         ub4 kubadba                        @4192     0x00415f49
         ub2 kubaseq                        @4196     0x0054
         ub1 kubarec                        @4198     0x1d
      sb2 ktufbext                          @4200     13
      sb2 ktufbspc                          @4202     1560
   struct ktuxcfbp[1], 12 bytes             @4204    
   
   
   
BBED> set dba 0x00415f49
        DBA             0x00415f49 (4284233 1,89929)

BBED> map 
 File: /u01/app/oradata/QXY1/system01.dbf (1)
 Block: 89929                                 Dba:0x00415f49
------------------------------------------------------------
 Undo Data

 struct kcbh, 20 bytes                      @0       

 struct ktubh, 74 bytes                     @20      

 ub1 freespace[3194]                        @94      

 ub1 undodata[4900]                         @3288    

 ub4 tailchk                                @8188    


BBED> p ktubh
struct ktubh, 74 bytes                      @20      
   struct ktubhxid, 8 bytes                 @20      
      ub2 kxidusn                           @20       0x0000
      ub2 kxidslt                           @22       0x005b
      ub4 kxidsqn                           @24       0x00000026
   ub2 ktubhseq                             @28       0x0054  
   ub1 ktubhcnt                             @30       0x1d
   ub1 ktubhirb                             @31       0x1d
   ub1 ktubhicl                             @32       0x00
   ub1 ktubhflg                             @33       0x00
   ub2 ktubhidx[0]                          @34       0x1fe8
   ub2 ktubhidx[1]                          @36       0x1f60
   ub2 ktubhidx[2]                          @38       0x1efc
   ub2 ktubhidx[3]                          @40       0x1eac
   ub2 ktubhidx[4]                          @42       0x1e78
   ub2 ktubhidx[5]                          @44       0x1e18
   ub2 ktubhidx[6]                          @46       0x1d90
   ub2 ktubhidx[7]                          @48       0x1d34
   ub2 ktubhidx[8]                          @50       0x1cac
   ub2 ktubhidx[9]                          @52       0x1c50
   ub2 ktubhidx[10]                         @54       0x1bc8
   ub2 ktubhidx[11]                         @56       0x1b6c
   ub2 ktubhidx[12]                         @58       0x1ae4
   ub2 ktubhidx[13]                         @60       0x1a88
   ub2 ktubhidx[14]                         @62       0x19a0
   ub2 ktubhidx[15]                         @64       0x18c4
   ub2 ktubhidx[16]                         @66       0x184c
   ub2 ktubhidx[17]                         @68       0x17e8
   ub2 ktubhidx[18]                         @70       0x16c8
   ub2 ktubhidx[19]                         @72       0x15f0
   ub2 ktubhidx[20]                         @74       0x14e4
   ub2 ktubhidx[21]                         @76       0x147c
   
                      
--//屏蔽undo信息,让oracle认为没有undo block需要回滚

BBED> set dba 1,128
        DBA             0x00400080 (4194432 1,128)

BBED> map 
 File: /u01/app/oradata/QXY1/system01.dbf (1)
 Block: 128                                   Dba:0x00400080
------------------------------------------------------------
 Unlimited Undo Segment Header

 struct kcbh, 20 bytes                      @0       

 struct ktech, 72 bytes                     @20      

 struct ktemh, 16 bytes                     @92      

 struct ktetb[17], 136 bytes                @108     

 struct ktuxc, 104 bytes                    @4148    

 struct ktuxe[255], 10200 bytes             @4252    

 ub4 tailchk                                @8188    


BBED> p ktuxc
struct ktuxc, 104 bytes                     @4148    
   struct ktuxcscn, 8 bytes                 @4148    
      ub4 kscnbas                           @4148     0x001796b1
      ub2 kscnwrp                           @4152     0x0000
   struct ktuxcuba, 8 bytes                 @4156    
      ub4 kubadba                           @4156     0x00415f49
      ub2 kubaseq                           @4160     0x0054
      ub1 kubarec                           @4162     0x23
   sb2 ktuxcflg                             @4164     1 (KTUXCFSK)
   ub2 ktuxcseq                             @4166     0x0054
   sb2 ktuxcnfb                             @4168     1               --//修改为0
   ub4 ktuxcinc                             @4172     0x00000000
   sb2 ktuxcchd                             @4176     89
   sb2 ktuxcctl                             @4178     69
   ub2 ktuxcmgc                             @4180     0x8002
   ub4 ktuxcopt                             @4188     0x7ffffffe
   struct ktuxcfbp[0], 12 bytes             @4192    
      struct ktufbuba, 8 bytes              @4192    
         ub4 kubadba                        @4192     0x00415f49      --//修改为00000000
         ub2 kubaseq                        @4196     0x0054
         ub1 kubarec                        @4198     0x1d
      sb2 ktufbext                          @4200     13
      sb2 ktufbspc                          @4202     1560
   struct ktuxcfbp[1], 12 bytes             @4204    
      struct ktufbuba, 8 bytes              @4204    
         ub4 kubadba                        @4204     0x00000000
         ub2 kubaseq                        @4208     0x0054
         ub1 kubarec                        @4210     0x16
      sb2 ktufbext                          @4212     13
      sb2 ktufbspc                          @4214     5098
   struct ktuxcfbp[2], 12 bytes             @4216    
      struct ktufbuba, 8 bytes              @4216    
         ub4 kubadba                        @4216     0x00000000
         ub2 kubaseq                        @4220     0x0043
         ub1 kubarec                        @4222     0x10
      sb2 ktufbext                          @4224     13
      sb2 ktufbspc                          @4226     6106
   struct ktuxcfbp[3], 12 bytes             @4228    
      struct ktufbuba, 8 bytes              @4228    
         ub4 kubadba                        @4228     0x00000000
         ub2 kubaseq                        @4232     0x0000
         ub1 kubarec                        @4234     0x00
      sb2 ktufbext                          @4236     0
      sb2 ktufbspc                          @4238     0
   struct ktuxcfbp[4], 12 bytes             @4240    
      struct ktufbuba, 8 bytes              @4240    
         ub4 kubadba                        @4240     0x00000000
         ub2 kubaseq                        @4244     0x0000
         ub1 kubarec                        @4246     0x00
      sb2 ktufbext                          @4248     0
      sb2 ktufbspc                          @4250     0

BBED> set offset 4168
        OFFSET          4168

BBED> d
 File: /u01/app/oradata/QXY1/system01.dbf (1)
 Block: 128              Offsets: 4168 to 4679           Dba:0x00400080
------------------------------------------------------------------------
 01000000 00000000 59004500 02800100 68000000 feffff7f 495f4100 54001d00 
 0d001806 00000000 54001600 0d00ea13 00000000 43001000 0d00da17 00000000 
 00000000 00000000 00000000 00000000 00000000 27000000 495f4100 410f1d00 
 00000000 09000400 00000000 00000000 00000000 01000000 00000000 26000000 
 465f4100 b5961700 00000000 09006100 00000000 00000000 00000000 01000000 
 00000000 26000000 465f4100 ee381800 00000000 09004900 00000000 00000000 
 00000000 01000000 00000000 26000000 465f4100 bb961700 00000000 09005e00 
 00000000 00000000 00000000 01000000 00000000 27000000 495f4100 430f1d00 
 00000000 09000800 00000000 00000000 00000000 01000000 00000000 26000000 
 465f4100 f4381800 00000000 09000a00 00000000 00000000 00000000 01000000 
 00000000 27000000 495f4100 480f1d00 00000000 09004500 00000000 00000000 
 00000000 01000000 00000000 26000000 475f4100 18391800 00000000 09002200 
 00000000 00000000 00000000 01000000 00000000 27000000 495f4100 450f1d00 
 00000000 09005800 00000000 00000000 00000000 01000000 00000000 26000000 
 465f4100 b9961700 00000000 09000300 00000000 00000000 00000000 01000000 
 00000000 26000000 465f4100 f6381800 00000000 09001500 00000000 00000000 

 <32 bytes per line>

BBED> m /x 00
Warning: contents of previous BIFILE will be lost. Proceed? (Y/N) y
 File: /u01/app/oradata/QXY1/system01.dbf (1)
 Block: 128              Offsets: 4168 to 4679           Dba:0x00400080
------------------------------------------------------------------------
 00000000 00000000 59004500 02800100 68000000 feffff7f 495f4100 54001d00 
 0d001806 00000000 54001600 0d00ea13 00000000 43001000 0d00da17 00000000 
 00000000 00000000 00000000 00000000 00000000 27000000 495f4100 410f1d00 
 00000000 09000400 00000000 00000000 00000000 01000000 00000000 26000000 
 465f4100 b5961700 00000000 09006100 00000000 00000000 00000000 01000000 
 00000000 26000000 465f4100 ee381800 00000000 09004900 00000000 00000000 
 00000000 01000000 00000000 26000000 465f4100 bb961700 00000000 09005e00 
 00000000 00000000 00000000 01000000 00000000 27000000 495f4100 430f1d00 
 00000000 09000800 00000000 00000000 00000000 01000000 00000000 26000000 
 465f4100 f4381800 00000000 09000a00 00000000 00000000 00000000 01000000 
 00000000 27000000 495f4100 480f1d00 00000000 09004500 00000000 00000000 
 00000000 01000000 00000000 26000000 475f4100 18391800 00000000 09002200 
 00000000 00000000 00000000 01000000 00000000 27000000 495f4100 450f1d00 
 00000000 09005800 00000000 00000000 00000000 01000000 00000000 26000000 
 465f4100 b9961700 00000000 09000300 00000000 00000000 00000000 01000000 
 00000000 26000000 465f4100 f6381800 00000000 09001500 00000000 00000000 

 <32 bytes per line>

BBED> set offset 4192
        OFFSET          4192

BBED> d
 File: /u01/app/oradata/QXY1/system01.dbf (1)
 Block: 128              Offsets: 4192 to 4703           Dba:0x00400080
------------------------------------------------------------------------
 495f4100 54001d00 0d001806 00000000 54001600 0d00ea13 00000000 43001000 
 0d00da17 00000000 00000000 00000000 00000000 00000000 00000000 27000000 
 495f4100 410f1d00 00000000 09000400 00000000 00000000 00000000 01000000 
 00000000 26000000 465f4100 b5961700 00000000 09006100 00000000 00000000 
 00000000 01000000 00000000 26000000 465f4100 ee381800 00000000 09004900 
 00000000 00000000 00000000 01000000 00000000 26000000 465f4100 bb961700 
 00000000 09005e00 00000000 00000000 00000000 01000000 00000000 27000000 
 495f4100 430f1d00 00000000 09000800 00000000 00000000 00000000 01000000 
 00000000 26000000 465f4100 f4381800 00000000 09000a00 00000000 00000000 
 00000000 01000000 00000000 27000000 495f4100 480f1d00 00000000 09004500 
 00000000 00000000 00000000 01000000 00000000 26000000 475f4100 18391800 
 00000000 09002200 00000000 00000000 00000000 01000000 00000000 27000000 
 495f4100 450f1d00 00000000 09005800 00000000 00000000 00000000 01000000 
 00000000 26000000 465f4100 b9961700 00000000 09000300 00000000 00000000 
 00000000 01000000 00000000 26000000 465f4100 f6381800 00000000 09001500 
 00000000 00000000 00000000 01000000 00000000 26000000 475f4100 13391800 

 <32 bytes per line>

BBED> m /x 00000000
 File: /u01/app/oradata/QXY1/system01.dbf (1)
 Block: 128              Offsets: 4192 to 4703           Dba:0x00400080
------------------------------------------------------------------------
 00000000 54001d00 0d001806 00000000 54001600 0d00ea13 00000000 43001000 
 0d00da17 00000000 00000000 00000000 00000000 00000000 00000000 27000000 
 495f4100 410f1d00 00000000 09000400 00000000 00000000 00000000 01000000 
 00000000 26000000 465f4100 b5961700 00000000 09006100 00000000 00000000 
 00000000 01000000 00000000 26000000 465f4100 ee381800 00000000 09004900 
 00000000 00000000 00000000 01000000 00000000 26000000 465f4100 bb961700 
 00000000 09005e00 00000000 00000000 00000000 01000000 00000000 27000000 
 495f4100 430f1d00 00000000 09000800 00000000 00000000 00000000 01000000 
 00000000 26000000 465f4100 f4381800 00000000 09000a00 00000000 00000000 
 00000000 01000000 00000000 27000000 495f4100 480f1d00 00000000 09004500 
 00000000 00000000 00000000 01000000 00000000 26000000 475f4100 18391800 
 00000000 09002200 00000000 00000000 00000000 01000000 00000000 27000000 
 495f4100 450f1d00 00000000 09005800 00000000 00000000 00000000 01000000 
 00000000 26000000 465f4100 b9961700 00000000 09000300 00000000 00000000 
 00000000 01000000 00000000 26000000 465f4100 f6381800 00000000 09001500 
 00000000 00000000 00000000 01000000 00000000 26000000 475f4100 13391800 

 <32 bytes per line>

BBED> sum apply
Check value for File 1, Block 128:
current = 0x20cf, required = 0x20cf

BBED> map 
 File: /u01/app/oradata/QXY1/system01.dbf (1)
 Block: 128                                   Dba:0x00400080
------------------------------------------------------------
 Unlimited Undo Segment Header

 struct kcbh, 20 bytes                      @0       

 struct ktech, 72 bytes                     @20      

 struct ktemh, 16 bytes                     @92      

 struct ktetb[17], 136 bytes                @108     

 struct ktuxc, 104 bytes                    @4148    

 struct ktuxe[255], 10200 bytes             @4252    

 ub4 tailchk                                @8188    


BBED> p ktuxc
struct ktuxc, 104 bytes                     @4148    
   struct ktuxcscn, 8 bytes                 @4148    
      ub4 kscnbas                           @4148     0x001796b1
      ub2 kscnwrp                           @4152     0x0000
   struct ktuxcuba, 8 bytes                 @4156    
      ub4 kubadba                           @4156     0x00415f49
      ub2 kubaseq                           @4160     0x0054
      ub1 kubarec                           @4162     0x23
   sb2 ktuxcflg                             @4164     1 (KTUXCFSK)
   ub2 ktuxcseq                             @4166     0x0054
   sb2 ktuxcnfb                             @4168     0
   ub4 ktuxcinc                             @4172     0x00000000
   sb2 ktuxcchd                             @4176     89
   sb2 ktuxcctl                             @4178     69
   ub2 ktuxcmgc                             @4180     0x8002
   ub4 ktuxcopt                             @4188     0x7ffffffe
   struct ktuxcfbp[0], 12 bytes             @4192    
      struct ktufbuba, 8 bytes              @4192    
         ub4 kubadba                        @4192     0x00000000
         ub2 kubaseq                        @4196     0x0054
         ub1 kubarec                        @4198     0x1d
      sb2 ktufbext                          @4200     13
      sb2 ktufbspc                          @4202     1560
   struct ktuxcfbp[1], 12 bytes             @4204    
      struct ktufbuba, 8 bytes              @4204    
         ub4 kubadba                        @4204     0x00000000
         ub2 kubaseq                        @4208     0x0054
         ub1 kubarec                        @4210     0x16
      sb2 ktufbext                          @4212     13
      sb2 ktufbspc                          @4214     5098
   struct ktuxcfbp[2], 12 bytes             @4216    
      struct ktufbuba, 8 bytes              @4216    
         ub4 kubadba                        @4216     0x00000000
         ub2 kubaseq                        @4220     0x0043
         ub1 kubarec                        @4222     0x10
      sb2 ktufbext                          @4224     13
      sb2 ktufbspc                          @4226     6106
   struct ktuxcfbp[3], 12 bytes             @4228    
      struct ktufbuba, 8 bytes              @4228    
         ub4 kubadba                        @4228     0x00000000
         ub2 kubaseq                        @4232     0x0000
         ub1 kubarec                        @4234     0x00
      sb2 ktufbext                          @4236     0
      sb2 ktufbspc                          @4238     0
   struct ktuxcfbp[4], 12 bytes             @4240    
      struct ktufbuba, 8 bytes              @4240    
         ub4 kubadba                        @4240     0x00000000
         ub2 kubaseq                        @4244     0x0000
         ub1 kubarec                        @4246     0x00
      sb2 ktufbext                          @4248     0
      sb2 ktufbspc                          @4250     0

BBED> 


--//修改之后再次启动数据库
SQL> startup
ORACLE instance started.

Total System Global Area  242208768 bytes
Fixed Size                  2227176 bytes
Variable Size             184550424 bytes
Database Buffers           50331648 bytes
Redo Buffers                5099520 bytes
Database mounted.
Database opened.
SQL> 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值