ORA-02050 ORA-02068 ORA-03113 in apex application shared db link
Dear all,
I got error occasionally ORA-02068: following severe error from INV_FBIH ORA-03113: end-of-file on communication channel
when I login into application on Apex.
INV_FBIH is shared database link
there is error:
ORA-02050: transaction 11.26.780771 rolled back, some remote DBs may be in-doubt
ORA-02068: following severe error from INV_FBIH
ORA-03113: end-of-file on communication channel
Database is: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
Is there any solution for this problem?
Regards,
Ed,
Edited by: 852611 on May 24, 2013 8:27 AM
I've had some problems in the past with in-doubt transactions with a DB link to a Sybase database. I can imagine it is more difficult for Oracle to manage transactions over a DB link if the the database is not Oracle. Especially with SQL Server/Sybase that do their own commit by default. Might that be the case here?
ORA-03113: end-of-file on communication channelThis also indicates a network problem.
You can also post this in the General Database forum.
Similar Messages
-
ORA-02050: 에러가 가끔가다가 발생하는데
alert.log 의 에러 내용은 이렇습니다.
~~~~~
Tue Jan 2 08:57:41 2007
Error 2068 trapped in 2PC on transaction 20.4.4845. Cleaning up.
Error stack returned to user:
ORA-02050: 트랜잭션 20.4.4845가 롤백되고, 다른 원격 DB는 불명료한 상태입니다
ORA-02068: TO_DB_2ND로 부터의 다음의 치명적인 오류가 있습니다
ORA-03135: 접속이 끊겼습니다.
Tue Jan 2 08:57:41 2007
DISTRIB TRAN ORAYS1.f7c20f5e.20.4.4845
is local tran 20.4.4845 (hex=14.04.12ed)
insert pending collecting tran, scn=7293147162159 (hex=6a2.1172262f)
Tue Jan 2 08:57:41 2007
DISTRIB TRAN ORAYS1.f7c20f5e.20.4.4845
is local tran 20.4.4845 (hex=14.04.12ed))
delete pending collecting tran, scn=7293147162159 (hex=6a2.1172262f)
Tue Jan 2 08:58:25 2007
Error 2068 trapped in 2PC on transaction 21.8.11036. Cleaning up.
Error stack returned to user:
ORA-02050: 트랜잭션 21.8.11036가 롤백되고, 다른 원격 DB는 불명료한 상태입니다
ORA-02068: TO_DB_2ND로 부터의 다음의 치명적인 오류가 있습니다
ORA-03135: 접속이 끊겼습니다.
Tue Jan 2 08:58:25 2007
DISTRIB TRAN ORAYS1.f7c20f5e.21.8.11036
is local tran 21.8.11036 (hex=15.08.2b1c)
insert pending collecting tran, scn=7293147163792 (hex=6a2.11722c90)
Tue Jan 2 08:58:25 2007
DISTRIB TRAN ORAYS1.f7c20f5e.21.8.11036
is local tran 21.8.11036 (hex=15.08.2b1c))
delete pending collecting tran, scn=7293147163792 (hex=6a2.11722c90)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
에러 내용을 매뉴얼로 찾아보면
2 Phase Commit 완료 이전에 remote DB 가 Crash 되거나, network 장애가 발생하면 ora-02050 에러가 발생할 수 있다고 하는데
문제는 디비 링크 TO_DB_2ND 를 이용한 SELECT 문 밖에 수행이 안 된다는 겁니다.
DML 이라도 수행이 되야 뭐라도 해볼텐데, SELECT 밖에 없으니 어떤 식으로 이 장애 상황을 해결해야 할지 막막하군여.. 쩝~~
또 재미난 상황은 In-Doubt Transaction에 대해서는 RECO 프로세스가 알아서 복구시킨다고 하고 alert.log에 위에 기술한 내용을기록합니다. 그렇다면 유저 화면에 저런 에러 메시지가 안 보여야 정상일거 같은데, 가끔가다가 등록하는 화면에서 등록이 제대로 안 되면서 저런 에러가 보입니다.
환장할 노릇입니다...
이런 상황 경험해 본 고수분들의 조언을 구합니다.
글 수정:
woo3615우선 에러에 관련된 내용을 올리실려면 OS 와 Oracle version 을 같이 올려주셔야
합니다.그래야 에러를 분석하는데 있어 쉽게 접근할 수가 있습니다. ^^
저두 초짜라 100% 확신은 하지 못합니다..참고로 하시길 권하는 바입니다.
에러 메시지를 보니 오라클 버전은 8i 일 것 같은데 맞는지 모르겠군요...
버그(bug 2273417)라고 판단이 됩니다. 로곤 트리거가 존재할 때 트랜잭션에서
복구를 하지 못하는 그런 종류의 에러 인듯 싶습니다.
이 에러를 해결하는 방법으로는 9.0.1.4 또는 9.2.0.2 으로의 업그레이드를 추천
하는 바입니다. 또는
SQL>select trigger_name, triggering_event, status from dba_triggers
where triggering_event like 'LOG%';
위의 쿼리를 통해서 모든 로그 트리거를 Disable 시켜야 될 것 같습니다. -
Hi,
we are getting this two ORA-02068 + ORA-03135 errors on application side using dblink .... can any one pls help....
for 03135 we did some changes on db side .. what about ORA-02068 , is there is any action we have to made for this 2068 error
Thanks,Hi,
I have a similar problem... but more strange...
The customer have an aplication on JBOSS with a Oracle database 10.2.0.4.
When the user is logged in the application, he makes a query through the application, this query run a procedure that makes a select on the DB local an conects a remote DB with a db_link connection, with a synonym on the table remote and the procedure that fails
This procedure have a EXCEPTION clause at the end, that insert in a "error table" that shows the following information:
PET_ID ERROR DESCRIPTION F_CREATION USER_CREATION
4565 -2068 ORA-02068: error grave de DB_COSTES 25/05/2011 09:41;11 [jboss]-xxxxxxxxx
ORA-03135: la conexión ha perdido contacto
4566 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;47 [jboss]-xxxxxxxxx
4567 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;48 [jboss]-xxxxxxxxx
4568 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;49 [jboss]-xxxxxxxxx
The error "ORA-01001: cursor no válido" appears on the "error table" when the user tries to re-run another searh in the application
The DBA (in client side) must drop/create the synonym on the table and recompile the procedure to be able to work again... so, this error INVALID the procedure.
It's not for iddle time of application, because I asked for the user and he said me that when he logged at the first time in the morning, and make the search, he got the error too.
Can anybody help me?
Thank you
Bond2 -
ORA-02050 transaction string rolled back, some remote DBs may be in-doubt
Hi...guys...How ru all...
I got follwoing error...and I searched in google but there is not clear information..plz help me ...
Error Message: ORA-02050 transaction string rolled back, some remote DBs may be in-doubt
Error Cause:
Network or remote failure during a two-phase commit.
Action:
Notify operations; remote databases will automatically re-sync when the failure is repaired.
SQL>SELECT local_tran_id, global_tran_id, state, mixed, host, commit#
FROM dba_2pc_pending
LOCAL_TRAN_ID GLOBAL_TRAN_ID STATE MIX HOST COMMIT#
5.44.98254 JICRACDB.e1ab4089.5.44.98254 collecti no JICN\ROOM9 1132915640
ng 7-ITC
SQL> SELECT local_tran_id, in_out, database, dbuser_owner, interface
2 FROM dba_2pc_neighbors
3 /
LOCAL_TRAN_ID IN_OUT DATABASE DBUSER_OWNER INT
5.44.98254 in JIC N
5.44.98254 out RC_DBLINK JIC N
SQL> ;
1 select state, tran_comment, advice from dba_2pc_pending
2* where local_tran_id ='5.44.98254'
SQL> /
STATE TRAN_COMMENT ADVICE
collecting
so how can I delete distributed transaction..plz provide me any Metalink Docids.See if following MOS note helps.
Manually Resolving In-Doubt Transactions: Different Scenarios (Doc ID 126069.1) -
问题背景:有两套数据库服务器oracle11g RAC,版本是11.2.0.3,分别有两个用户user1,user2,user1通过跨库DBLINK(EASDB)去连接user2进行数据库查询。
偶尔会报错ORA-02050,定位了好几天,排除网线没插好、主机防火墙等因素了,就是不知道其他问题在哪儿.
奇怪的是反向的DBLINK,就没有类似问题
报错内容:
Mon Dec 10 09:58:21 2012
Error 3135 trapped in 2PC on transaction 10.30.100680. Cleaning up.
Error stack returned to user:
ORA-02050: 事务处理 10.30.100680 已回退, 某些远程数据库可能有问题
ORA-03135: 连接失去联系
ORA-02063: 紧接着 line (起自 EASDB)
Mon Dec 10 09:58:21 2012
DISTRIB TRAN BPPFRDB.59c536a9.10.30.100680
is local tran 10.30.100680 (hex=0a.1e.18948)
insert pending collecting tran, scn=13074744378110 (hex=be4.337e82fe)
Mon Dec 10 10:44:58 2012
DISTRIB TRAN BPPFRDB.59c536a9.31.13.2318
is local tran 31.13.2318 (hex=1f.0d.90e))
delete pending collecting tran, scn=13074744375475 (hex=be4.337e78b3)
Mon Dec 10 11:00:39 2012
DISTRIB TRAN BPPFRDB.59c536a9.10.30.100680
is local tran 10.30.100680 (hex=0a.1e.18948))
delete pending collecting tran, scn=13074744378110 (hex=be4.337e82fe)
DBLINK创建脚本:
drop public database link EASDB;
create public database link EASDB connect to USER2 identified by "password"
using '(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 132.97.122.1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 132.97.122.2)(PORT = 1521))(LOAD_BALANCE = yes)
(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = bppfedb)(FAILOVER_MODE =
(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))))';
IP没有使用RAC的vip,而是物理IP
日志收集
1. reco后台进程的trace
bppfrdb1_reco_18133.trc如下:
*** 2012-12-07 18:25:11.899
DISTRIB TRAN BPPFRDB.59c536a9.49.11.975
is local tran 49.11.975 (hex=31.0b.3cf))
delete pending collecting tran, scn=13074738503199 (hex=be4.3324de1f)
DISTRIB TRAN BPPFRDB.59c536a9.31.13.2318
*** 2012-12-10 10:44:58.406
is local tran 31.13.2318 (hex=1f.0d.90e))
delete pending collecting tran, scn=13074744375475 (hex=be4.337e78b3)
DISTRIB TRAN BPPFRDB.59c536a9.10.30.100680
*** 2012-12-10 11:00:39.084
is local tran 10.30.100680 (hex=0a.1e.18948))
delete pending collecting tran, scn=13074744378110 (hex=be4.337e82fe)
2. alert 日志
alert_bppfrdb1.log如下:
Mon Dec 10 07:00:40 2012
Archived Log entry 3865 added for thread 1 sequence 1842 ID 0x9a632295 dest 1:
Mon Dec 10 07:59:53 2012
Time drift detected. Please check VKTM trace file for more details.
Mon Dec 10 09:58:21 2012
Error 3135 trapped in 2PC on transaction 10.30.100680. Cleaning up.
Error stack returned to user:
ORA-02050: 事务处理 10.30.100680 已回退, 某些远程数据库可能有问题
ORA-03135: 连接失去联系
ORA-02063: 紧接着 line (起自 EASDB)
Mon Dec 10 09:58:21 2012
DISTRIB TRAN BPPFRDB.59c536a9.10.30.100680
is local tran 10.30.100680 (hex=0a.1e.18948)
insert pending collecting tran, scn=13074744378110 (hex=be4.337e82fe)
Mon Dec 10 10:44:58 2012
DISTRIB TRAN BPPFRDB.59c536a9.31.13.2318
is local tran 31.13.2318 (hex=1f.0d.90e))
delete pending collecting tran, scn=13074744375475 (hex=be4.337e78b3)
Mon Dec 10 11:00:39 2012
DISTRIB TRAN BPPFRDB.59c536a9.10.30.100680
is local tran 10.30.100680 (hex=0a.1e.18948))
delete pending collecting tran, scn=13074744378110 (hex=be4.337e82fe)
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.3.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
Time: 10-DEC-2012 11:41:59
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 110
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=132.97.122.113)(PORT=47823))
Mon Dec 10 11:41:59 2012
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.3.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
Time: 10-DEC-2012 11:41:59
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 110
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=132.97.122.113)(PORT=47824))
Mon Dec 10 11:41:59 2012
3. ping测试网络日志
ping的输出信息如下:
[oracle@bppfrdb1 jc]$ ping -s 1024 -c 30 132.97.122.1
PING 132.97.122.1 (132.97.122.1) 1024(1052) bytes of data.
1032 bytes from 132.97.122.1: icmp_seq=1 ttl=64 time=0.473 ms
1032 bytes from 132.97.122.1: icmp_seq=2 ttl=64 time=0.543 ms
1032 bytes from 132.97.122.1: icmp_seq=3 ttl=64 time=0.622 ms
1032 bytes from 132.97.122.1: icmp_seq=4 ttl=64 time=0.538 ms
1032 bytes from 132.97.122.1: icmp_seq=5 ttl=64 time=0.570 ms
1032 bytes from 132.97.122.1: icmp_seq=6 ttl=64 time=0.544 ms
1032 bytes from 132.97.122.1: icmp_seq=7 ttl=64 time=0.511 ms
1032 bytes from 132.97.122.1: icmp_seq=8 ttl=64 time=0.550 ms
1032 bytes from 132.97.122.1: icmp_seq=9 ttl=64 time=0.469 ms
1032 bytes from 132.97.122.1: icmp_seq=10 ttl=64 time=0.574 ms
1032 bytes from 132.97.122.1: icmp_seq=11 ttl=64 time=0.568 ms
1032 bytes from 132.97.122.1: icmp_seq=12 ttl=64 time=0.632 ms
1032 bytes from 132.97.122.1: icmp_seq=13 ttl=64 time=0.522 ms
1032 bytes from 132.97.122.1: icmp_seq=14 ttl=64 time=0.420 ms
1032 bytes from 132.97.122.1: icmp_seq=15 ttl=64 time=0.474 ms
1032 bytes from 132.97.122.1: icmp_seq=16 ttl=64 time=0.506 ms
1032 bytes from 132.97.122.1: icmp_seq=17 ttl=64 time=0.573 ms
1032 bytes from 132.97.122.1: icmp_seq=18 ttl=64 time=0.582 ms
1032 bytes from 132.97.122.1: icmp_seq=19 ttl=64 time=0.496 ms
1032 bytes from 132.97.122.1: icmp_seq=20 ttl=64 time=0.520 ms
1032 bytes from 132.97.122.1: icmp_seq=21 ttl=64 time=0.517 ms
1032 bytes from 132.97.122.1: icmp_seq=22 ttl=64 time=0.609 ms
1032 bytes from 132.97.122.1: icmp_seq=23 ttl=64 time=0.505 ms
1032 bytes from 132.97.122.1: icmp_seq=24 ttl=64 time=0.527 ms
1032 bytes from 132.97.122.1: icmp_seq=25 ttl=64 time=0.532 ms
1032 bytes from 132.97.122.1: icmp_seq=26 ttl=64 time=0.613 ms
1032 bytes from 132.97.122.1: icmp_seq=27 ttl=64 time=0.537 ms
1032 bytes from 132.97.122.1: icmp_seq=28 ttl=64 time=0.500 ms
1032 bytes from 132.97.122.1: icmp_seq=29 ttl=64 time=0.565 ms
1032 bytes from 132.97.122.1: icmp_seq=30 ttl=64 time=0.519 ms
--- 132.97.122.1 ping statistics ---
30 packets transmitted, 30 received, 0% packet loss, time 29005ms
rtt min/avg/max/mdev = 0.420/0.537/0.632/0.048 ms
4. traceroute信息如下:
[oracle@bppfrdb1 jc]$ traceroute 132.97.122.1 -p 1521
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.803 ms 0.785 ms 0.772 ms
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.560 ms 0.543 ms 0.533 ms
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.462 ms 0.456 ms *
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.740 ms 0.741 ms 0.733 ms
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.350 ms * *
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.602 ms 0.587 ms 0.580 ms
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.757 ms 0.745 ms *
其他说明:
这个报错不是每次查询都出现,时有时无,一些查询会失败;
有达人说,是分布式事务,二阶段提交失败,但是没搞懂,为啥会提交失败?提交失败也是一个问题吧
谢谢各位了问题背景:有两套数据库服务器oracle11g RAC,版本是11.2.0.3,分别有两个用户user1,user2,user1通过跨库DBLINK(EASDB)去连接user2进行数据库查询。
偶尔会报错ORA-02050,定位了好几天,排除网线没插好、主机防火墙等因素了,就是不知道其他问题在哪儿.
奇怪的是反向的DBLINK,就没有类似问题
报错内容:
Mon Dec 10 09:58:21 2012
Error 3135 trapped in 2PC on transaction 10.30.100680. Cleaning up.
Error stack returned to user:
ORA-02050: 事务处理 10.30.100680 已回退, 某些远程数据库可能有问题
ORA-03135: 连接失去联系
ORA-02063: 紧接着 line (起自 EASDB)
Mon Dec 10 09:58:21 2012
DISTRIB TRAN BPPFRDB.59c536a9.10.30.100680
is local tran 10.30.100680 (hex=0a.1e.18948)
insert pending collecting tran, scn=13074744378110 (hex=be4.337e82fe)
Mon Dec 10 10:44:58 2012
DISTRIB TRAN BPPFRDB.59c536a9.31.13.2318
is local tran 31.13.2318 (hex=1f.0d.90e))
delete pending collecting tran, scn=13074744375475 (hex=be4.337e78b3)
Mon Dec 10 11:00:39 2012
DISTRIB TRAN BPPFRDB.59c536a9.10.30.100680
is local tran 10.30.100680 (hex=0a.1e.18948))
delete pending collecting tran, scn=13074744378110 (hex=be4.337e82fe)
DBLINK创建脚本:
drop public database link EASDB;
create public database link EASDB connect to USER2 identified by "password"
using '(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 132.97.122.1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 132.97.122.2)(PORT = 1521))(LOAD_BALANCE = yes)
(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = bppfedb)(FAILOVER_MODE =
(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))))';
IP没有使用RAC的vip,而是物理IP
日志收集
1. reco后台进程的trace
bppfrdb1_reco_18133.trc如下:
*** 2012-12-07 18:25:11.899
DISTRIB TRAN BPPFRDB.59c536a9.49.11.975
is local tran 49.11.975 (hex=31.0b.3cf))
delete pending collecting tran, scn=13074738503199 (hex=be4.3324de1f)
DISTRIB TRAN BPPFRDB.59c536a9.31.13.2318
*** 2012-12-10 10:44:58.406
is local tran 31.13.2318 (hex=1f.0d.90e))
delete pending collecting tran, scn=13074744375475 (hex=be4.337e78b3)
DISTRIB TRAN BPPFRDB.59c536a9.10.30.100680
*** 2012-12-10 11:00:39.084
is local tran 10.30.100680 (hex=0a.1e.18948))
delete pending collecting tran, scn=13074744378110 (hex=be4.337e82fe)
2. alert 日志
alert_bppfrdb1.log如下:
Mon Dec 10 07:00:40 2012
Archived Log entry 3865 added for thread 1 sequence 1842 ID 0x9a632295 dest 1:
Mon Dec 10 07:59:53 2012
Time drift detected. Please check VKTM trace file for more details.
Mon Dec 10 09:58:21 2012
Error 3135 trapped in 2PC on transaction 10.30.100680. Cleaning up.
Error stack returned to user:
ORA-02050: 事务处理 10.30.100680 已回退, 某些远程数据库可能有问题
ORA-03135: 连接失去联系
ORA-02063: 紧接着 line (起自 EASDB)
Mon Dec 10 09:58:21 2012
DISTRIB TRAN BPPFRDB.59c536a9.10.30.100680
is local tran 10.30.100680 (hex=0a.1e.18948)
insert pending collecting tran, scn=13074744378110 (hex=be4.337e82fe)
Mon Dec 10 10:44:58 2012
DISTRIB TRAN BPPFRDB.59c536a9.31.13.2318
is local tran 31.13.2318 (hex=1f.0d.90e))
delete pending collecting tran, scn=13074744375475 (hex=be4.337e78b3)
Mon Dec 10 11:00:39 2012
DISTRIB TRAN BPPFRDB.59c536a9.10.30.100680
is local tran 10.30.100680 (hex=0a.1e.18948))
delete pending collecting tran, scn=13074744378110 (hex=be4.337e82fe)
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.3.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
Time: 10-DEC-2012 11:41:59
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 110
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=132.97.122.113)(PORT=47823))
Mon Dec 10 11:41:59 2012
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.3.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
Time: 10-DEC-2012 11:41:59
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 110
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=132.97.122.113)(PORT=47824))
Mon Dec 10 11:41:59 2012
3. ping测试网络日志
ping的输出信息如下:
[oracle@bppfrdb1 jc]$ ping -s 1024 -c 30 132.97.122.1
PING 132.97.122.1 (132.97.122.1) 1024(1052) bytes of data.
1032 bytes from 132.97.122.1: icmp_seq=1 ttl=64 time=0.473 ms
1032 bytes from 132.97.122.1: icmp_seq=2 ttl=64 time=0.543 ms
1032 bytes from 132.97.122.1: icmp_seq=3 ttl=64 time=0.622 ms
1032 bytes from 132.97.122.1: icmp_seq=4 ttl=64 time=0.538 ms
1032 bytes from 132.97.122.1: icmp_seq=5 ttl=64 time=0.570 ms
1032 bytes from 132.97.122.1: icmp_seq=6 ttl=64 time=0.544 ms
1032 bytes from 132.97.122.1: icmp_seq=7 ttl=64 time=0.511 ms
1032 bytes from 132.97.122.1: icmp_seq=8 ttl=64 time=0.550 ms
1032 bytes from 132.97.122.1: icmp_seq=9 ttl=64 time=0.469 ms
1032 bytes from 132.97.122.1: icmp_seq=10 ttl=64 time=0.574 ms
1032 bytes from 132.97.122.1: icmp_seq=11 ttl=64 time=0.568 ms
1032 bytes from 132.97.122.1: icmp_seq=12 ttl=64 time=0.632 ms
1032 bytes from 132.97.122.1: icmp_seq=13 ttl=64 time=0.522 ms
1032 bytes from 132.97.122.1: icmp_seq=14 ttl=64 time=0.420 ms
1032 bytes from 132.97.122.1: icmp_seq=15 ttl=64 time=0.474 ms
1032 bytes from 132.97.122.1: icmp_seq=16 ttl=64 time=0.506 ms
1032 bytes from 132.97.122.1: icmp_seq=17 ttl=64 time=0.573 ms
1032 bytes from 132.97.122.1: icmp_seq=18 ttl=64 time=0.582 ms
1032 bytes from 132.97.122.1: icmp_seq=19 ttl=64 time=0.496 ms
1032 bytes from 132.97.122.1: icmp_seq=20 ttl=64 time=0.520 ms
1032 bytes from 132.97.122.1: icmp_seq=21 ttl=64 time=0.517 ms
1032 bytes from 132.97.122.1: icmp_seq=22 ttl=64 time=0.609 ms
1032 bytes from 132.97.122.1: icmp_seq=23 ttl=64 time=0.505 ms
1032 bytes from 132.97.122.1: icmp_seq=24 ttl=64 time=0.527 ms
1032 bytes from 132.97.122.1: icmp_seq=25 ttl=64 time=0.532 ms
1032 bytes from 132.97.122.1: icmp_seq=26 ttl=64 time=0.613 ms
1032 bytes from 132.97.122.1: icmp_seq=27 ttl=64 time=0.537 ms
1032 bytes from 132.97.122.1: icmp_seq=28 ttl=64 time=0.500 ms
1032 bytes from 132.97.122.1: icmp_seq=29 ttl=64 time=0.565 ms
1032 bytes from 132.97.122.1: icmp_seq=30 ttl=64 time=0.519 ms
--- 132.97.122.1 ping statistics ---
30 packets transmitted, 30 received, 0% packet loss, time 29005ms
rtt min/avg/max/mdev = 0.420/0.537/0.632/0.048 ms
4. traceroute信息如下:
[oracle@bppfrdb1 jc]$ traceroute 132.97.122.1 -p 1521
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.803 ms 0.785 ms 0.772 ms
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.560 ms 0.543 ms 0.533 ms
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.462 ms 0.456 ms *
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.740 ms 0.741 ms 0.733 ms
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.350 ms * *
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.602 ms 0.587 ms 0.580 ms
traceroute to 132.97.122.1 (132.97.122.1), 30 hops max, 60 byte packets
1 132.97.122.1 (132.97.122.1) 0.757 ms 0.745 ms *
其他说明:
这个报错不是每次查询都出现,时有时无,一些查询会失败;
有达人说,是分布式事务,二阶段提交失败,但是没搞懂,为啥会提交失败?提交失败也是一个问题吧
谢谢各位了 -
Hi All,
I had created a IR report based on a table and it was working with no issues. But after few days, when I try searching using the IR search bar it shows "ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression" error message. I don't see any debug messages or errors in the debug window. The Finder drop down is empty too, there are no columns displayed to filter.
When I recreate the IR report(new page) based on the same table, It works fine and there are no issues with the search. But the old IR report search doesnt work. I have not modified the any thing in the old report after initial creation. Report uses Primary key based on a sequence.
What might have caused this issue?
Is there a way to intercept the search query from IR report?
Apex version - 4.2.3.00.08.
Any help on this appreciated.
Thanks,
JaganHi MK, as I had mentioned in my post, I don't see any logs in the debug window, query tab.
Can you please guide me how to check the query logs on search?
Thanks,
Jagan -
Why APEX 4.1 Error handling function does not trap the error of missing table?
Say, I create simple application with single IR report page and I also assign standard simple error handling function.
Function works perfectly, except but this case:
If I just drop a table used by report page and then refresh the page I am getting usual APEX error message:
ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
and error handling function is not invoked at all.
Is this a feature or a bug?Hi,
Check the corrections given in the note 990764:
Reason and Prerequisites
Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
ORA-00942: table or view does not exist
Fehler in CL_SQL_RESULT_SET Include NEXT_PACKAGE
RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
Solution
SAP NetWeaver 2004s BI
Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
In urgent cases you can implement the correction instructions.
The correction instructions contain the tightened inspection for characteristics.
Regards,
Anil Kumar Sharma .P -
Hi everyone,
has anyone else had this error which has been driving me round the bend during the last three days?
I have an interactive report which used to work fine.
Now it happens (when the page loads/a filter is en- or disabled) that - from time to time, but unpredictable - I receive
ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
The report is based on a table function.
I will try to set up a testcase and post the link here, but so far I haven't managed to force the error to occur.
But maybe someone else has already bumped into this kind of error? I would be grateful for any hints!
Best regards,
Sabine
Application Express 4.1.0.00.32
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit ProductionHi Jari,
I changed the type definition (the return type of the table function) and extended the select list in the source of the IR.
I do not use 'select *' but reference every column explicitly. So APEX easked me whether to add the new column.
I also tried deleting in recreating the region, but no luck.
Any more ideas?
Best regards,
Sabine -
ORA-20001: error 29th ORA-24344 When creating a workspace
Hi,
I just installed APEX 4.0 on 10g (10.2.0.4).
When I tried to create a new workspace, at the last step (after clicking "Create Workspace" button), it fails with the following error.
ORA-20001: error 29th ORA-24344: success with compilation error
Error provisioning test.
I could not find any errors in PLSQL debug error, and in DBA_ERRORS table.
Could you help me to fix this problem? I ran utlrp.sql to make sure we don't have invalid objects. And I read the installation log and found no errors. XDB, OWA installed.
I have another APEX 4.0 instance on 11g R2, and it works fine.
Thanks
Jung
Edited by: jwryoo on Jul 15, 2010 8:37 AMthanks.
Yes, that's I already checked and confirmed that the privilege is granted.
DBA_ERRORS did not show any errors owned by APEX% users.
But I did see some errors owned by XDB.
PL/SQL: Item ignored
PLS-00201: identifier 'UTL_FILE' must be declared
PL/SQL: Statement ignored
PLS-00201: identifier 'DBMS_LOB' must be declared
It seems the DB has revoked some public access for security reasons.
So, I am trying to ask DBA to grant the privileges to XDB. -
I got an error, googled it and couldn't find a good answer. Joe Fuda helped me to fix the problem. Here is the answer for future google results.
Error:
ORA-20001: get_dbms_sql_cursor error ORA-01445: cannot select ROWID from, or sample, a join view without a key-preserved table
Query that triggered the error:
SELECT
p.rowid
, p.product_id
, p.product_type
, p.product_name
, p.product_description
FROM
product p
, link_release_product rp
WHERE
rp.release_id = 1
AND
p.product_id = rp.product_id
This is casued by the keyword "rowid".
The same error occurs if 'p.rowid' is replaced with 'p."ROWID"'.
You can replicate this error in SQL Command by adding wrapping the query with 'select * from ( [the query] )'
Fix:
Add an alias to 'p.rowid' so the query is now like:
SELECT
p.rowid product_rowid
, p.product_id
, p.product_type
Reason:
Unclear, it might have something to do with how APEX does pagination.ok, found the answer... it has to do with the single row view issue addressed in this thread... ORA-01446 on Interactive query
(sorry if there's a better way to link to other threads in this forum). -
Hi,
I am having a wft program, which checks a function activity and depending on the value returned sends difference notifications.
The package body completed successfully from backend and while running the workflow program it sends a notification also. But while opening the notification it gives the following error,
ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION", line 5328 ORA-06512: at line 5
I have 3 procedures in my package body and all the 3 procedures have exceptions defined as follows, if they are using any workflow activities.
==========================================================
EXCEPTION
WHEN OTHERS THEN
WF_CORE.context (
'WFCustCheck',
'MisCustDataFromTableDoc',
document_id,
display_type,
document,
document_type,
SQLERRM
RAISE_APPLICATION_ERROR (-20006, SQLERRM);
==========================================================
But I am not able to figure out what is causing this error. What does this "line 5328 ORA-06512: at line 5" in the error message indicate?. My package body has only 600 lines. And why is the error message not displaying the procedure name? though I have defined the procedure name in the exception.
What is the best way to get the procedure name in the error message? So that it becomes easier for identifying which procedure is causing the erro?
Please let me know.
ThanksHi,
Instead of the RAISE_APPLICATION_ERROR command, just replace that with RAISE;
The error is coming out of the package that is sending the notification (WF_NOTIFICATION), which is invoked when you open the notification. I'm guessing that line 5 is the line in your code though.
Are you using documents to send the notification, or are they purely defined in the .wft file?
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com -
We have a SQL Server 2005 64bit box that needs a linked server created to Oracle 11g 64bit box. I have all the Oracle client software installed and can successfully connect to the Oracle database using SQL+ on the SQL Server 2005 64bit box. When I create
the linked server and select the OraOledb.Oracle provider, I get the TNSNames error. The Oracle server does not use tnsnames.ora it uses OLAP.ora to resolve. How do I get Linked server to stop trying to connect via TNSNames and use the OLAP.ora file instead?
I can't find any articles for this specific issues. All Oracle examples tell you to use TNSNAMES. The Oracle server is not under my companies control so I can not force the vendor to use tnsnames instead of OLAP.Hi,
Have you got a resolution?
Thank you. -
ODBC Sql Server shared db link - ORA-24367
Hello Gurus,
I've created shared database link to SqlServer database with this command :
CREATE shared public DATABASE LINK apost_shared
CONNECT TO cbd_test IDENTIFIED BY cbd_testt
AUTHENTICATED BY cbd_test IDENTIFIED BY cbd_testt
USING 'post';
When i've run query i've got message :
ORA-24367: user handle has not been set in service handle.
But what is very strange, in some (one) session my query works:
select * from term@apost_shared;
What is going on ? In sessions created later that query throws ORA-24367 error.Gateway /Generic Connectivity d links can NOT be shared.
See manual. -
ORA-06512 and/or ORA-00936 ... simple procedure problem probably
I'm passing in codes like the following to the stored procedure (below):
",IRE,UK,FR,SCOT,WALES" (a string of words seperated by a ',')
Problem is I get the following error:
ORA-00936: missing expression ORA-06512: at "APPNAME.PKG_TOOL", line 132 ORA-06512: at line 1
I googled the two ORA's but am still stumped. I'd appreciate any help at all as I'm still not overly familiar with SQL.
PROCEDURE sp_check_code_Exist(p_CodeList IN varchar, p_cursorSMB IN OUT cursorSMB) IS
thissql varchar(1000);
BEGIN
thissql := thissql || 'select * from codes_data c where ';
thissql := thissql || 'c.code in ('|| p_CodeList ||') ';
open p_cursor FOR thissql;
begin
Execute immediate thissql;
end;
END sp_check_code_Exist;I know this is digressing a bit from the thread heading but I'd like to know if I really will be screwed if I don't optimise.
The machine that this is being hosted on will be a top notch machine with a very fat line and will have probably only thousands of codes.
This is the code as it stands now
PROCEDURE sp_check_GenericCodes(p_GenericsList IN varchar, p_cursorSMB IN OUT cursorSMB) IS
thissql varchar(1000);
BEGIN
thissql := thissql || 'select distinct generic_code from emc_codes_data ed where ';
thissql := thissql || 'ed.generic_code in ('||p_GenericsList||')';
open p_cursorSMB FOR thissql;
END sp_check_GenericCodes;So all I'll be returning is a few thousand words which will then be sorted alphabetically and will be then compared to another string which will be sorted alphabetically, to see if there is any missing code, and if there are then those codes will be spit out to an admin who will realise he made a mistake and where the mistake is.
This is how its all called:
public string checkGenericCodesExist(string codesList)
OracleDataReader rdr = null;
DBConnect dbConnLocal = null;
OracleCommand cmd = null;
string sRetVal = null;
string CurrentFunction = "PPTEngine.clsPart.genericCodeExsists";
try
dbConnLocal = new DBConnect(CurrentFunction, "Pkg_SMBTool.sp_check_GenericCodes", m_Stream);
// Pass in parameters
dbConnLocal.addParam(new OracleParameter("p_cursorSMB", OracleType.Cursor));
dbConnLocal.setParamDirection("p_cursorSMB",ParameterDirection.Output);
dbConnLocal.addParam(new OracleParameter("p_GenericsList", OracleType.VarChar));
dbConnLocal.setParamValue("p_GenericsList", codesList);
// Execute
cmd = dbConnLocal.ExecuteProcedure();
rdr = (OracleDataReader)cmd.Parameters["p_cursorSMB"].Value;
// Loop
if (rdr.HasRows)
while (rdr.Read())
if (!rdr.IsDBNull(rdr.GetOrdinal("Generic_Code"))) m_GenericCode = rdr.GetString(rdr.GetOrdinal("Generic_Code"));
rdr.Close();
//remove the '
string[] PPTCodes = codesList.Replace( "'", null).Split("','".ToCharArray());
catch (Exception e)
Log.WriteToFile(CurrentFunction + " - " + e.Message, System.Diagnostics.TraceLevel.Error);
throw e;
finally
if (dbConnLocal!=null) dbConnLocal.Close();
return sRetVal;
}The above function is still a work in progress, but is almost there. -
ORA-04103,FRM-40735,ORA-04062.
Hi Expert ,
how can resolve following error.
After refresh the clone by prod backup ,the i have faced problem at ap module at front end level
i have got following error
1. FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-04062.
2. ORA-04103: no data found--------On click Pay In Full
3. An Unexpected Error-4062 has occured, An alert has been sent to the system administrator,
ORA-04103: no data found
FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04062.Please post the details of the application release, database version and OS.
how can resolve following error.
After refresh the clone by prod backup ,the i have faced problem at ap module at front end level
i have got following error
1. FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-04062.
2. ORA-04103: no data found--------On click Pay In Full
3. An Unexpected Error-4062 has occured, An alert has been sent to the system administrator,
ORA-04103: no data found
FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04062.Is this issue with all forms or specific ones only? If the latter, please post the form name/version and the navigation path.
Please confirm that you have no invalid objects in the database and you have no errors in the database log file.
Have you tried to regenerate the form manually or via adadmin and see if it helps?
Thanks,
Hussein
Maybe you are looking for
-
Plan/Actual Version Data I have a query that shows plan and actual sales figures on monthly basis. Plan and actual data is identified by 0VERSION (P1 for Plan; P0 for Actual). 0CALMONTH and Sales key figure is in rows. 0VERSION is in collums. The out
-
How do I get my large contact pictures back of person calling me after 7.1 update
After I updated phone when someone calls me the picture is small now when it was large before update. How do I get it back I don't like the small pictures please help!!!!!!!
-
Macbook pro 15" late 2011ram upgrade
Hello, i have a macbook pro 15" late 2011 which came with 4gb ram and am thinking of upgrading with this http://www.crucial.com/ProductDisplay?urlRequestType=Base&catalogId=10151&catego ryId=&productId=11645&urlLangId=-1&langI- or this http://www.cor
-
Unknown SID Error Message/Unable To Login to VM Manager
Hello, I have installed VM Server and VM Manager on the latest Virtual Box install for Windows 7. When I attempt to login into the VM Manager (ID: ovm , Default Password: Welcome1) - I get the error message: "... [APP: ovm_console] An incorrect usern
-
Trouble accessing internet with Playstation portable
I have been getting a "key information exchange timed out" error when testing the connection. I suspect the problem is either firmware related or possibly that the PSP is not 802.11g compatible and needs 802.11b. The router literature says it support