12
返回列表 发新帖
楼主: oradbHome

ORA-02068: following severe error from REMOTEDB

[复制链接]
论坛徽章:
68
2015年新春福章
日期:2015-03-06 11:57:31奥运会纪念徽章:手球
日期:2012-09-13 15:50:49奥运会纪念徽章:水球
日期:2012-08-26 20:46:49版主1段
日期:2012-05-15 15:24:112012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-01-04 11:49:54
11#
发表于 2010-5-27 01:52 | 只看该作者
I suspect it is network related issue. there is way to trace network issue by oracle, search metalink

使用道具 举报

回复
论坛徽章:
97
ITPUB元老
日期:2008-06-30 12:48:39暖羊羊
日期:2015-03-04 14:50:372015年新春福章
日期:2015-03-06 11:57:312010数据库技术大会纪念徽章
日期:2015-04-23 10:33:192011数据库大会纪念章
日期:2015-04-23 10:33:192012数据库大会纪念章
日期:2015-04-23 10:33:192013数据库大会纪念章
日期:2015-04-23 10:33:192014数据库大会纪念章
日期:2015-04-23 10:33:19林肯
日期:2013-10-31 12:31:382013年新春福章
日期:2013-02-25 14:51:24
12#
 楼主| 发表于 2010-5-27 09:40 | 只看该作者
原帖由 Yong Huang 于 2010-5-27 01:05 发表
Any other error? ORA-2068 is too generic.

If it's reproducible, or happens very frequently, do SQL trace on the local session and also the remote session. If that doesn't reveal anything (after the error occurs), you probably have to try SQL*Net trace. Reading that trace file is not easy.

Yong Huang


Thanks.

There is only error ORA-02068 and ORA-03135

when happens , I can find out local database session sid , but How I can find out the remote Database session sid ? User db link username and session status is active can to judge the Remote Database session SID ?

the following log  is the local  Database 10046 event .

WAIT #58: nam='SQL*Net message from dblink' ela= 904799061 driver id=1413697536 #bytes=1 p3=0 obj#=115996 tim=1244400514951208
WAIT #58: nam='SQL*Net break/reset to dblink' ela= 2 driver id=1413697536 break?=1 p3=0 obj#=115996 tim=1244400514951282
WAIT #58: nam='SQL*Net break/reset to dblink' ela= 16 driver id=1413697536 break?=0 p3=0 obj#=115996 tim=1244400514951306
ERROR #31:err=2068 tim=2572401936
=====================

[ 本帖最后由 oradbHome 于 2010-5-27 09:46 编辑 ]

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
13#
发表于 2010-5-28 01:32 | 只看该作者
原帖由 oradbHome 于 2010-5-26 19:40 发表
How I can find out the remote Database session sid ? User db link username and session status is active can to judge the Remote Database session SID ?


See message #2 of http://www.itpub.net/thread-1307296-1-1.html

Also, run this SQL in both local and remote DBs as sys:

select /*+ ordered */ substr(s.ksusemnm,1,10)||'-'|| substr(s.ksusepid,1,10) origin, substr(g.k2gtitid_ora,1,35) gtxid, substr(s.indx,1,4)||'.'|| substr(s.ksuseser,1,5) lsession, s.ksuudlna username, substr(decode(bitand(ksuseidl,11), 1,'ACTIVE', 0, decode( bitand(ksuseflg,4096) , 0,'INACTIVE','CACHED'), 2,'SNIPED', 3,'SNIPED', 'KILLED'),1,1) status, e.kslednam waiting
from x$k2gte g, x$ktcxb t, x$ksuse s, x$ksled e
where g.k2gtdxcb=t.ktcxbxba and g.k2gtdses=t.ktcxbses and s.addr=g.k2gtdses and e.indx=s.ksuseopc;

(Original author: an Oracle employee; publicized by Mark Bobak)

使用道具 举报

回复
论坛徽章:
97
ITPUB元老
日期:2008-06-30 12:48:39暖羊羊
日期:2015-03-04 14:50:372015年新春福章
日期:2015-03-06 11:57:312010数据库技术大会纪念徽章
日期:2015-04-23 10:33:192011数据库大会纪念章
日期:2015-04-23 10:33:192012数据库大会纪念章
日期:2015-04-23 10:33:192013数据库大会纪念章
日期:2015-04-23 10:33:192014数据库大会纪念章
日期:2015-04-23 10:33:19林肯
日期:2013-10-31 12:31:382013年新春福章
日期:2013-02-25 14:51:24
14#
 楼主| 发表于 2010-5-28 12:51 | 只看该作者
怪了。 今天一直没有出现这个错误。

使用道具 举报

回复
论坛徽章:
5
ITPUB十周年纪念徽章
日期:2011-11-01 16:26:59ITPUB 11周年纪念徽章
日期:2012-10-10 13:11:14优秀写手
日期:2013-12-18 09:29:132014年新春福章
日期:2014-02-18 16:44:08马上有对象
日期:2014-02-18 16:44:08
15#
发表于 2012-5-16 08:22 | 只看该作者
Tue May 15 20:32:23 2012
Error 2068 trapped in 2PC on transaction 35.3.52382. Cleaning up.
Error stack returned to user:
ORA-02068: following severe error from ADB2
ORA-03113: end-of-file on communication channel

使用道具 举报

回复
论坛徽章:
86
2015中国数据库技术大会纪念徽章
日期:2015-04-24 16:04:24马上有车
日期:2014-02-19 11:55:14马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11优秀写手
日期:2013-12-18 09:29:11日产
日期:2013-10-17 08:44:39马自达
日期:2013-08-26 16:28:022013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-23 16:55:51马上有房
日期:2014-02-19 11:55:14
16#
发表于 2012-5-17 15:54 | 只看该作者
mingdaoblack 发表于 2012-5-16 08:22
Tue May 15 20:32:23 2012
Error 2068 trapped in 2PC on transaction 35.3.52382. Cleaning up.
Error s ...

2PC transaction错误

可以从网络层面看一下,有时候可能只是一次远程网络的闪断,都容易导致类似的问题。

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表