有一个朋友数据库启动报错ORA-03113
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for Linux: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
SQL> startup
ORACLE instance started.
Total System Global Area 1610612736 bytes
Fixed Size 2096632 bytes
Variable Size 385876488 bytes
Database Buffers 1207959552 bytes
Redo Buffers 14680064 bytes
Database mounted.
ORA-03113: end-of-file on communication channel
alert日志报ORA-7445 lmebucp()+24错误
Sun Apr 08 08:05:07 CST 2018
ALTER DATABASE MOUNT
Sun Apr 08 08:05:11 CST 2018
Setting recovery target incarnation to 2
Sun Apr 08 08:05:11 CST 2018
Successful mount of redo thread 1, with mount id 2650526067
Sun Apr 08 08:05:11 CST 2018
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Sun Apr 08 08:05:11 CST 2018
ALTER DATABASE OPEN
Sun Apr 08 08:05:11 CST 2018
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: /u01/app/oracle/oradata/t10g/redo01.log
Successful open of redo thread 1
Sun Apr 08 08:05:11 CST 2018
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Sun Apr 08 08:05:11 CST 2018
SMON: enabling cache recovery
Sun Apr 08 08:05:11 CST 2018
Errors in file /u01/app/oracle/admin/t10g/udump/t10g_ora_32810.trc:
ORA-07445: exception encountered: core dump [lmebucp()+24] [SIGSEGV] [Address not mapped to object] [0x000000000] [] []
对应trace文件
Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x37e6418, lmebucp()+24]
*** 2014-04-08 08:05:11.793
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [lmebucp()+24] [SIGSEGV] [Address not mapped to object] [0x000000000] [] []
Current SQL statement for this session:
ALTER DATABASE OPEN
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
-------------------- -------- -------------------- ----------------------------
ksedst()+31 call ksedst1() 000000000 ? 000000001 ?
7F4238A22BD0 ? 7F4238A22C30 ?
7F4238A22B70 ? 000000000 ?
ksedmp()+610 call ksedst() 000000000 ? 000000001 ?
7F4238A22BD0 ? 7F4238A22C30 ?
7F4238A22B70 ? 000000000 ?
ssexhd()+629 call ksedmp() 000000003 ? 000000001 ?
7F4238A22BD0 ? 7F4238A22C30 ?
7F4238A22B70 ? 000000000 ?
__restore_rt()+0 call ssexhd() 00000000B ? 7F4238A23BF0 ?
7F4238A23AC0 ? 7F4238A22C30 ?
7F4238A22B70 ? 000000000 ?
lmebucp()+24 signal __restore_rt() 000000000 ? 000008C00 ?
7FFF0F778790 ? 000000009 ?
000000000 ? 00000000D ?
kqlbebs()+1468 call lmebucp() 000000000 ? 000008C00 ?
7FFF0F778790 ? 000000009 ?
000000000 ? 00000000D ?
kqlblfc()+172 call kqlbebs() 000000000 ? 0BC119DE0 ?
7FFF0F778790 ? 000000009 ?
000000000 ? 00000000D ?
adbdrv()+58009 call kqlblfc() 000000000 ? 7FFF0F77F610 ?
7FFF0F778790 ? 000000009 ?
000000000 ? 00000000D ?
opiexe()+13745 call adbdrv() 000000000 ? 7FFF0F77F610 ?
0B9FFF9A8 ? 000000009 ?
000000000 ? 00000000D ?
opiosq0()+3398 call opiexe() 000000004 ? 000000000 ?
7FFF0F7807CC ? 000000001 ?
000000000 ? 00000000D ?
kpooprx()+318 call opiosq0() 000000003 ? 00000000E ?
7FFF0F780AF8 ? 0000000A4 ?
000000000 ? 600000013 ?
kpoal8()+783 call kpooprx() 7FFF0F783CDC ? 7FFF0F781D30 ?
000000013 ? 000000001 ?
000000000 ? 600000013 ?
opiodr()+1184 call kpoal8() 00000005E ? 000000017 ?
7FFF0F783CD8 ? 000000001 ?
000000001 ? 600000013 ?
ttcpip()+1226 call opiodr() 00000005E ? 000000017 ?
7FFF0F783CD8 ? 000000000 ?
005BEBD70 ? 600000013 ?
opitsk()+1310 call ttcpip() 006AF1FB0 ? 0054A6760 ?
7FFF0F783CD8 ? 000000000 ?
7FFF0F7837D8 ? 7FFF0F783E40 ?
opiino()+1024 call opitsk() 000000003 ? 000000000 ?
7FFF0F783CD8 ? 000000001 ?
000000000 ? 721000200000001 ?
opiodr()+1184 call opiino() 00000003C ? 000000004 ?
7FFF0F784ED8 ? 000000001 ?
000000000 ? 721000200000001 ?
opidrv()+548 call opiodr() 00000003C ? 000000004 ?
7FFF0F784ED8 ? 000000000 ?
005BEB820 ? 721000200000001 ?
sou2o()+114 call opidrv() 00000003C ? 000000004 ?
7FFF0F784ED8 ? 000000000 ?
005BEB820 ? 721000200000001 ?
opimai_real()+163 call sou2o() 7FFF0F784EB0 ? 00000003C ?
000000004 ? 7FFF0F784ED8 ?
005BEB820 ? 721000200000001 ?
main()+116 call opimai_real() 000000002 ? 7FFF0F784F40 ?
000000004 ? 7FFF0F784ED8 ?
005BEB820 ? 721000200000001 ?
__libc_start_main() call main() 000000002 ? 7FFF0F784F40 ?
+244 000000004 ? 7FFF0F784ED8 ?
005BEB820 ? 721000200000001 ?
_start()+41 call __libc_start_main() 00072D108 ? 000000002 ?
7FFF0F785098 ? 000000000 ?
005BEB820 ? 000000002 ?
--------------------- Binary Stack Dump ---------------------
10046定位语句
SQL> staRTUP MOUNT
ORACLE instance started.
Total System Global Area 1610612736 bytes
Fixed Size 2096632 bytes
Variable Size 385876488 bytes
Database Buffers 1207959552 bytes
Redo Buffers 14680064 bytes
Database mounted.
SQL> oradebug setmypid
Statement processed.
SQL> alter session set events '10046 trace name context forever, level 12';
Session altered.
SQL> oradebug tracefile_name
/u01/app/oracle/admin/t10g/udump/t10g_ora_32908.trc
SQL> alter database open;
ERROR:
ORA-03113: end-of-file on communication channel
SQL>
PARSING IN CURSOR #2 len=55 dep=1 uid=0 oct=3 lid=0 tim=1463569438249596 hv=2111436465 ad='beb13e10'
select line#, sql_text from bootstrap$ where obj# != :1
END OF STMT
PARSE #2:c=0,e=471,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=4,tim=1463569438249594
BINDS #2:
kkscoacd
Bind#0
oacdty=02 mxl=22(22) mxlc=00 mal=00 scl=00 pre=00
oacflg=08 fl2=0001 frm=00 csi=00 siz=24 off=0
kxsbbbfp=7f8f940fadc0 bln=22 avl=02 flg=05
value=56
EXEC #2:c=2000,e=61246,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=4,tim=1463569438310929
WAIT #2: nam='db file sequential read' ela= 41 file#=1 block#=377 blocks=1 obj#=56 tim=1463569438311099
WAIT #2: nam='db file scattered read' ela= 73 file#=1 block#=378 blocks=3 obj#=56 tim=1463569438311528
FETCH #2:c=1000,e=775,p=4,cr=5,cu=0,mis=0,r=0,dep=1,og=4,tim=1463569438311772
Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x37e6418, lmebucp()+24]
*** 2018-04-08 08:11:44.840
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [lmebucp()+24] [SIGSEGV] [Address not mapped to object] [0x000000000] [] []
Current SQL statement for this session:
alter database open
通过这里基本上可以定位,报错是由于bootstrap$中对象异常导致。由于该对象比较特殊,使用一些特殊方法进行处理,数据库正常启动成功。如果需要相关技术支持请联系我们,提供专业ORACLE数据库恢复技术支持
Phone:17813235971 Q Q:107644445 E-Mail:dba@xifenfei.com