OS:redhat 4.3 x86sql
DB:10.2.0.1數據庫
今天在物化視圖遠程複製的測試中,關閉一數據庫後重啓,出現ora-600報錯,讓咱們分析一下:網絡
[oracle@prod1 ~]$ sqlplus / as sysdbaoracle
SQL*Plus: Release 10.2.0.1.0 – Production on Thu Jul 19 10:54:15 2012app
Copyright (c) 1982, 2005, Oracle. All rights reserved.ide
Connected to an idle instance.測試
SQL> startup
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []spa
查看日誌:日誌
[oracle@prod1 bdump]$ tail -f alert_prod1.log
core_dump_dest = /u01/app/oracle/admin/prod1/cdump
audit_file_dest = /u01/app/oracle/admin/prod1/adump
db_name = prod1
open_cursors = 300
pga_aggregate_target = 94371840
Thu Jul 19 10:54:19 2012
Errors in file /u01/app/oracle/admin/prod1/udump/prod1_ora_4184.trc:
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
USER: terminating instance due to error 600
Instance terminated by USER, pid = 4184code
按照alert日誌提示去udump找錯誤信息
[oracle@prod1 udump]$ tail -f prod1_ora_4184.trc
KCBS: nbseg[15] is 0
KCBS: nbseg[16] is 0
KCBS: nbseg[17] is 0
KCBS: nbseg[18] is 0
KCBS: nbseg[19] is 0
KCBS: Act cnt = 0
KSOLS: Begin dumping all object level stats elements
KSOLS: Done dumping all elements. Exiting.
Dump event group for SESSION
Unable to dump event group – no SESSION state objectDump event group for SYSTEM
經過在metalink上的查詢【Startup Database Produces ORA-00600: [Keltnfy-Ldminit] [ID 336447.1]】該文章提到該錯誤是因爲網絡配置引發的,並建議檢查hosts文件,使我忽然聯想到在關閉重啓以前爲了方便記憶改過一次hostname並只寫進network裏但沒有對hosts文件進行更新。
好,找到問題所在,修改hosts文件,重啓數據庫
[oracle@prod1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 – Production on Thu Jul 19 11:18:39 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 285212672 bytes
Fixed Size 1218992 bytes
Variable Size 71304784 bytes
Database Buffers 209715200 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
SQL>
數據庫正常啓動!
在生產環境中你們切記不可輕易修改主機名,一不當心就會觸發該BUG,若是確實要修改請把新的主機名寫進/etc/hosts和/etc/sysconfig/network這兩個文件。
至此,該ORA-600問題解決!