2)ORA-00600 [4000], [2411], [], [], [], [], [], []
执行select * from dba_jobs,也会提示ORA-00600错误,然后数据库down掉。
后台日志如下:
- Mon Oct 15 14:55:01 2012
- Errors in file /opt/ora10g/product/10.2.0/admin/tftdb/bdump/tftdb_cjq0_4293.trc:
- ORA-00600: internal error code, arguments: [4000], [2411], [], [], [], [], [], []
二、解决方案
既然select * from smon_scn_time where rownum<1000可以执行,<2000就报错。那么最有可能,就是smon_scn_time表中数据有问题。
可尝试备份全库后,清空该表。
- sql> conn / as sysdba
- sql> alter system set events '12500 trace name context forever, level 10';
- --禁用SMON记录SCN与TIME的MAP。
- sql> delete from sys.smon_scn_time;
- delete from sys.smon_scn_time
- *
- ERROR at line 1:
- ORA-00600: internal error code, arguments: [4000], [2521], [], [], [], [], [],
- []
- sql> truncate cluster sys.smon_scn_to_time;
- sql>alter system set events '12500 trace name context off';
- sql>shutdown immediate;
- sql>startup
重启数据库后,ORA-00600 [4000], [2426], [], [], [], [], [], []不再出现,但ORA-00600 [4000], [2411], [], [], [], [], [], []依然报错。如下:
- ARC1: STARTING ARCH PROCESSES COMPLETE
- ARC1: Becoming the heartbeat ARCH
- ARC2 started with pid=18, OS id=5087
- Mon Oct 15 16:17:41 2012
- Successfully onlined Undo Tablespace 1.
- Mon Oct 15 16:17:41 2012
- SMON: enabling tx recovery
- Mon Oct 15 16:17:41 2012
- Database Characterset is ZHS16GBK
- replication_dependency_tracking turned off (no async multimaster replication found)
- Mon Oct 15 16:17:41 2012
- Errors in file /opt/ora10g/product/10.2.0/admin/tftdb/udump/tftdb_ora_5081.trc:
- ORA-00600: internal error code, arguments: [4000], [2411], [], [], [], [], [], []
- Starting background process QMNC
- QMNC started with pid=19, OS id=5089
- Mon Oct 15 16:17:42 2012
- db_recovery_file_dest_size of 2048 MB is 49.06% used. This is a
- user-specified limit on the amount of space that will be used by this
- database for recovery-related files, and does not reflect the amount of
- space available in the underlying filesystem or ASM diskgroup.
- Mon Oct 15 16:17:42 2012
- Completed: ALTER DATABASE OPEN
- Mon Oct 15 16:17:42 2012
- Errors in file /opt/ora10g/product/10.2.0/admin/tftdb/bdump/tftdb_cjq0_5070.trc:
- ORA-00600: internal error code, arguments: [4000], [2411], [], [], [], [], [], []
- Mon Oct 15 16:17:42 2012
- Errors in file /opt/ora10g/product/10.2.0/admin/tftdb/bdump/tftdb_cjq0_5070.trc:
- ORA-00600: internal error code, arguments: [4000], [2411], [], [], [], [], [], []
- Mon Oct 15 16:17:42 2012
- Errors in file /opt/ora10g/product/10.2.0/admin/tftdb/bdump/tftdb_cjq0_5070.trc:
- ORA-00600: internal error code, arguments: [4000], [2411], [], [], [], [], [], []
- Mon Oct 15 16:17:43 2012
跟踪文件信息如下:
-
- /opt/ora10g/product/10.2.0/admin/tftdb/udump/tftdb_ora_5081.trc
-
- Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
- With the Partitioning, OLAP and Data Mining options
- ORACLE_HOME = /opt/ora10g/product/10.2.0/db_1
- System name: Linux
- Node name: node1
- Release: 2.6.18-194.el5
- Version: #1 SMP Tue Mar 16 21:52:43 EDT 2010
- Machine: i686
- Instance name: tftdb
- Redo thread mounted by this instance: 1
- Oracle process number: 15
- Unix process pid: 5081, image: oracle@node1 (TNS V1-V3)
- *** SERVICE NAME:(SYS$USERS) 2012-10-15 16:17:41.308
- *** SESSION ID:(159.3) 2012-10-15 16:17:41.308
- tkcrrsarc: (WARN) Failed to find ARCH for message (message:0x1)
- tkcrrpa: (WARN) Failed initial attempt to send ARCH message (message:0x1)
- *** 2012-10-15 16:17:41.590
- ksedmp: internal or fatal error
- ORA-00600: internal error code, arguments: [4000], [2411], [], [], [], [], [], []
- Current SQL statement for this session:
- select count(*) from dba_jobs where what = 'sys.dbms_aqadm_sys.register_driver();' and instance = :1
- ----- Call Stack Trace -----
- calling call entry argument values in hex
- location type point (? means dubious value)
- -------------------- -------- -------------------- ----------------------------
- ksedst()+27 call ksedst1() 0 ? 1 ?
- ksedmp()+557 call ksedst() 0 ? 13 ? CBD2D20 ? 2A ?
- CBD2D20 ? 2A ?
- ksfdmp()+19 call ksedmp() 3 ? BFB0C3CC ? AC152A0 ?
查询dba_jobs仍然会引起数据库down掉。
看来DBA_JOBS表也有点问题,删除该表数据,然后重建作业。
数据库恢复正常。不在出现上述ORA-00600错误。
