Db links and ora-03113
I currently run two 7.3.4 databases linked with a public database link. Every now and then my cobol process on my first db aborts due to ora-03113 while access my second db via the link. I restart the cobol process, and it works fine. It does not appear to correlate to and db or network events. Both are on same host (unix 11). first has shared pool size 10 x that of second-does that matter?
What do I look for?
I currently run two 7.3.4 databases linked with a public database link. Every now and then my cobol process on my first db aborts due to ora-03113 while access my second db via the link. I restart the cobol process, and it works fine. It does not appear to correlate to and db or network events. Both are on same host (unix 11). first has shared pool size 10 x that of second-does that matter?
What do I look for?
Similar Messages
-
Error 2068 trapped in 2PC on transaction 3.6.12908. Cleaning up.
Error stack returned to user:
ORA-02068: fatal error has occurred in Instance_name.WORLD.
End-of-file has been detected in the communication channel: ORA-03113
Can anyone please share with the cause and solution.
Windows server and Database version : 9.2ORA-02068: following severe error from stringstring
Cause: A severe error (disconnect, fatal Oracle error) received from the indicated database link. See following error text.
Action: Contact the remote system administrator.
ORA-03113: end-of-file on communication channel
Cause: The connection between Client and Server process was broken.
Action: There was a communication error that requires further investigation. First, check for network problems and review the SQL*Net setup. Also, look in the alert.log file for any errors. Finally, test to see whether the server process is dead and whether a trace file was generated at failure time. -
InterMedia Text with USER_DATASTORE and ORA-03113
Hi,
I have problems using Oracle's InterMedia Text-index with a
USER_DATASTORE. I'm using Oracle 8.1.7 on Windows NT 4.0.
What I try to do is to create a context-index on multiple columns
of multiple tables. I created a table containing the original
tablenames and primary keys plus a char(1)-column to index, a
user_datastore, a procedure in a user-schema, a
wrapping-procedure in ctxsys' schema and finally the index. All
works fine so far but I get an ORA-03113 "end-of-file on
communication channel" error when querying the table with
contains. The procedure itself works.
Here's what I tried in detail:
I created a table "alldocs" containing the tablename and
primary-key-value of each line of each table plus a dummy-column
for the index:
create table alldocs(
table varchar2(30) not null,
id number not null,
data char(1),
primary key(tabelle, id)
I filled this table:
insert into alldocs (select 'MYDOCS', id, 'a' from mydocs);
insert into alldocs (select 'OTHERDOCS', id, 'b' from otherdocs);
The user's procedure - only dummy for testing - is:
create procedure test.GetAllDocsData(row IN ROWID, data IN OUT
NOCOPY CLOB) IS
tabname varchar2(30);
myid number;
tmpclob clob;
begin
dbms_lob.createtemporary(tmpclob, TRUE);
dbms_lob.writeappend(tmpclob, 34, 'Ein Text mit ca. 20
Zeichen Ldnge.');
data := tmpclob;
end;
In ctxsys' schema I defined the following procedure and the
datastore:
create or replace procedure sysGetAllDocsData(rid in rowid, tlob
in out clob) is
begin
test.GetAllDocsData(rid, tlob);
end sysGetAllDocsData;
grant execute on sysGetAllDocsData to test;
call ctx_ddl.create_preference('MyUserDS', 'user_datastore');
call ctx_ddl.set_attribute('MyUserDS', 'procedure',
'sysGetAllDocsData');
call ctx_ddl.set_attribute('MyUserDS', 'output_type', 'CLOB');
Finally I defined the index:
create index test.alldocs_ctx on test.alldocs(data)
indextype is ctxsys.context
parameters ('DATASTORE CTXSYS.MyUserDS FILTER
CTXSYS.INSO_FILTER LEXER BASIC_LEXER');
This all works without errors. But when querying like this:
select * from test.alldocs where contains('data', 'Text')>0
the answer is
ORA-03113: end-of-file on communication channel
I hope someone can help.
Greetings
RalfHi Ralf,
please define first your own preferences like this:
exec CTX_DDL.drop_preference('MY_LEXER');
exec CTX_DDL.create_preference('MY_LEXER','BASIC_LEXER');
exec CTX_DDL.set_attribute('MY_LEXER','ALTERNATE_SPELLING',
'GERMAN');
exec CTX_DDL.set_attribute('MY_LEXER','BASE_LETTER','YES');
exec CTX_DDL.set_attribute('MY_LEXER','MIXED_CASE', 'NO');
exec CTX_DDL.set_attribute('MY_LEXER','INDEX_THEMES','NO');
exec CTX_DDL.set_attribute('MY_LEXER','INDEX_TEXT', 'YES');
exec CTX_DDL.set_attribute('MY_LEXER','COMPOSITE', 'GERMAN');
exec ctx_ddl.Drop_Preference ('MY_FILTER');
exec ctx_ddl.Create_Preference ('MY_FILTER','NULL_FILTER');
exec ctx_ddl.drop_section_group ('MY_SECTION');
exec ctx_ddl.create_section_group
('MY_SECTION','NULL_SECTION_GROUP');
and then create your index with this preferences. You only need
an INSO filter if you want to index pdf,word,...
create index test.alldocs_ctx on test.alldocs(data)
indextype is ctxsys.context
parameters ('DATASTORE CTXSYS.MyUserDS FILTER
CTXSYS.INSO_FILTER LEXER BASIC_LEXER');create index test.alldocs_ctx on test.alldocs(data)
indextype is ctxsys.context
parameters ('
DATASTORE CTXSYS.MyUserDS
lexer MY_LEXER
filter MY_FILTER
section group MY_SECTION');
Then see in the token table what tokens are in the index:
select token_text from dr$alldocs_ctx$i;
If you got also an ORA-3113 see in alert.log if there is a trace
referenced with this error and have a look in this file to find a
better error message.
Good luck.
Thomas -
SDO_RELATE and ORA-03113 error
Hello,
I am trying to use the SDO_RELATE function and I receive the following error:
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Using the following SQL
SELECT ufi FROM ROADLINE A
WHERE MDSYS.SDO_RELATE(
A.GEOMETRY, mdsys.sdo_geometry( 2003,null,null,
mdsys.sdo_elem_info_array(1,1003,3),
mdsys.sdo_ordinate_array(132,-12,133,-11)),
'mask=ANYINTERACT querytype=WINDOW') = 'TRUE'
A similar search using the SDO_FILTER instead of SDO_RELATE and removing the mask=ANYINTERACT works ok.
Can anyone suggest anything?
Thanks in advance.
GunterHi Gunter,
It looks like there may be other issues. Can you post the version of Oracle you are using, and try debugging just a little bit more to try to narrow the problem down?
This might help to determine which geometry the failure is occuring at:
create table tt as select ufi,geometry
from roadline where rownum < 1;
declare
ufi number ;
window_geom mdsys.sdo_geometry := mdsys.sdo_geometry( 2003,null,null, mdsys.sdo_elem_info_array(1,1003,3),
mdsys.sdo_ordinate_array(132,-12,133,-11));
theGeom mdsys.sdo_geometry ;
TYPE geomcursor is REF CURSOR ;
aCursor geomcursor;
relationship varchar2(30);
begin
open aCursor FOR 'SELECT ufi, geometry from roadline A WHERE SDO_filter( A.GEOMETRY,:WINDOW_GEOM, ''querytype=WINDOW'') = ''TRUE''' using window_geom;
loop
FETCH aCursor INTO ufi, theGeom ;
EXIT WHEN aCursor%NOTFOUND ;
execute immediate 'insert into tt values (:ufi,:theGeom)'
using ufi,theGeom;
execute immediate 'commit';
relationship := sdo_geom.relate(theGeom,'anyinteract',window_geom,0.05);
end loop;
end;
If you see the same error, hopefully it will be determining the relationship between the last geometry in the table tt and the query window. If you can check this, and if this is the case post the geometry that is failing as well as the contents of user_sdo_geom_metadata for roadline that would be great.
Dan -
DBMS_XSLPROCESSOR.processXSL and ORA-03113
Hi,
I got "ORA-03113: end-of-file on communication channel" error when use DBMS_XSLPROCESSOR.processXSL to transform an xml data.
The dump file contains:
----- PL/SQL Call Stack -----
object line object
handle number name
33C61A04 493 package body XDB.DBMS_XSLPROCESSOR
33C61A04 520 package body XDB.DBMS_XSLPROCESSOR
207BCF08 44 function DAN_DR_306.IMPACT1
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
_qmxdXobToLobStream 00000000
+190
qmxdWriteToString+ CALLrel qmxdXobToLobStream
37 +0
qmprprocessor_pxs CALLrel _qmxdWriteToString+ A6A4F90 0 7B4E358 7D0
ldoc2buf+280 0
__VInfreq__spefcmpa CALLreg 00000000 7CECD94 7B04D48 0 C 7B04D98 0
+210 C 7B04C58 0 C 7B4E358 7B4EBCC
7B4EBD4 7B4EBDC
spefmccallstd+147 CALLrel spefcmpa+0 7CECB08 E 7B4EB48 7CEC5B8 0
Following is the simplified example that can be used to duplicate the error. If I use "<result/>" instead of "<!--result/-->" in the "xsldoc", the transformation works file. It seems the ora-03113 occurs when the transformation result is empty.
CREATE OR REPLACE FUNCTION impact1 (
tsiModelUniqueName varchar2
) RETURN integer IS
indoc VARCHAR2(2000);
xsldoc CLOB;
indomdoc DBMS_XMLDOM.DOMDocument;
xsltdomdoc DBMS_XMLDOM.DOMDocument;
myParser DBMS_XMLPARSER.parser;
proc DBMS_XSLPROCESSOR.processor;
xsl DBMS_XSLPROCESSOR.stylesheet;
result CLOB;
buf VARCHAR2(2000);
BEGIN
indoc := '<test>aaa</test>';
xsldoc := '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8"/>
<xsl:strip-space elements="*"/>
<!-- process node comparison -->
<xsl:template match="/test">
<!--result/-->
</xsl:template>
</xsl:stylesheet>';
-- Get the new xml parser instance
myParser := DBMS_XMLPARSER.newParser;
-- Get the new xsl processor instance
proc := DBMS_XSLPROCESSOR.newProcessor;
-- Parse the XML document
DBMS_XMLPARSER.parseBuffer(myParser, indoc);
-- Get the XML's DOM document
indomdoc := DBMS_XMLPARSER.getDocument(myParser);
-- Parse the XSL document
DBMS_XMLPARSER.parseBuffer(myParser, xsldoc);
-- Get the XSL's DOM document
xsltdomdoc := DBMS_XMLPARSER.getDocument(myParser);
xsl := DBMS_XSLPROCESSOR.newStyleSheet(xsltdomdoc, '');
--apply stylesheet to DOM document
DBMS_XSLPROCESSOR.processXSL(proc, xsl, indomdoc, buf);
DBMS_OUTPUT.put_line(buf);
DBMS_XMLDOM.freeDocument(indomdoc);
DBMS_XMLDOM.freeDocument(xsltdomdoc);
DBMS_XMLPARSER.freeParser(myParser);
DBMS_XSLPROCESSOR.freeProcessor(proc);
RETURN 1;
EXCEPTION
WHEN OTHERS THEN
raise_application_error(-20100, 'Exception occurred in XSL Processsing Function :'||SQLERRM);
END;
Thanks for the input. /danThe one I know if the DST patch. I am waiting for our DBA to let me know what has been installed since it last worked. I did notice that there are a number of SYS owned XML related JAVA CLASS objects with an INVALID statuses. They have "OracleXML" or "oracle/xdb/dom" in their names. I do not know if that is normal or not.
Mike -
A question about CREATE PUBLIC DATABASE LINK and ORA-12154 error
Dear all,
I have a problem about public database link creation and I would appreciate if you could kindly give me a hand. I have the following connection parameters in my
tnsnames.ora file:
DGPAPROD.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (COMMUNITY=tcp.world)
(PROTOCOL=TCP)(HOST=ORASR001)(PORT=1521)
(CONNECT_DATA = (SID = DGPAPROD))
...Having the above mentioned parameters I can connect to this remote database directly in a SQL*Plus shell:
$ sqlplus username/[email protected] works pretty well and the connection is established without any problem.
Now, what I would like to do is to create a public database link to this remote database in order to avoid the user/connection switching for viewing the
content of this database. I proceeded according to the syntax indicated in the Oracle online documentation:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_5005.htm#SQLRF01205
Therefore I run the following in order to create a public database link
CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING 'DGPAPROD.WORLD';Apparently there is no error and the link is created successfully. However it cannot resolve the remote host and whenever I run the following query
(myenterprise is the name of a table in that remote database)
SELECT *
FROM myenterprise@SR001_dblink
ERROR at line 1:
ORA-12154: TNS:could not resolve the connect identifier specifiedWhat causes this problem?
Thanks in advance,
Kind Regards,
Dariyooshspajdy wrote:
You must have defined DGPAPROD.WORLD in tnsnames.oar on server where you DB is runnig.Hello there,
Thanks a lot for this nice solution. In fact I had to add the connection parameters into the tnsnames.ora file of the server on which the link was created (not the tnsnames.ora of my oracle client stored on the localhost)
After a bit googling I found another solution that allows to create the database link:
CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY=tcp.world)
(PROTOCOL=TCP)(HOST=ip_adresse)(PORT=1521)))(CONNECT_DATA = (SID = GPAPROD)))';Thanks a lot for your help!
Kind Regards,
Dariyoosh
Edited by: dariyoosh on 18 nov. 2009 07:15 -
SQLDeveloper, db links, and ora-12514
There are several ducks to line up here, so please bear with me.
First, the lineup, the batting order …
Workstation WKS_DBA; Win 7 Pro 64bit; Oracle 10g 32bit client; Oracle 11g 64bit client (in that order in PATH); SQL Developer version 3.2.20.09, build MAIN-09.87
Workstation WKS_OLD; Win 7 Pro 32bit; Oracle 10g 32bit client; SQL Developer version 3.0.04, build MAIN-04.34
Workstation WKS-NEW; Win 7 Pro 64bit; 11g 32bit client; 11g 64bit client (in that order in PATH).
Database server SVRLCL; Oracle Linux 5.6 x86-64; Oracle database 10.2.0.4 64bit (let’s call it DBLCL); database link LK_DBRMT pointing to ..
Database server SVRRMT; Windows server 2003 R2, SP2, 32bit; Oracle database 10.2.0.4 (let’s call it DBRMT).
The situation: Connected to DBLCL, we have an UPDATE statement with a WHERE clause that includes a SELECT on a table @LK_DBRMT.
If the statement is executed by SQLDeveloper on WKS_DBA, it works.
If the statement is executed by SQLDeveloper on WKS_OLD, it works.
If the statement is executed by SQLDeveloper on WKS_NEW, it returns an ora-12514, pointing to the db link.
What’s equally strange is that from WKS_OLD and WKS_NEW, SQLDev is sending some CREATE DATABASE LINK statements prior to sending the UPDATE statement. When coming from WKS_NEW, that supposed db link creation includes SERVICE_NAME=null. Here is a sequence of packets received by database DBLCL from SQLDev, beginning with the last query that SQLDev issued on its own behalf, the select from dba.xml_schemas. The only statement we asked sqldev to execute was the UPDATE.
(obviously, the trace has been edited in several ways for brevity and readability. Actualy packet contents include only key clear text to identify what was going on.)
15:02:26:948] nttrd: socket 24 had bytes read=112
15:02:26:948] nsprecv: |..select.1.from.dba_xml_schemas.|
15:02:26:949] nttwr: socket 24 had bytes written=159
15:02:26:949] nspsend: |........|
15:02:31:124] nttrd: socket 24 had bytes read=277
15:02:31:124] nsprecv: |....CREATE.DATABASE.LINK.LK_DBRMT..CONNECT.TO.kilroy.IDENTIFIED.BY.mypswd..USING.'(DESCRIPTION.=(ADDRESS_LIST.=(ADDRESS.=.(PROTOCOL.=.TCP)(HOST.=.172.nn.nnn.88)(PORT.=.1521)))(CONNECT_DATA.=.(SERVICE_NAME.=.null))).'..|
15:02:31:128] nttwr: socket 24 had bytes written=60
15:02:31:128] nspsend: |.<............................D............................. |
15:02:31:129] nttrd: socket 24 had bytes read=269
15:02:31:129] nsprecv: |....CREATE.DATABASE.LINK.LK_DBRMT..CONNECT.TO.kilroy.IDENTIFIED.BY.mypswd..USING.'(DESCRIPTION.=(ADDRESS_LIST.=(ADDRESS.=.(PROTOCOL.=.TCP)(HOST.=.172.nn.nnn.88)(PORT.=.1521)))(CONNECT_DATA.=.(SERVICE_NAME.=.null))).'..|
15:02:31:129] nttwr: socket 24 had bytes written=11
15:02:31:129] nspsend: |........... |
15:02:31:130] nttwr: socket 24 had bytes written=11
15:02:31:130] nspsend: |........... |
15:02:31:130] nttrd: socket 24 had bytes read=11
15:02:31:130] nsprecv: |........... |
15:02:31:130] nttwr: socket 24 had bytes written=84
15:02:31:130] nspsend: |...(ORA-02011:.duplicate.database.link.name. |
15:02:31:131] nttrd: socket 24 had bytes read=269
15:02:31:131] nsprecv: |....CREATE.DATABASE.LINK.LK_DBRMT..CONNECT.TO.kilroy.IDENTIFIED.BY.mypswd..USING.'(DESCRIPTION.=(ADDRESS_LIST.=(ADDRESS.=.(PROTOCOL.=.TCP)(HOST.=.172.nn.nnn.88)(PORT.=.1521)))(CONNECT_DATA.=.(SERVICE_NAME.=.null))).'..|
15:02:31:132] nttwr: socket 24 had bytes written=11
15:02:31:132] nspsend: |........... |
15:02:31:132] nttwr: socket 24 had bytes written=11
15:02:31:132] nspsend: |........... |
15:02:31:132] nttrd: socket 24 had bytes read=11
15:02:31:132] nsprecv: |........... |
15:02:31:132] nttwr: socket 24 had bytes written=84
15:02:31:132] nspsend: |...(ORA-02011:.duplicate.database.link.name. |
15:02:31:134] nttrd: socket 24 had bytes read=848
15:02:31:134] nsprecv: |.....update.TRANS_DETAIL.RT.|
15:02:31:138] nttwr: socket 11 had bytes written=227
15:02:31:138] nspsend: |..(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.nn.nnn.88)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=null)(CID=(PROGRAM=oracle)(HOST=svrlcl.myorg.org)(USER=KIlroy)))) |
15:02:31:138] nttrd: socket 11 had bytes read=103
15:02:31:138] nsprecv: "|""..[(DESCRIPTION=(TMP=)(VSNNUM=169870336)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4)))) |
15:02:31:139] nttwr: socket 24 had bytes written=11
15:02:31:139] nspsend: |........... |
15:02:31:139] nttwr: socket 24 had bytes written=11
15:02:31:140] nspsend: |........... |
15:02:31:140] nttrd: socket 24 had bytes read=11
15:02:31:140] nsprecv: |........... |
15:02:31:140] nttwr: socket 24 had bytes written=136
15:02:31:140] nspsend: |....[ORA-12514:.TNS:listener.does.not.currently.know.of.service.requested.in.connect.descriptor.|
Here is the same sequence, using WKS_OLD
09:25:34:694] nttrd: socket 24 had bytes read=112
09:25:34:694] nsprecv: |..select.1.from.dba_xml_schemas.|
09:25:34:694] nttwr: socket 24 had bytes written=159
09:25:34:694] nspsend: |........|
09:25:39:883] nttrd: socket 24 had bytes read=279
09:25:39:883] nsprecv: |....CREATE.DATABASE.LINK.LK_DBRMT..CONNECT.TO.kilroy.IDENTIFIED.BY.mypswd..USING.'(DESCRIPTION.=(ADDRESS_LIST.=(ADDRESS.=.(PROTOCOL.=.TCP)(HOST.=.172.nn.nnn.88)(PORT.=.1521)))(CONNECT_DATA.=.(SERVICE_NAME.=.DBRMT))).'|
09:25:39:979] nttwr: socket 24 had bytes written=60
09:25:39:979] nspsend: |.<......|
09:25:39:980] nttrd: socket 24 had bytes read=271
09:25:39:980] nsprecv: |....CREATE.DATABASE.LINK.LK_DBRMT..CONNECT.TO.kilroy.IDENTIFIED.BY.mypswd..USING.'(DESCRIPTION.=(ADDRESS_LIST.=(ADDRESS.=.(PROTOCOL.=.TCP)(HOST.=.172.nn.nnn.88)(PORT.=.1521)))(CONNECT_DATA.=.(SERVICE_NAME.=.DBRMT))).'|
09:25:39:981] nttwr: socket 24 had bytes written=11
09:25:39:981] nspsend: |........... |
09:25:39:981] nttwr: socket 24 had bytes written=11
09:25:39:981] nspsend: |........... |
09:25:39:981] nttrd: socket 24 had bytes read=11
09:25:39:981] nsprecv: |........... |
09:25:39:982] nttwr: socket 24 had bytes written=84
09:25:39:982] nspsend: |...(ORA-02011:.duplicate.database.link.name. |
09:25:39:983] nttrd: socket 24 had bytes read=271
09:25:39:983] nsprecv: |....CREATE.DATABASE.LINK.LK_DBRMT..CONNECT.TO.kilroy.IDENTIFIED.BY.mypswd..USING.'(DESCRIPTION.=(ADDRESS_LIST.=(ADDRESS.=.(PROTOCOL.=.TCP)(HOST.=.172.nn.nnn.88)(PORT.=.1521)))(CONNECT_DATA.=.(SERVICE_NAME.=.DBRMT))).'|
09:25:39:984] nttwr: socket 24 had bytes written=11
09:25:39:984] nspsend: |........... |
09:25:39:985] nttwr: socket 24 had bytes written=11
09:25:39:985] nspsend: |........... |
09:25:39:985] nttrd: socket 24 had bytes read=11
09:25:39:985] nsprecv: |........... |
09:25:39:985] nttwr: socket 24 had bytes written=84
09:25:39:986] nspsend: |...(ORA-02011:.duplicate.database.link.name. |
09:25:39:988] nttrd: socket 24 had bytes read=864
09:25:39:988] nsprecv: |.....update.ROY_TRANS_DETAIL.RT.|
09:25:40:015] nttwr: socket 12 had bytes written=229
09:25:40:015] nspsend: |..(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.nn.nnn.88)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DBRMT)(CID=(PROGRAM=oracle)(HOST=svrlcl.myorg.org)(USER=KIlroy)))) |
09:25:40:020] nttrd: socket 12 had bytes read=8
09:25:40:020] nsprecv: |........|
09:25:40:020] nttwr: socket 12 had bytes written=229
09:25:40:020] nspsend: |..(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.nn.nnn.88)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DBRMT)(CID=(PROGRAM=oracle)(HOST=svrlcl.myorg.org)(USER=KIlroy)))) |
09:25:40:021] nttrd: socket 12 had bytes read=32
09:25:40:021] nsprecv: |........|
09:25:40:021] nttwr: socket 12 had bytes written=38
09:25:40:021] nspsend: |..x86_64/Linux.2.4.xx. |
09:25:40:021] nttrd: socket 12 had bytes read=179
09:25:40:021] nsprecv: |.....IBMPC/WIN_NT-8.1.0.|
And the same sequence when executing from WKS_DBA
[10-JUL-2013 14:34:24:546] nttrd: socket 24 had bytes read=111
[10-JUL-2013 14:34:24:546] nsprecv: |.select.1.from.dba_xml_schemas.w|
[10-JUL-2013 14:34:24:547] nttwr: socket 24 had bytes written=159
[10-JUL-2013 14:34:24:547] nspsend: |........|
[10-JUL-2013 14:34:45:262] nttrd: socket 24 had bytes read=856
[10-JUL-2013 14:34:45:262] nsprecv: |.....update.ROY_TRANS_DETAIL.RT.|
[10-JUL-2013 14:34:45:267] nttwr: socket 11 had bytes written=226
[10-JUL-2013 14:34:45:267] nspsend: |..(DESCRIPTION=(address=(protocol=tcp)(host=svrrmt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DBRMT)(CID=(PROGRAM=oracle)(HOST=svrlcl.myorg.org)(USER=estevens)))) |
[10-JUL-2013 14:34:45:272] nttrd: socket 11 had bytes read=8
[10-JUL-2013 14:34:45:272] nsprecv:
[10-JUL-2013 14:34:45:272] nsprecv: |........|
[10-JUL-2013 14:34:45:272] nttwr: socket 11 had bytes written=226
[10-JUL-2013 14:34:45:272] nspsend: |..(DESCRIPTION=(address=(protocol=tcp)(host=svrrmt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DBRMT)(CID=(PROGRAM=oracle)(HOST=svrlcl.myorg.org)(USER=estevens)))) |
[10-JUL-2013 14:34:45:273] nttrd: socket 11 had bytes read=32
[10-JUL-2013 14:34:45:273] nsprecv: |........|
[10-JUL-2013 14:34:45:273] nttwr: socket 11 had bytes written=38
[10-JUL-2013 14:34:45:273] nspsend: |..x86_64/Linux.2.4.xx. |
[10-JUL-2013 14:34:45:273] nttrd: socket 11 had bytes read=179
[10-JUL-2013 14:34:45:273] nsprecv: |.....IBMPC/WIN_NT-8.1.0.|
Several questions suggest themselves, not the least of which are
1- Why is SQLDev even issuing those CREATE DATABASE LINK statements in the first place?
2- Where is it getting the information with which to do that?
3- Why is the same version of SQLDev behaving differently on WKS_DBA and WKS_NEW ?rp0428 wrote:
>
On WKS_NEW, the UPDATE returns an ora-12514 on the reference to the db_link. Of course the db_link is at the database so at first blush the client should have not bearing.
>
I don't know why sql developer should be sending CREATE DATABASE LINK ddl at all so the dev team should look into this. Gary's attempt to get a response from Vadim didnt' work.
The only 'common' thing I see is that on WKS_NEW you have the 32 bit Oracle client ahead of the 64 bit client; the others don't have that.
Ok, on Friday, I had un-restricted access to the problem workstation (developer was out of office). I completely removed all oracle clients, then started re-installing and testing. I removed and reinstalled only the Oracle clients, not SQL Dev. All removals were 'ripping it out by the roots' - deleting the installation directories (c:\app\oracle etc), the inventory directories (c:\Program Files\oracle and c:\Program Files (x86)\oracle) and the registry entires (hklm\software\oracle and hklm\software\Wow6432Node\oracle).
First I installed just the 32-bit. SQL Dev choked and said 'cannot load 32-bit libraries'
Removed the 32 and installed the 64 bit. Ran the tests and got the same results as before .. SELECT works, SELECT in the UPDATE fails
Removed 64, installed 32 then 64. Ran the tests and got the same results as before .. SELECT works, SELECT in the UPDATE fails
Reversed the PATH entries, putting 32-bit first. Ran the tests and got the same results as before .. SELECT works, SELECT in the UPDATE fails
Which begs the question: what type of connection are you using: OCI or thin? If OCI try using the THIN driver to see if you get the same issue and log entries.
If that selection is made by setting the connection properties as "basic" (thin?) or "tns" (OCI?) then yes, tried it both ways, no change.
As to other things to try I would suggest more tests to try to isolate the offending part a little more.
Test various aspects of the DB_LINK itself to see which use cases work and which do not. Many of these can just be done from WKS_NEW
1. Try a plain SELECT * from myTable@dblink - tests if the DB link itself even works in the FROM clause with NO local table reference.
2. Try a similar SELECT * and add a second remote table in the WHERE clause - that is ALL tables and conditions are from the remote server.
3. Try a SELECT from a local table that joins the remote table and db link in the FROM clause rather than the WHERE clause
I think the original pretty well covers the bases. Here's the actual full update statement (with certain names made generic for public posting)
update LOCAL_TRANS_DETAIL RT
set rt.sent_to_remoteapp_date = sysdate
where rt.transactionid in
(select rt.transactionid
FROM LOCAL_TRANS_DETAIL RT
JOIN LOCALSCHEMA.RMT_MASTER_ITEMS RMI ON RT.NEW_ITEM_NUM = RMI.NEW_ITEM_NUM
JOIN RMTSCHEMA_A.PAC_PRODUCT_NUMBER@RMTDB PPN ON RT.NEW_ITEM_NUM = PPN.PRODUCT_NUMBER
JOIN RMTSCHEMA_A.PAC_PRODUCT_NUMBER@RMTDB PPN2 ON PPN.PRODUCT_ID = PPN2.PRODUCT_ID AND PPN2.PRIMARY_SW = 'Y'
JOIN RMTSCHEMA_B.PRD_IMPRESSION@RMTDB PI ON PI.ORDER_NO = PPN2.PRODUCT_NUMBER
WHERE RT.SENT_TO_remoteapp_DATE is NULL and
rt.order_id = 'W4011693' and
rt.item_ship_date < '01-AUG-2013')
4. Try removing the 32 bit Oracle client form the WKS_NEW machine to test if it was getting in the way.
Done. No difference, see previous comment. -
8.1.7 personal and ORA-03113 error
Got a colleague trying to install 8.1.7 personal on to a laptop running XP on a P3 chip, 512 ram.
Installation runs through to the creation of the database and then falls over with a 03113. Click on abort and install finishes. Go back and try to create the database manually and get the same error.
An ides?Please Favour to me that i am asking about some installation guidlines from you
1. can personal oracle 8 support for windows 2000 professional.
2. personal oracle 8 for NT same For Windows 2000 professional.
please Send me suggesstion soon as possible for my email account [email protected] -
ORA-03113 and ORA-03114 problems
Hi,
I'm experimenting Oracle8i. I'm installing 8.1.7 to RedHat Linux 7.0 out of box without recompiling the kernel. I set the SHMMAX to 0.5*258MB memory on the machine by echoing the number to /proc/sys/kernel/shmmax.
I checked that the system meets the requirements of Oracle's Installation Guide except SEMOPM. The RedHat Linux 7.0 sets it to 32, but Oracle requires 100.
I chose Oracle8i EE Typical Installation. The installation was ok to the point of running root.sh. Several syntax errors occur from root.sh. But they are minor syntax errors. I checked the code, regardless of errors, the scripts accomplished what it intends to do. The installation continued. I choose automatic configure Net8 when it ran Net8 Configuration Assistant and the Net8 Configuration was completed successful.
When it started Oracle Database Configuration Assistant, it created a database. But when it initialized the database, error messages ORA-03114 and ORA-03113 appeared many times. Each time, I chose to ignore. The final message was "Database creation completed with warnings."
After installation, I ran svrmgrl
$svrmgrl
SVRMGR> connect INTERNAL
Connected.
SVRMGR> startup
ORA-03113 end-of-file on communication channel
Checking the meaning of error messages, it says that if ORA-03113 occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server.
During installation, I chose Local naming method. There are following files in $ORACLE_HOME/network/admin/
listener.ora
sqlnet.ora
tnsnames.ora
shrept.lst
To my layman's eye, they looked ok. I can even telnet to the linux machine with database name, although I don't know how the machine has acquired the alias without any changes to /etc/named.conf nor any changes to any files in /var/named directory.
Please tell me what is correctly installed Net8? or what went wrong and how I should fix the problem.
Thanks,
Wayne
nullI seem to have 8.1.7 creating a database with RH Linux 7.1 now. This was an important clue, since 7.1 hiccups 65% into the link phase of installation, thereby requiring the stubs patch to be run at that time, whereas 7.0 runs quite happily through the install & link without using the patch.
HOWEVER... before invoking dbassist to create the database under 7.1, you apparently need to export ASSUME_LD_LIBRARY = 2.2.5, etc., again, as you would do for the first time installing under RH 7.0.
null -
Asking help Urgently..
We need to create a DB link from 7.3 to 10g. After initial problems, the DB link is finally established and we can query and do DML on the 10g DB from 7.3. using SQLPLUS.
Now the problem: We want to create triggers on tables in 7.3 DB to insert the same rows in 10g DB using the DB Link. The moment we create the trigger the connection is dropped with the error: ORA-03113: end-of-file on communication channel. We tried to write the insert statement inside a procedure/function but still the same problem.
Please help as we are desperate to find a solution for the said problem. The objective is to be able to insert a row in 10g (DB Linked) Database based on a trigger fired in 7.3 Database (Reference DB). Any help will be appreciated.
Thanks and regards.
Rajeev.I know that 7.x to 10g is not supported officially and should not be used in production environment.
But in our case, we need it for a short duration (duration of Parallel run) and my query is that, if I am able to do inserts from the SQLPLUS using the said DB Link, then why this cannot be done thru a procedure or a trigger.
if anyone has an explanation or workaround, it will be great.
Rajeev. -
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-02068+ORA-03113 on database link
Hi all
I have the following scenario:
The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
The database is a 3-node RAC.
Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
The remote database is not located behind FW.
Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
From time to time we get these errors and we cant find the root cause.
Any ideas how to address this?
Thanks,
RudiRudi wrote:
Hi all
I have the following scenario:
The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
The database is a 3-node RAC.
Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
The remote database is not located behind FW.
Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
From time to time we get these errors and we cant find the root cause.
Any ideas how to address this?
Thanks,
RudiORA-00600/ORA-07445/ORA-03113 = Oracle bug => search on Metalink and/or call Oracle support -
[ ORA-03113 ] DB Link issue between 11gR2 to 8.0.4
Hi,
We have created a DB link from *11gR2* (+64-bit Windows 2008R2+) to *8.0.4* (+32-bit Windows NT+), but when we try to fetch data from the 8.0.4 db using the created dbLink we getting this following Error.
Error: ORA-03113 end-of-file on communication channelThere is no alert log error except application timeout error.
Kindly advice me.
Regards,
HamidThis connection is not supported and was never supported:
Client / Server / Interoperability Support Between Different Oracle Versions [ID 207303.1]
Trying to connect directly will result in ORA-03134.
Werner -
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 AMI'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-02068; ORA-03113 ::DB Link Problems
Hi,
I have created a DB Link from to our client database MARS & i have named it as "MARS_DATA".
But my problem is whenever i query the data using 2 tables in it with a proper join condition using DB Link i am getting the following error.
ORA-02068: following severe error from MARS_DATA
ORA-03113: end-of-file on communication channel
NOTE:
Whenever i query the MARS database with a single table in it i am getting the data.(Using DB Link only)
Most surprising thing for me is when i am trying to execute the Errored out query after running the above it is working fine!!!
Can you help me in resolving this issue?
Regards,
Srinivas.ORA-03113 errors should be resolved with the help of the Oracle Support.
Ask your DBA to contact Oracle Support for this issue.
Maybe you are looking for
-
Alerts sounds are not working after upgrading to iOS 7.1.2
Hi, I've noticed that all the alerts sounds are not working anymore after upgrading my iPhone 4S to iOS 7.1.2 I've reviewed similar posts regarding the same issue; and it seems this is a common issue in iPhone 4S when upgrade to iOS 7.1.2. Apple, ple
-
My External HDD hard drive Doesn't work!!
I have a problem with mij external hard drive on my pc, It's a px1267e-1g32. I bould it last year and it worked fine on my old pc with XP Now I have a new computer with Vista on it and I want to connect my external hard drive, but it give no reaction
-
Does Jdev 11.1.2.3 support EL 2.2?
Hello: Jdev 11.1.2.3 on RedHat 5.8 Does Jdev 11.1.2.3 support EL 2.2? I thought it would be included with JSF 2.0. I have read that in Expression Language 2.2 that we can pass parameters to a bean method using EL. Is this possible? If so what is the
-
My Macbook is extremely slow these days...Is There Anything I can Do?
Hi, My Macbook is running extremely slow these days. Not sure if there is anything I can do. I would appreciate any input on this. I went to the Etresoft website and did the EtreCheck. This is what it came back with: EtreCheck version: 1.9.12 (48) Re
-
Lingo-Java Script problem with new members
Hi, I'm new to Director, so this question could be very simple, but i can't find the answer in internet. I very like Flash and ActionScript and now i've started to learn Director. When I create a Sprite in a Cast- how can I (with JavaScript) copy thi