ORA-00600: internal error code, arguments: [LibraryCacheNotEmptyOnClose]_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 3316 | 回复: 0   主题: ORA-00600: internal error code, arguments: [LibraryCacheNotEmptyOnClose]        下一篇 
潇湘隐者
注册用户
等级:少校
经验:871
发帖:52
精华:2
注册:2014-3-29
状态:离线
发送短消息息给潇湘隐者 加好友    发送短消息息给潇湘隐者 发消息
发表于: IP:您无权察看 2014-7-12 23:43:12 | [全部帖] [楼主帖] 楼主

如果你觉得帖子格式比较凌乱,请参考下面附件或我博客http://www.cnblogs.com/kerrycode/p/3839619.html

案例环境:

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

数据库版本 : 10.2.0.4.0 32 bit

案例介绍:

今天关闭数据库时遭遇了ORA-00600: internal error code, arguments:

[LibraryCacheNotEmptyOnClose], [], [], [], [], [], [], []


我执行stop_oracle.sh脚本关闭数据库,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
Clickhere 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


· 
 11.1.0.7

· 
 10.2.0.4


Platforms affected


Generic
 (all / most platforms affected)

Fixed:


 
 
 
 
 


This issue is fixed in


· 
 11.2.0.1 (Base Release)

· 
 10.2.0.5 (Server Patch Set)


Symptoms:


Related To:


· 
 Internal Error May Occur (ORA-600)

· 
 ORA-600 [LibraryCacheNotEmptyOnClose]

· 
 ORA-600 [730]


· 
 PL/SQL (DBMS Packages)

· 
 DBMS_SHARED_POOL

Description
ORA-600
[LibraryCacheNotEmptyOnClose] / ORA_600 [730] error may occur if
c
cursors
are marked kept in the shared pool.
R
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
Known
Bugs

You can
restrict the list below to issues likely to affect one of the following
versions by clicking the relevant button:
The list
below is restricted to show only bugs believed to affect version 10.2.0.4.

Other
bugs may affect this version but have not been confirmed as being relevant yet.

There
are 2 bugs listed.


 
 
 
 


NB


Bug


Fixed


Description


7572335


10.2.0.5,
 11.2.0.1


ORA-600
 [LibraryCacheNotEmptyOnClose] during shutdown


4483084


11.1.0.6


ORA-600
 [LibraryCacheNotEmptyOnClose] on shutdown


该贴被潇湘隐者编辑于2014-7-12 23:47:19

该贴由hui.chen转至本版2014-11-5 16:24:16

  ORA-00600 2.doc (2014-07-12 23:45,  0.022 M)
该附件被下载的次数 0




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论