案例环境:

操作系统版本: Red Hat Enterprise Linux ES release 4

数据库版本  : 10.2.0.4.0 32 bit

案例介绍:

今天我执行stop_oracle.sh脚本关闭数据库时遭遇了ORA-00600: internal error code, arguments: [LibraryCacheNotEmptyOnClose], [], [], [], [], [], [], []. 其中stop_oracle.sh脚本内容如下

lsnrctl stop LISTENER

 

sleep 15

 

sqlplus /nolog <<EOF

 

conn / as sysdba;

 

alter system switch logfile;

 

alter system checkpoint;

 

shutdown immediate;

 

exit

 

EOF

 

具体细节如下所示:

./stop_oracle.sh 

 

LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 08-JUL-2014 23:52:13

 

Copyright (c) 1991, 2007, Oracle. All rights reserved.

 

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))

 

The command completed successfully

 

SQL*Plus: Release 10.2.0.4.0 - Production on Tue Jul 8 23:52:32 2014

 

Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

 

SQL> Connected.

 

SQL> 

 

System altered.

 

SQL> 

 

System altered.

 

SQL> Database closed.

 

Database dismounted.

 

ORA-00600: internal error code, arguments: [LibraryCacheNotEmptyOnClose], [], [], [], [], [], [], []

 

SQL> Disconnected from Oracle Database 10g Release 10.2.0.4.0 - Production

 

搜索了一下metalink,发现这个是ORACLE 10g/ 11g特别版本中的一个bug来的,原因是当数据库关闭后,仍然有对象在库缓存中。 这并不表示系统中有任何损坏或有问题。可以忽略或打补丁升级。这个bug在10.2.0.5, 11.2.0.1中被修复了。

CAUSE

This may be due to unpublished Bug 4483084 - ORA-600 [LIBRARYCACHENOTEMPTYONCLOSE]

This is a bug in that an ORA-600 error is reported during shutdown, after database close because there are still objects in the library cache.

It does not indicate any damage or a problem in the system.

There is a separate issue,

Bug 7572335 - ORA-600 [LIBRARYCACHENOTEMPTYONCLOSE] / ORA-600 [730] DURING SHUTDOWN

which can occur if child cursors are still marked 'KEPT' in the library cache at shutdown.

If you are not sure which issue you are encountering, please submit your traces to Global Software Support.

Bug 4483084 is fixed in 11.1.0.6.

Please refer to

Note 4483084.8 - Bug 4483084 - ORA-600 [LibraryCacheNotEmptyOnClose] on shutdown

Due to the nature of the fix, it is not possible to backport to earlier releases.

Bug 7572335 is fixed in 11.2 and 10.2.0.5 but there are also interim patches available on top of 10.2.0.4 and 11.1.0.7.

Please refer to

Note 7572335.8 - Bug 7572335 - ORA-600 [LibraryCacheNotEmptyOnClose] during shutdown

SOLUTION

The error can be safely ignored as it does not indicate a problem with the database.

If the database appears hung on the shutdown, or to avoid the error, use the following shutdown commands:

shutdown abort

startup restrict

shutdown immediate

To addres Bug 7572335, you can also apply interim Patch 7572335 if available for your platform and Oracle version.

To check for conflicting patches, please use the MOS Patch Planner Tool

Please refer to

Note 1317012.1 - How To Use MOS Patch Planner To Check And Request The Conflict Patches?

Bug 7572335  ORA-600 [LibraryCacheNotEmptyOnClose] during shutdown

This note gives a brief overview of bug 7572335.  The content was last updated on: 14-AUG-2012
Click here for details of each of the sections below.

Affects:

Product (Component)

Oracle Server (Rdbms)

Range of versions believed to be affected

Versions BELOW 11.2

Versions confirmed as being affected

Platforms affected

Generic (all / most platforms affected)

Fixed:

Description

ORA-600 [LibraryCacheNotEmptyOnClose] / ORA_600 [730] error may occur if  cursors are marked kept in the shared pool.

Rediscovery Notes:

Check a library_cache dump to see if objects are marked as kept (KEP).

Please note: The above is a summary description only. Actual symptoms can vary. Matching to any symptoms here does not confirm that you are encountering this problem. For questions about this bug please consult Oracle Support.

References

Bug:7572335 (This link will only work for PUBLISHED bugs)
                 Note:245840.1 Information on the sections in this article

