author:skate
time :2009/03/11
os:centos4.7
db:oracle10g r2
前端程序报错
ORA-12571:TNS:包复写器失效
说明:
ORA-12571的错误信息是表示网络包由于某种原因而不能传输
一般报ORA-12571的错误是有以下几个原因
1.如果你想要通过防火墙来访问数据库,那么防火墙的错误配置可能
导致Oracle连接断开。当你探测1521端口的监听器时,监听器不理
睬你的连接,而只专心于某一个服务器过程。你可以通过一个新的
、随机的端口与那个服务器进程进行通信。防火墙可能阻止了这个
新端口的通信。这就可能会影响到你的连接。
2.可能是与网络相关,网络连接中断导致问题的出现
3.当工作站上的探测软件或者个人防火墙无意间导致了你的网络通信
出现问题。删除探测软件或者正确地配置个人防火墙,可以解决这个问题。
4.SQLNET.ORA文件的不正确配置也可能导致问题。删除你的客户端和你的数
据库服务器上SQLNET.ORA 文件中SQLNET.EXPIRE_TIME=0这 一条。
注释:SQLNET.EXPIRE_TIME是oracle死联接检测自动检测的间隔时间
参考资料:http://oracle.chinaitlab.com/exploiture/398192.html
然后查alter.log文件发现报如下错误
ORA-00600: internal error code, arguments: [ksuinfos_modact1], [], [], [], [], [], [], []
这个错误根本google不到,咨询群里的朋友,他们帮我meatink,发现是oracle的一个bug
如下:
Subject: ORA-600 [Ksuinfos_modact1] ORA-2396
Doc ID: 740860.1 Type: PROBLEM
Modified Date : 04-MAR-2009 Status: MODERATED
In this Document
Symptoms
Cause
Solution
References
--------------------------------------------------------------------------------
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV)
process, and therefore has not been subject to an independent technical review.
Applies to:
Oracle Server Enterprise Edition - Version: 10.2.0.3
This problem can occur on any platform.
Oracle Server - Enterprise Edition - Version: 10.2.0.3
Symptoms
In the alert log is reported the error:
ORA-600: [ksuinfos_modact1], [], [], [],[], [], [], []
The Call Stack is:
ksuinfos_modact kzctxsap opiodr ttcpip opitsk opiino opiodr
In the trace file is not reported the failing statement but is reported the error:
ORA-2396: exceeded max Idle Time, please connect again
There can be other errors reported in the trace file causing this error, such as
ORA-28 "your session has been killed".
Cause
The internal error is raised as a consequence of ORA-2396 error.
This one is reported when a user has exceeded the maximum time allowed to remain idle.
The user must reconnect to the database.
Solution
To avoid the error:
1. set the IDLE_TIME time for a user profile higher or UNLIMITED.
References
Note 1012356.6 - ORA-2396 CONNECTION ERROR, CANNOT GET ERROR TEXT
根据提示信息我给用户创建了profile
sql > create profile skate_profile limit
idle_time=2;
使profile资源文件生效,否则是不起作用的
sql > alter system set resource_limit=true scope=spfile;
sql > alter user skate profile skate_limit;
改回默认值是
sql > alter user skate profile default;
经过上面的设置后发现,没再报错
----end -----