ITPub博客

首页 > 数据库 > Oracle > transaction_does_not_exist故障实战

transaction_does_not_exist故障实战

原创 Oracle 作者:yangqi2015 时间:2015-05-10 21:47:10 0 删除 编辑

故障现象:

Problem Summary 
--------------------------------------------------- 
ORA-24756: transaction does not exist 

Problem Description 
--------------------------------------------------- 
ORA-24756: transaction does not exist 

Error Codes 
--------------------------------------------------- 
ORA-24756: transaction does not exist 

Problem Category/Subcategory 
--------------------------------------------------- 
Application Development (SQL, Wrong Query Results, PLSQL, XML Database, XDK, JVM, Pro*C, OCI, OCCI, XA)/Wrong or Incorrect Query Results 

Uploaded Files 
--------------------------------------------------- 


Verified the issue in the log file as noted below: 

LOG FILE 
----------------------- 
Filename =alert_yangqi01_pri.log 
See the following error: 

Sun May 03 15:01:18 2015 
Errors in file /u01/app/oracle/diag/rdbms/sh_yangqi01/yangqi01/trace/yangqi01_reco_16228.trc: 
ORA-24756: transaction does not exist 
Errors in file /u01/app/oracle/diag/rdbms/sh_yangqi01/yangqi01/trace/yangqi01_reco_16228.trc: 
ORA-24756: transaction does not exist 

<<<...truncated...>> 

Tue May 05 11:20:54 2015 
Errors in file /u01/app/oracle/diag/rdbms/sh_yangqi01/yangqi01/trace/yangqi01_reco_16228.trc: 
ORA-24756: transaction does not exist 
Errors in file /u01/app/oracle/diag/rdbms/sh_yangqi01/yangqi01/trace/yangqi01_reco_16228.trc: 
ORA-24756: transaction does not exist 
Errors in file /u01/app/oracle/diag/rdbms/sh_yangqi01/yangqi01/trace/yangqi01_reco_16228.trc: 
ORA-24756: transaction does not exist 
Errors in file /u01/app/oracle/diag/rdbms/sh_yangqi01/yangqi01/trace/yangqi01_reco_16228.trc: 
ORA-24756: transaction does not exist 


total 11436 times reported in current alert.log 

 

 

 

File_name=/yangqi01_reco_16228.trc 
See the following information 
========================== 

System name: Linux 
Node name: yangqiDB01 
Release: 2.6.18-238.el5 
Version: #1 SMP Sun Dec 19 14:22:44 EST 2010 
Machine: x86_64 
VM name: VMWare Version: 6 
Instance name: yangqi01 
Redo thread mounted by this instance: 1 
Oracle process number: 16 
Unix process pid: 16228, image: oracle@yangqiDB01 (RECO) 


*** 2015-05-03 15:01:18.778 
*** SESSION ID:(1025.1) 2015-05-03 15:01:18.778 
*** CLIENT ID:() 2015-05-03 15:01:18.778 
*** SERVICE NAME:(SYS$BACKGROUND) 2015-05-03 15:01:18.778 
*** MODULE NAME:() 2015-05-03 15:01:18.778 
*** ACTION NAME:() 2015-05-03 15:01:18.778 


*** TRACE FILE RECREATED AFTER BEING REMOVED *** 


*** 2015-05-03 15:01:18.778 
ERROR, tran=11.10.2006534, ose=0: 
ORA-24756: transaction does not exist 

*** 2015-05-03 15:01:18.778 
ERROR, tran=11.10.2006534, session#=1, ose=0: 
ORA-24756: transaction does not exist 

<<<...truncated...>> 

*** 2015-05-05 11:20:54.880 
ERROR, tran=11.7.2013405, ose=0: 
ORA-24756: transaction does not exist 

*** 2015-05-05 11:20:54.880 
ERROR, tran=11.7.2013405, session#=1, ose=0: 
ORA-24756: transaction does not exist 

 

 

问题原因:

Note: This is INTERNAL ONLY research.  No action should be taken by the customer on this information. 
This is research only, and may NOT be applicable to your specific situation. 


Searched on: 

KNOWLEDGE 
------------------------------------ 
Keyword: 


Bug 19201866 - RECO reports ORA-24756 repeatedly into trace file ( Doc ID 19201866.8 ) 
Rediscovery Notes 
If RECO is getting ORA-24756 over and over, and if database links include one 
which goes to a different database which then goes via a database link back 
to the original database, it could be this issue. 

 

问题所需提交信息设置:

 

你遇到的错误ORA=24756疑似是 Bug 19201866 ,为了进一步排查这个问题。请执行下面的步骤并上传db_info.html到SR。 

Action Plan 
=============== 
SQL> conn /as sysdba 
set feed on pagesize 50 line 200 head off time on timing on 

SQL>set LONG 9999 pagesize 200 
SQL> set markup html on spool on 
SQL> spool db_info.html 
SQL> SET echo on 
SQL> select count(*) from pending_trans$; 
SQL> select * from pending_trans$; 
SQL> select * from DBA_DB_LINKS; 

SQL> spool off 
SQL> set markup html off 

and upload db_info.html to the SR 

 

 

 

提交的信息:

 

File_name=db_info.html 
See the following information 
============ 
14:28:53 SQL> set echo on 
14:29:02 SQL> select count(*) from pending_trans$; 
2 
1 row selected. 

Elapsed: 00:00:00.00 14:29:23 

SQL> select * from pending_trans$; 
11.7.2013405 306206 IM.3ce8734b.2.8.5550 committed P 00000001 00000001 0 2015-05-04 17:36:26 2015-05-05 11:20:54 IM oracle imdb01 5981348716218
11.10.2006534 306206 IM.3ce8734b.6.33.5532 committed P 00000001 00000001 0 2015-05-03 15:01:18 2015-05-05 14:12:34 IM oracle imdb01 5981347770744
2 rows selected. 

Elapsed: 00:00:00.00 14:30:20 SQL> select * from dba_db_links; 
AGENCY ERP ERP 192.168.11.185:1521/esmprod 2014-08-26 10:08:33 
PUBLIC WECHATPROD WECHAT (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.11.169)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME =yangqi02) ) ) 2014-11-14 17:42:45 
PUBLIC IM IM (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.77)(PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME=yangqi) ) ) 2015-03-25 21:52:51 
3 rows selected. 

Elapsed: 00:00:00.01 14:30:37 SQL> spool off 

 

 

 

解决方案(3种):

 

To resolve the issue, there are 3 options: 

Option 1: Apply one-off patch 19201866. It does not conflict with existing patches. 

To implement the solution, please execute the following steps: 
1). Download and review the readme and pre-requisites for Patch 19201866. 
Download URL: 
https://updates.oracle.com/download/19201866.html 


2). Ensure that you have taken a backup of your system before applying 
the recommended patchset. 

3). Apply the patchset in a test environment. 

4). Retest the issue. 

5). Migrate the solution as appropriate to other environments. 

~OR~ 

Option 2: Upgrade to 12.2 or higher. 
Please refer: 
Bug 19201866 - RECO reports ORA-24756 repeatedly into trace file ( Doc ID 19201866.8 ) 

~OR~ 

Option 3: 
As a workaround, Restart the instance. 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30230358/viewspace-1633754/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2015-05-01

  • 博文量
    9
  • 访问量
    15316