ORA-00600: internal error code, arguments: [LibraryCacheNotEmptyOnClose]的更多相关文章

  1. ORA-00600: internal error code, arguments: [4194]

    使用PlateSpin复制出来的一数据库服务器(Oracle 10g)在启动数据库实例时遇到"ORA-00600: internal error code, arguments: [4194 ...

  2. ORA-00600: internal error code, arguments: [17281], [1001], [0x1FF863EE8], [], [], [], [], []

    我们生产服务器中的一个数据库发出监控告警日志的邮件,内容如下所示,在31号09:11分出现了大名鼎鼎的ORA-00600错误. Dear All: The Instance xxx' alert lo ...

  3. ORA-00600: internal error code, arguments: [2662]

    转自 http://www.eygle.com/archives/2005/12/oracle_diagnostics_howto_deal_2662_error.html 在ORA-00600 22 ...

  4. ORA-00600: internal error code, arguments: [13030], [20]一例解决

    两年没有接触oracle了,中午,一环境update from的时候出现ORA-00600: internal error code, arguments: [13030], [20]异常,经查,官网 ...

  5. ORA-00600: internal error code, arguments: [kdBlkCheckError]

    ORA-00600: internal error code, arguments: [kdBlkCheckError] Table of Contents 1. 现象 2. 分析 3. 故障处理 1 ...

  6. 07 oracle 归档模式 inactive/current redo log损坏修复--以及错误ORA-00600: internal error code, arguments: [2663], [0], [9710724], [0], [9711142], [], [], [], [], [], [], []

    07 oracle 归档模式 inactive/current redo log损坏修复--以及错误ORA-00600: internal error code, arguments: [2663], ...

  7. ORA-00600: internal error code, arguments: [SKGMFAIL], [2], [4], [4], [1], [], [], [], [], [], [], [

    ORA-00600: internal error code, arguments: [SKGMFAIL], [2], [4], [4], [1], [], [], [], [], [], [], [ ...

  8. ORA-00600: internal error code, arguments: [kcratr1_lastbwr], [], [], [], [], [], [], []

    今天在PlateSpin Forge(关于PlateSpin相关介绍,请见最下面部分简单介绍) 复制出来的一台数据库服务器上,测试数据库能否正常启动时,遇到了"ORA-00600: inte ...

  9. ORA-00600: internal error code, arguments: [kcblasm_1], [103], [], [], [], [], [], []

    一ORACLE 10.2.0.5.0 标准版的数据库的告警日志出现ORA-00600错误,具体错误信息如下所示 Errors in file /u01/app/oracle/admin/SCM2/bd ...

随机推荐

  1. 虚拟机利用Host-only实现在不插网线的情况下,虚拟机与主机实现双向通信,实现ssh连接以及samba服务实现共享

    为了不影响其他的虚拟网卡,我们在VMware下在添加一块虚拟网卡: 然后点击Next,选择连接方式: 点击Finish即可. 重新启动虚拟机,如果这是你手动添加的第一块虚拟网卡,那么应该是eth1. ...

  2. 1Z0-053 争议题目解析686

    1Z0-053 争议题目解析686 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 686.You execute the following FLASHBACK TABLE com ...

  3. chrome浏览器的跨域设置——包括版本49前后两种设置

    做前后分离的webapp开发的时候,出于一些原因往往需要将浏览器设置成支持跨域的模式,好在chrome浏览器就是支持可跨域的设置,网上也有很多chrome跨域设置教程.但是新版本的chrome浏览器提 ...

  4. 30行代码让你理解angular依赖注入:angular 依赖注入原理

    依赖注入(Dependency Injection,简称DI)是像C#,java等典型的面向对象语言框架设计原则控制反转的一种典型的一种实现方式,angular把它引入到js中,介绍angular依赖 ...

  5. 深入浅出JS的封装与继承

    JS虽然是一个面向对象的语言,但是不是典型的面向对象语言.Java/C++的面向对象是object - class的关系,而JS是object - object的关系,中间通过原型prototype连 ...

  6. C#获得MAC地址(网卡序列号)代码

    代码如下: //获得网卡序列号 //MAc地址 http://www.cnblogs.com/sosoft/ public string GetMoAddress() { string MoAddre ...

  7. compilation与编译

    关于本配置节的内容不算多,但关于ASP.NET编译的内容还是有一点的,鄙人认为只是了解一下即可,主要影响到部署. 在 App_Code 文件夹中使用多种编程语言 因为 App_Code 文件夹中的源代 ...

  8. PetaPoco4.0的事务为什么不会回滚

    using (var srop=DbHelper.CurrentDb.GetTransaction()) { ID = bp.AddModel(model).ToStr(); #region 参与楼盘 ...

  9. js动态的把左边列表添加到右边,可上下移动。

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...

  10. 线程池深入(li)

    java线程池.在jdk5之后为我们提供了线程池,只需要使用API,不用去考虑线程池里特殊的处理机制.jdk5线程池分好多种,固定尺寸的线程池.可变尺寸连接池等.常用的是ThreadPoolExecu ...