DBLINK,ORA-02050: 事务处理 10.30.100680 已回退, 某些远程数据库可能有问题:ORA-03135: 连接失去联系

问题背景:有两套数据库服务器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 *
其他说明:
这个报错不是每次查询都出现,时有时无,一些查询会失败;
有达人说,是分布式事务,二阶段提交失败,但是没搞懂,为啥会提交失败?提交失败也是一个问题吧
谢谢各位了

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 시켜야 될 것 같습니다.

  • 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.

  • 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)

  • Ora-02068 following severe error & ora-03113 while connecting thru DB LINK

    Hi All,
    I am trying to connect to remote Database by using DB Link facing the below error.
    ora-02068 following severe error & ora-03113 end of communication channel.
    Version of Database - 8.0.6 ( source Database)
    Target Database version - 11g ( Target Database)
    Oracle Client s/w used - 9i
    TNSPING from 8 version database to 11g is successful
    C:\Documents and Settings\user>tnsping prdd
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 30-MAY-20
    13 10:40:02
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    D:\oracle9i\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (host =xx.xxx.xxx.xx) (Port = 1631))) (CONNECT_DATA =(SID = PRDD)))
    OK (30 msec)
    Connection successful from 8 to 11 Database remotely
    C:\Documents and Settings\user>sqlplus
    SQL*Plus: Release 9.2.0.1.0 - Production on Thu May 30 10:43:00 2013
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Enter user-name:username/pwd@prdd
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, Oracle Label Security, OLAP
    Data Mining, Oracle Database Vault and Real Application Testing options
    SQL>
    Connected to:
    Oracle8 Enterprise Edition Release 8.0.6.0.0 - Production
    With the Partitioning and Objects options
    PL/SQL Release 8.0.6.0.0 - Production
    SQL> select * from dual@xxx_dblink.world;
    select * from dual@xxx_dblink.world
    ERROR at line 1:
    ORA-02068: following severe error from xxx_dblink
    ORA-03113: end-of-file on communication channel
    DBLink got created successfully but when ever trying to test the DBlink as above facing the below issue,please help.
    Thanks in advance.

    8.0.6 was desupported a LOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNGGGGGGGGGGGGG time ago
    (you were probably still in your dipers)
    Sqlnet is not compatible for that many releases
    (there has been
    8.1.5
    8.1.6
    8.1.7
    9.0.1
    9.2.0
    10.1.0
    10.2.0
    11.1.0
    11.2.0
    So nine releases.
    This is software, not gasoline.
    Sybrand Bakker
    Senior Oracle DBA

  • ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exi

    Hi all,
    suddenly our oracle 10g database stopped working. When we tried export the database following was the output
    C:\Documents and Settings\Administrator>EXP PMIS/PMIS FILE=C:\PMIS.DMP
    Export: Release 10.2.0.1.0 - Production on Wed Mar 25 16:15:08 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    EXP-00056: ORACLE error 1034 encountered
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    EXP-00005: all allowable logon attempts failed
    EXP-00000: Export terminated unsuccessfullyalert log file had the output as
    Wed Mar 25 16:02:12 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:>sessions = 49
    >__shared_pool_size = 71303168
    >__large_pool_size = 8388608
    >__java_pool_size = 4194304
    >__streams_pool_size = 0
    >spfile = C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
    >sga_target = 146800640
    >control_files = C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    >__db_cache_size = 58720256
    >compatible = 10.2.0.1.0
    >db_recovery_file_dest = C:\oraclexe\app\oracle\flash_recovery_area
    >db_recovery_file_dest_size= 10737418240
    >undo_management = AUTO
    >undo_tablespace = UNDO
    >remote_login_passwordfile= EXCLUSIVE
    >dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
    >shared_servers = 4
    >job_queue_processes = 4
    >audit_file_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
    >background_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
    >user_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
    >core_dump_dest = C:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
    >db_name = XE
    >open_cursors = 300
    >os_authent_prefix =
    >pga_aggregate_target = 41943040
    PMON started with pid=2, OS id=1632
    PSP0 started with pid=3, OS id=1312
    MMAN started with pid=4, OS id=200
    DBW0 started with pid=5, OS id=1864
    LGWR started with pid=6, OS id=188
    CKPT started with pid=7, OS id=1328
    SMON started with pid=8, OS id=1848
    RECO started with pid=9, OS id=1760
    CJQ0 started with pid=10, OS id=1920
    MMON started with pid=11, OS id=768
    MMNL started with pid=12, OS id=948
    Wed Mar 25 16:02:13 2009
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Wed Mar 25 16:02:13 2009
    alter database mount exclusive
    Wed Mar 25 16:02:17 2009
    Setting recovery target incarnation to 2
    Wed Mar 25 16:02:17 2009
    Successful mount of redo thread 1, with mount id 2563569989
    Wed Mar 25 16:02:17 2009
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Wed Mar 25 16:02:17 2009
    alter database open
    Wed Mar 25 16:02:18 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_lgwr_188.trc:
    ORA-00600: internal error code, arguments: [3700], [1], [15], [2], [2], [], [], []
    Wed Mar 25 16:02:18 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_lgwr_188.trc:
    ORA-00600: internal error code, arguments: [3700], [1], [15], [2], [2], [], [], []
    Wed Mar 25 16:02:18 2009
    LGWR: terminating instance due to error 470
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_dbw0_1864.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_ckpt_1328.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_psp0_1312.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_mman_200.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_pmon_1632.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_reco_1760.trc:
    ORA-00470: LGWR process terminated with error
    Wed Mar 25 16:02:19 2009
    Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_smon_1848.trc:
    ORA-00470: LGWR process terminated with error
    Instance terminated by LGWR, pid = 188Again when we tried by connecting sqlplus following was output
    SQL> connect sys/manager as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 146800640 bytes
    Fixed Size 1286220 bytes
    Variable Size 83890100 bytes
    Database Buffers 58720256 bytes
    Redo Buffers 2904064 bytes
    Database mounted.
    ORA-03113: end-of-file on communication channelWe actually need database dump for user PMIS, any help would be highly appreciated

    Hi Wim
    You should say that "It may be Control File problem", but you shouldn't say that "it's due to Control File" problem
    Please refer to Errors Documentation for more information on ORA-00600
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e0.htm#sthref371
    ORA-00600: internal error code, arguments: [string], [string], [string], [string], [string], [string], [string], [string]
    Cause: This is the generic internal error number for Oracle program exceptions. This indicates that a process has encountered an exceptional condition.
    Action: Report as a bug - the first argument is the internal error number
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • Exception occured during invocation of JCA binding ORA-01403: no data found ORA-06512: at line 1

    Dear Legends,
    My requirement is to call store procedure from BPEL. So for I created a BPEL with 2 assign activity and 1 Invoke activity to Invoke the DB adapter. After Deploying I tested the process but it shows the following error:
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DB_SBL_SPROCS1' failed due to: Interaction processing error.
    Error while processing the execution of the SIEBEL.PORTAL_SPROCS.ACP_CONREGISTRATIONLOOKUP_WRAP API interaction.
    An error occurred while processing the interaction for invoking the SIEBEL.PORTAL_SPROCS.ACP_CONREGISTRATIONLOOKUP_WRAP API. Cause: java.sql.SQLException: ORA-01403: no data found
    ORA-06512: at line 1
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD.  This exception is considered not retriable, likely due to a modelling mistake.  To classify it as retriable instead add property nonRetriableErrorCodes with value "-1403" to your deployment descriptor (i.e. weblogic-ra.xml).  To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff.  All properties are integers.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary></part><part name="detail"><detail>ORA-01403: no data found
    ORA-06512: at line 1
    </detail></part><part name="code"><code>1403</code></part></bindingFault></bpelFault></fault><faultType>
    <message>0</message></faultType></messages></details></event><event sid="BpPrc0.1" cat="2" n="16" date="2013-08-08T05:39:39.121-04:00" type="4"><message>"BPELFault" has not been caught by a catch block.</message></event><event sid="BpPrc0.1" cat="2" n="17" date="2013-08-08T05:39:39.270-04:00" type="3"><message>The transaction was rolled back. The work performed for bpel instance "960968" was rolled back, but the audit trail has been saved for this instance.If this is a sync request, please resubmit the request from the client. If it is an async request, please recover from the recovery console by resubmitting the invoke message.</message></event></audit-trail>
    What does the above error says?
    1. Whether concern Grant or Execute Privileges is not properly provided to the user?
    2. Is there any Dangling Privileges are prevailing?
    3. Is that the Store Procedure to be Handled with an Error Handling by means of Exception?
    4. Is that I have been giving wrong test data?
    5. Is that No data being existing in the Procedure?
    6. Is that anything related to XA and NON-XA Data Source?
    Any kind of help would be much appreciated. Thanks in Advance.
    Thanks,
    Karthik

    Can you check the following ?
    a. Hopefully the when you execute the procedure using sql tool it works fine and returns data.
    b. Is there any input parameter available for procedure ?
    c. IF yes, is the parameter is mapped with the procedure parameter and populated with value before calling the procedure ?
    d. In the audit trial, you can see from the invoke activity to see whether the parameter is populated with value or not ?
    e. Check the input parameter by executing the procedure with sql tool to see whether this request is receiving any data in return or not ?
    Thanks,
    Vijay

  • Oracle error 1403:java.sql.SQLException: ORA-01403: no data found ORA-06512

    My customer has an issue, and error message as below:
    <PRE>Oracle error 1403: java.sql.SQLException: ORA-01403: no data found ORA-06512:
    at line 1 has been detected in FND_SESSION_MANAGEMENT.CHECK_SESSION. Your
    session is no longer valid.</PRE>
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    And customer’s statement is: Upgrade from EBS 11.5.10 to 12.1.3. Login the EBS, open any forms and put it in idle. Then refresh the form, error happens
    Then, I checked ISP, and found two notes:
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid (Doc ID 1284094.1)
    Note 1319380.1: Webadi Gl Journal Posting Errors After Atg R12.1.3 (Doc ID 1319380.1)
    But these two notes are both WebADI.
    Following is the data collection from customer:
    1. Run UNIX command to check .class file version:
    strings $JAVA_TOP/oracle/apps/bne/utilities/BneViewerUtils.class | grep Header--> S$Header: BneViewerUtils.java 120.33.12010000.17 2010/11/21 22:19:58 amgonzal s$
    2. Run SQL to check you patch level:
    SELECT * FROM fnd_product_installations WHERE patch_level LIKE '%BNE%';--> R12.BNE.B.3
    3. Run SQL to check patch '9940148' applied or not:
    SELECT * FROM ad_bugs ad WHERE ad.bug_number = '9940148';--> No Rows returned
    4. Run SQL to check patch '9785477' applied or not:
    SELECT * FROM ad_bugs WHERE bug_number in ('9785477');-->
    BUG_ID APPLICATION_SHORT_NAME BUG_NUMBER CREATION_DATE ARU_RELEASE_NAME CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY TRACKABLE_ENTITY_ABBR BASELINE_NAME GENERIC_PATCH LANGUAGE
    576982 11839583 2011/8/7 上午 08:20:36 R12 5 2011/8/7 上午 08:20:36 5 pjt B n US
    516492 9785477 2011/6/12 上午 11:42:45 R12 5 2011/6/12 上午 11:42:45 5 bne B n US
    546109 9785477 2011/6/12 下午 01:17:41 R12 5 2011/6/12 下午 01:17:41 5 bne B n ZHT
    5. Run SQL to check the status of object ‘FND_SESSION_MANAGEMENT’
    SELECT * FROM dba_objects do WHERE do.object_name = 'FND_SESSION_MANAGEMENT';-->
    OWNER OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS TEMPORARY GENERATED SECONDARY NAMESPACE EDITION_NAME
    APPS FND_SESSION_MANAGEMENT 219425 PACKAGE 2004/10/30 下午 01:52:35 2011/8/7 上午 08:18:39 2011-08-07:08:18:26 VALID N N N 1
    APPS FND_SESSION_MANAGEMENT 226815 PACKAGE BODY 2004/10/31 上午 01:05:40 2011/8/7 上午 08:18:54 2011-08-07:08:18:27 VALID N N N 2
    So, my question is: Customer’s BneViewerUtils.java version is already 120.33.12010000.17, which greater than 120.33.12010000.14. Is there any others solutions for this issue? Does customer still need to apply patch '9940148' based on action plan of
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid?
    Customer's EBS version is 12.1.3; OS is HP-UX PA-RISC (64-bit); DB is 11.2.0.2.
    Thanks,
    Jackie

    And customer’s statement is: Upgrade from EBS 11.5.10 to 12.1.3. Login the EBS, open any forms and put it in idle. Then refresh the form, error happens
    Idle for how long? Is the issue with all sessions?
    Please see these docs/links
    User Sessions Get Timed Out Before Idle Time Parameter Values Are Reached [ID 1306678.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Timeout+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Then, I checked ISP, and found two notes:
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid (Doc ID 1284094.1)
    Note 1319380.1: Webadi Gl Journal Posting Errors After Atg R12.1.3 (Doc ID 1319380.1)
    But these two notes are both WebADI.Can you find any details about the error in Apache log files and in the application.log file?
    Any errors in the database log file?
    So, my question is: Customer’s BneViewerUtils.java version is already 120.33.12010000.17, which greater than 120.33.12010000.14. Is there any others solutions for this issue? No.
    Does customer still need to apply patch '9940148' based on action plan ofIf the issue not with Web ADI, then ignore this patch. However, if you use Web ADI you could query AD_BUGS table and verify if you have the patch applied.
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid?
    Customer's EBS version is 12.1.3; OS is HP-UX PA-RISC (64-bit); DB is 11.2.0.2.If you could not find any details in the logs, please enable debug as per (R12, 12.1 - How To Enable and Collect Debug for HTTP, OC4J and OPMN [ID 422419.1]).
    Thanks,
    Hussein

  • ORA-29273: HTTP request failed ORA-12535: TNS:operation timed out

    SQL*Plus: Release 11.2.0.3.0
    Solaris 10 SPARC
    Hi,
    I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
    Help is greatly appreciated. Thanks.
    DECLARE
       p_mid_tier    VARCHAR2 (500);
       responsestr   VARCHAR2 (500);
    BEGIN
       SELECT *****
         INTO p_mid_tier
         FROM *****
        WHERE profile_type = '*****';
       UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets');
       UTL_HTTP.set_transfer_timeout (6000);
       UTL_HTTP.set_response_error_check (TRUE);
       responsestr :=
          UTL_HTTP.request (
             UTL_URL.ESCAPE (p_mid_tier || '*****'));
       DBMS_OUTPUT.put_line (responsestr);
    END;
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1722
    ORA-12535: TNS:operation timed out
    ORA-06512: at line 15

    1001371 wrote:
    SQL*Plus: Release 11.2.0.3.0
    Solaris 10 SPARC
    Hi,
    I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
    Help is greatly appreciated. Thanks.
    DECLARE 
       p_mid_tier    VARCHAR2 (500); 
       responsestr   VARCHAR2 (500); 
    BEGIN 
       SELECT ***** 
         INTO p_mid_tier 
         FROM ***** 
        WHERE profile_type = '*****'; 
       UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets'); 
       UTL_HTTP.set_transfer_timeout (6000); 
       UTL_HTTP.set_response_error_check (TRUE); 
       responsestr := 
          UTL_HTTP.request ( 
             UTL_URL.ESCAPE (p_mid_tier || '*****')); 
       DBMS_OUTPUT.put_line (responsestr); 
    END; 
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1722
    ORA-12535: TNS:operation timed out
    ORA-06512: at line 15
    the most frequent cause for TIMEOUT is a FireWall on or between client & server.
    when was last time this worked without error?
    what changed since then?

  • ORA-20011: Approximate NDV failed: ORA-31000: Resource Error in Oracle 11g

    Hi Friends,
    I am using Oracle 11.2.0.1 on linux (x64) and i am getting the following messages in Alert Log / Trace Log.
    Please let me know the fix.
    Alert Log:
    GATHER_STATS_JOB encountered errors. Check the trace file.
    Errors in file /u01/app/oracle/diag/rdbms/oraht01/oraht01/trace/oraht01_j001_30852.trc:
    ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
    ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
    Trace File entries:
    ----- Guard Frame Metadata Dump -----
    ----- Java Stack -----
    ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
    ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
    *** 2013-01-21 22:00:36.397
    GATHER_STATS_JOB: GATHER_TABLE_STATS('"XDB"','"XDB$ACL"','""', ...)
    ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
    ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
    Regards,
    DB

    Hi Friends,
    Thanks for the info but the referred Thread and the Metalink Notes : 1290722.1 or 1305127.1 doesn't help me.
    Trace File :
    *** 2013-01-21 22:00:29.760
    *** SESSION ID:(28.36753) 2013-01-21 22:00:29.760
    *** CLIENT ID:() 2013-01-21 22:00:29.760
    *** SERVICE NAME:(SYS$USERS) 2013-01-21 22:00:29.760
    *** MODULE NAME:(DBMS_SCHEDULER) 2013-01-21 22:00:29.760
    *** ACTION NAME:(ORA$AT_OS_OPT_SY_1144) 2013-01-21 22:00:29.760
    SQL> SELECT JOB_NAME,STATUS,ADDITIONAL_INFO FROM DBA_SCHEDULER_JOB_RUN_DETAILS WHERE JOB_NAME = 'ORA$AT_OS_OPT_SY_1144';
    JOB_NAME
    STATUS
    ADDITIONAL_INFO
    ORA$AT_OS_OPT_SY_1144
    SUCCEEDED
    The job show completed but i want to avoid this issue in the Alert.
    Regards,
    DB

  • ORA-01403: no data found ORA-06512: in SYSMAN.MGMT_CREDENTIAL

    Hi all,
    I'm trying to configure grid agent 10.2.0.5 on Windows server 2008 (x64).
    One step is to configure host credentials in GRID enterprise manager.
    When I put those credentials (user and password) I recive the following error:
    ORA-01403: no data found ORA-06512: in "SYSMAN.MGMT_CREDENTIAL"
    File emoms.trc shows the following:
    2010-09-15 12:21:10,152 [EMUI_12_21_10_/console/pref/setCredentials$targetType=oracle*_emd] ERROR creds.SetPrefCreds saveCreds.1478 - SetPrefCreds.saveCreds(): SQLException: ORA-01403: no data found
    ORA-06512: in "SYSMAN.MGMT_CREDENTIAL", line 1491
    ORA-06512: in "SYSMAN.MGMT_CREDENTIAL", line 1588
    ORA-06512: in line 1
    In order to perform the deploy of the Agent for MS SQL Server it is mandatory to set host/agent credentials
    I could not find anything in MetaLink.
    Any suggestion?
    Thanks in advance.

    If you search in MOS for: ORA-06512: in "SYSMAN.MGMT_CREDENTIAL"
    you will find 9 hits.
    Could be a number of things.
    1- target server does not have a FQDN but only short name. Check your targets.xml file on de target server if the server has a short or long name.
    Can you ping the OMS server by ip-address, short name, FQDN from the target server. From the OMS server can you ping the target server by ip,short name and FQDN?. If not check your hosts file or DNS.
    2- Is the host user giving the problem or is it the SYDBA user? Is the SYSDBA user granted sysdba rights?
    3- Is the DBConsole agent running also on the target?
    4- Other?
    If 1:
    Drop all targets from the target server in OMS (drop the agent as the last one)
    Stop the agent
    set oma_home= <path to agent_home>
    / should be \
    del %OMA_HOME%/sysman/emd/state/*
    del %OMA_HOME%/sysman/emd/collection/*
    del %OMA_HOME%/sysman/emd/upload/*.xml
    del %OMA_HOME%/sysman/emd/lastupld.xml
    del %OMA_HOME%/sysman/emd/agntstmp.txt
    del %OMA_HOME%/sysman/emd/blackouts.xml
    On the target server run: agentca -f
    Eric

  • ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing

    Hi,
    I am trying to update an already existing Sales Order through PO Change Inbound 860. When i am performing changes in the line quantity and scheduled ship date with operation code as "Update" then it is successfully updating the Order and also we are able to generate the POAck for the updated sales order lines. But when i am rejecting one of the PO change lines by checking rejected flag, then order is getting imported successfully(I mean sales order is getting updated successfully) but during the POAck Generation i.e. 865 its raising "*ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00103: Warning: document structure does not match DTD Error at line 1*" at XML Gateway. we are using XML Gateway to process the orders, can somebody help me to get rid of this issue. Thanks in advance.
    Thanks,
    Sunil Chauhan

    Hi Kishan
    Thanks for the reply.
    Because this is an outbound transaction so i can not provide you the XML file as we are facing issue to generate the same. Also we are using oracle seeded PO outbound Ack map.
    In addition i can provide you the DTD file.
    <!-- ==================================================== -->
    <!ENTITY % RESOURCES SYSTEM "oagis_resources.dtd">
    %RESOURCES;
    <!-- ==================================================== -->
    <!ELEMENT ACKNOWLEDGE_PO_008 (CNTROLAREA, DATAAREA+)>
    <!ATTLIST VERB
         value CDATA #FIXED "ACKNOWLEDGE"
    >
    <!ATTLIST NOUN
         value CDATA #FIXED "PO"
    >
    <!ATTLIST REVISION
         value CDATA #FIXED "008"
    >
    <!ELEMENT DATAAREA (ACKNOWLEDGE_PO)
    >
    <!ELEMENT ACKNOWLEDGE_PO (POORDERHDR, POORDERLIN*)
    >
    <!ELEMENT POORDERHDR ((%DATETIME.DOCUMENT;)?, (%OPERAMT.EXTENDED.T;)?, POID, POTYPE, ACKREQUEST?, CONTRACTB?, CONTRACTS?, DESCRIPTN?, NOTES*, OPRAMTAUTH?, PORELEASE?, TAXWHEXMPT?, USERAREA?, ACKHEADER, ATTCHREF*, CHARGE*, PARTNER*, POTERM*)
    >
    <!ELEMENT ACKHEADER (SENDER, (%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, ACKCODE, DESCRIPTN?, NOTES*, SALESORDID?, USERAREA?)
    >
    <!ELEMENT POTERM (DESCRIPTN?, TERMID?, ((DAYOFMONTH, PROXMONTH) | DAYSNUM), ((%OPERAMT.EXTENDED.T;) | (%QUANTITY.PERCENT;)), USERAREA?)
    >
    <!ELEMENT POORDERLIN ((%QUANTITY.ORDERED;), (%DATETIME.NEEDDELV;)?, (%OPERAMT.UNIT.T;)?, POLINENUM, DRAWING?, HAZRDMATL?, ITEMRV?, ITEMRVX?, NOTES*, PACKING?, POLNSTATUS?, TAXWHEXMPT?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?, ACKLINE*, ATTCHREF*, CHARGE*, DISTRIBUTN*, PARTNER*, POTERM*, POSUBLINE*, POLINESCHD*)
    >
    <!ELEMENT ACKLINE ((%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, (%QUANTITY.ORDERED;)?, ACKCODE, NOTES*, SALESORDID?, USERAREA?)
    >
    <!ELEMENT POSUBLINE ((%QUANTITY.ITEM;), DRAWING?, ITEMRV?, ITEMRVX?, PSBLINENUM?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?)>
    <!ELEMENT POLINESCHD ((%DATETIME.NEEDDELV;), (%QUANTITY.ORDERED;), DESCRIPTN?, PSCLINENUM?, USERAREA?)
    >
    Thanks,S
    --Sunil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing L

    Hi There,
    I am trying to load XML data [Given Below] into a table using "Load XML Data" option.
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <ID>13</ID>
    <TYPE_SEQ>8</TYPE_SEQ>
    <TYPE>B749</TYPE>
    <TYPE_DESC>B758</_TYPE_DESC>
    <EFFECTIVE_FROM>2099-01-01</EFFECTIVE_FROM>
    <EFFECTIVE_TO>2099-01-01</EFFECTIVE_TO>
    <CREATED_BY>958344</CREATED_BY>
    <CREATED_ON>2099-01-01</CREATED_ON>
    <UPDATED_BY>172283</UPDATED_BY>
    <UPDATED_ON>2099-01-01</UPDATED_ON>
    </ROW>
    </ROWSET>
    It throws the following error.
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
    Can any one advice the solution please.
    -Sudheer.

    Hi Sudheer,
    This is caused by the date format you are using. Probably it is not matching with your NLS settings. Check your NLS settings, what the date format is, and use that in the XML.
    Check it with this code:
    SELECT XMLELEMENT("date", sysdate) FROM dual;Make sure, you have your NLS_DATE settings in the same format.
    Check it with:
    SELECT * FROM v$nls_parameters WHERE parameter = 'NLS_DATE_FORMAT'And then make sure it is the same by setting for example:
      ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD';Greetings,
    Rutger

  • Import job failes with ORA-01403: no data found ORA-06512: at "SYSMAN.MGMT

    Hello everyone,
    I need a help on importing data from a schema in server 1 to the same schema in server 2 via network link. I receive following error when I try to submit a job on Enterprise Manager:
    Import Submit Failed
    ORA-01403: no data found ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 5806 ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 7812 ORA-06512: at "SYSMAN.MGMT_JOB_ENGINE", line 8608 ORA-01403: no data found ORA-06512: at "SYSMAN.MGMT_JOBS", line 273 ORA-06512: at "SYSMAN.MGMT_JOBS", line 86 ORA-06512: at line 1
    Sql of the job:
    declare
    h1 NUMBER;
    begin
    h1 := dbms_datapump.open (operation => 'IMPORT', job_mode => 'FULL', remote_link => 'B_PROD_LINK', job_name => 'BIMPORTFRMPRDTORPT4', version => 'COMPATIBLE');
    dbms_datapump.set_parallel(handle => h1, degree => 1);
    dbms_datapump.add_file(handle => h1, filename => 'IMPORT.LOG', directory => 'DATA_PUMP_DIR', filetype => 3);
    dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
    dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
    dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
    dbms_datapump.set_parameter(handle => h1, name => 'REUSE_DATAFILES', value => 0);
    dbms_datapump.set_parameter(handle => h1, name => 'TABLE_EXISTS_ACTION', value => 'TRUNCATE');
    dbms_datapump.set_parameter(handle => h1, name => 'SKIP_UNUSABLE_INDEXES', value => 0);
    dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
    dbms_datapump.detach(handle => h1);
    end;
    It says network link is active when I test the network link to make sure its connectivity. I create the network link as a system account. I'm trying to do an import from an Oracle database 10.2.0.2 to 11.2.0.1. My 10g database is on ms windows 2003x64 while my 11g database is on OEL 5.4x64.
    What should I do for now?
    Thank you.
    Edited by: user12144220 on Nov 4, 2012 5:02 AM

    It will be wise to run the Oracle supply streams health check script to check your existing streams environment.
    From the result, you can also open a tar with Oracle to see if they can help you with the setup.
    In addition to the ORA-01403 error, you can also run some of the Oracle Streams packages (Managing Apply Errors) to see the full detail of what is missing that caused the Ora-01403 error.
    I will also try to implement a smoke test using the simple heartbeat table suggested by Oracle Streams, if that is working, then you can begin your full scale setup in your environment knowing that the base Streams Structure is setup correctly.
    HTH

  • Mod_plsql: ORA-942 Execute(Temp BLOB) ORA-00942: table or view does not exi

    mod_plsql: ORA-942 Execute(Temp BLOB) ORA-00942: table or view does not exist
    This is the error I get in the Apache log. On the page:
    "The requested URL /pls/apex/wwv_flow.accept was not found on this server."
    I am sure this is just a configuration issue. I installed v1.6 with the http server off the companion cd with the db (10.2.0.1). After I had it working (did not test everything) I upgraded to 3.0.1.
    I get this message when I am trying to import an application that I just exported! I am testing this for pushing code up to our production environment.
    My dads.conf file looks like:
    Alias /i/ /oracle/product/apps/htmldb/images/
    AddType text/xml xbl
    AddType text/x-components htc
    <Location /pls/apex>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDatabasePassword xxxxxx
    PlsqlDatabaseConnectString 192.168.2.195:1521:idpdev ServiceNameFormat
    PlsqlDefaultPage apex
    PlsqlDocumentTablename wwv_flow_file_object$
    PlsqlDocumentPath docs
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlAuthenticationMode Basic
    PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
    </Location>
    marvel.conf file is empty
    There is a log file for pl/sql.... it has the following text in it that seemed pertinent: Attempting to logon with '(unknown)'
    Also a log that says this and seems to have a "special character" in it that may be causing an issue:
    <1133864024 ms>6565646261636b206f6e a70726f6d707420202e2e2e646f6e65 a
    <1133864024 ms>-----------------------------2444716671664
    <1133864024 ms>^M
    <1133864024 ms>UploadBlobDoc: readahead 27 bytes into 82f5e5c
    <1133864024 ms>UploadBlobDoc : Inserting piece OCI_NEXT_PIECE
    <1133864024 ms>UploadBlobDoc:Attempt to write 2048 bytes(offset 249857)
    <1133864024 ms>UploadBlobDoc:OCILobWrite for 2048 bytes (offset 249857)
    <1133864024 ms>UploadBlobDoc: Read-Ahead buf 82f5e5c has 27 bytes
    <1133864024 ms>UploadBlobDoc : Inserting piece OCI_LAST_PIECE
    <1133864024 ms>UploadBlobDoc:Attempt to write 27 bytes(offset 251905)
    <1133864024 ms>UploadBlobDoc:OCILobWrite finished for 27 bytes
    <1133864024 ms>ORA-942 Execute(Temp BLOB) ORA-00942: table or view does not exist
    <1133864024 ms>Stale Connection due to Oracle error 942
    <1133864024 ms>/pls/apex/wwv_flow.accept HTTP-404 ORA-00942: table or view does not exist
    <1133864024 ms>(wpu.c,594) longjumping back to the beginning
    <1133864024 ms>(wpu.c,457) cleaning up before longjmp
    <1133864024 ms>(wpu.c,461) doing a rollback
    <1133864024 ms>(wpcs.c, 76) Executed 'rollback' (rc=0)
    <1133864024 ms>(wpcs.c, 76) Executed 'begin dbms_session.reset_package; end;' (rc=0)
    <1133864024 ms>(wpd.c,1816) Going to close cursor
    <1133864024 ms>Freed BLOB
    <1133864024 ms>DeinitCursor
    <1133864024 ms>(wpx.c,690) Shutdown has been called
    <1133864024 ms>(wpx.c,702) Going to logoff
    <1133864024 ms>Logoff: Closing connection due to stale connection
    <1133864034 ms>[ReqEndtime: 2/Oct/2007:15:38:11]
    <1133864034 ms>[ReqExecTime: 80 ms]
    I did go in and update the permissions to the wwv_flow_file_objects$ table to give PUBLIC full access to that table to see if that was the problem... it wasn't.
    Probably information overload, but just wanted to be thorough. Anyone have any ideas?

    I also have another issue... probably more of a clarification....
    I run the following to stop the process:
    "/oracle/product/apps/opmn/bin/opmnctl stopproc ias-component=HTTP_Server"
    then
    "/oracle/product/apps/opmn/bin/opmnctl startproc ias-component=HTTP_Server"
    But, at that point, it says that opmn is not running.
    So I try:
    "/oracle/product/apps/opmn/bin/opmnctl stopall"
    then
    "/oracle/product/apps/opmn/bin/opmnctl start"
    then
    "/oracle/product/apps/opmn/bin/opmnctl startproc ias-component=HTTP_Server" and it still says that opmn is not running.
    Once I start running the stops and starts, it will eventually start correctly.
    I think that I am trying the steps too fast and that I probably need to wait a bit between steps since that seems to work better that way.

Maybe you are looking for

  • Networking with an iBook G4

    I have just set up the file sharing option in my newly arrived iMac. I am now able to access my iMac via an old iBook G4. But for some reason, I do not have networking access in reverse: that is, I cannot access my iBook via the iMac. The iMac runs t

  • INFO RECORD/subcontracting

    Hi Gurus,                     a) I want to know what difference it makes when i create.. 1) a info record with vendor A ans Material B with standard procurement type 2) a info record for same vendor A and Material B with subcontracting procurement ty

  • OCCI-getString error

    The following is a small console program written with Visual C++ 6.0 sp 4. The program has a crash when it tries to destruct the string variable fodt in the while loop. Is this a known bug or is there an error in the code ? Bertil Reppen #include "st

  • How to enforce developers to override toString() method

    Hi, Right now we are in design stage of our application. I want that all our BO classes should override toString(), equals() and hashCode() methods. We expect that our application would be running for next 5 to 10 years, and so looking for ways to en

  • Targeting a pre teen with content for the 25's and...

    FFS BT/Yahoo. We've been here before haven't we! Why have you started to target my pre teen daughter with content aimed at the 25+ age bracket? The last time you did this, you reduced my daughter to tears, luckily for me, I've found this out without