ORA-03113: when using xmltransform
After messing with xslt I ended up with ORA-03113.
db version is 11.1.0.6
test is reproducable with the following case:
SQL> with t as (select xmltype('<?xml version="1.0" encoding="UTF-8"?>
2 <ns1:ResourceAvailabilityNotification
3 xsi:schemaLocation="http://schemas.abcdef.com/resourceavailabilitynotification"
4 xmlns:ns1="http://schemas.abcdef.com/resourceavailabilitynotification"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6 <ns1:Header>
7 <Id iid="a">String</Id>
8 <CallThreadId>String</CallThreadId>
9 </ns1:Header>
10 </ns1:ResourceAvailabilityNotification>') xcol from dual)
11 select xmltransform(xcol
12 ,xmltype('<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
13 <xsl:template match="*">
14 <xsl:element name="{local-name()}" namespace="">
15 <xsl:apply-templates select="@* | node()" />
16 </xsl:element>
17 </xsl:template>
18 <xsl:template match="@*">
19 <xsl:attribute name="{local-name()}">
20 <xsl:apply-templates select="."/>
21 </xsl:attribute>
22 </xsl:template>
23 </xsl:stylesheet>')) xml
24 from t;
ERROR:
ORA-03113: end-of-file on communication channelin the trace file:
ORA-07445: exception encountered: core dump [qmxdCreateFragment()+72] [SIGSEGV] [ADDR:0xB0] [PC:0x61C67D2] [Address not mapped to object] []I guess the problem is in
<xsl:attribute name="{local-name()}">
<xsl:apply-templates select="."/>
</xsl:attribute> After changing the "apply-templates" to "value-of" then it works.
Ants
Ants,
I run the test on my laptop Windows XP 32 + Oracle EE 11.1.0.7.0. I broke off the statement after my machine was 100% CPU bound for over 15 min.
I used a local BEQ SQL*Plus connection to connect to the database. The database showed in that time no trace or any indication of a segmentation vault.
Similar Messages
-
ORA-03113 when using connect by in a report query ?
Hi,
Oracle 10g r2, ApEx 4.0.2.
I have a classic report on page zero, I need the following query to display my data :
select
distinct '<input class="radio_report_search_photos" name="radio_selected_photo" type="radio" />' as "Sel",
phot_id,
phot_description,
'<img alt="" id="thumb_'||phot_id||'" class="clickable_thumb" src="#OWNER#.show_photo?v_id_photo='||phot_id||'" />' as "Thumb",
substr(SYS_CONNECT_BY_PATH(kw_text, ', '),3) keyword_list
from
select
phot_id,
phot_description,
kw_id,
kw_text,
pkw_kw_id,
pkw_phot_id,
count(*) OVER(partition by phot_id ) cnt,
ROW_NUMBER() OVER(partition by phot_id order by kw_text) seq
from
photos,
photos_keywords,
keywords
where
phot_id = pkw_phot_id
and pkw_kw_id = kw_id
and contains(kw_text,nvl(:P0_SEARCH_PHOTO_KW,'%')) > 0
where
seq = cnt
start with
seq = 1
connect by prior
seq+1 = seq
and prior
phot_id = phot_idIt works great when executing from any software. I get the expected results.
But yhen I try to put it in the report region source, I get an ORA-03113 when I apply changes...
It works if I remove CONNECT BY PRIOR and SYS_CONNECT_BY_PATH from the query.
Why ?
Thanks.
Details :
url : https://my_host.ch/pls/htmldb_dev/wwv_flow.accept
Error :
Fri, 22 Jul 2011 09:25:38 GMT
ORA-03113: end-of-file on communication channelOK I now use xmlagg & xmlelement instead of connect by.
Sorry for not providing any solution.
Yann. -
ORA-03113 when using references in xmltype
I get an 'ORA-03113: end-of-file on communication channel' if I try to use references in an xml schema on multiple levels. You can find an example below.
Setup:
exec dbms_session.reset_package;
declare
l_schema varchar2(32767) :='<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="qualified"
elementFormDefault="qualified"
version="1.0"
xmlns:xdb="http://xmlns.oracle.com/xdb"
xdb:storeVarrayAsTable="false"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="T_NODE" xdb:SQLType="T_NODE">
<xs:sequence>
<xs:element name="NODE" type="T_NODE"/>
<xs:element name="LEVEL" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="NODE" type="T_NODE" xdb:defaultTable="T_NODE_REF"/>
</xs:schema>';
l_xml xmltype;
l_url varchar2(1000) := 'NodeTest.xsd';
begin
begin
execute immediate 'drop table T_NODE_REF';
exception
when others then null;
end;
begin
execute immediate 'drop table T_NODE_XML';
exception
when others then null;
end;
begin
dbms_xmlschema.deleteschema(
schemaurl => l_url
,delete_option => dbms_xmlschema.delete_cascade_force
exception
when others then null;
end;
l_xml := xmltype.createxml(l_schema);
dbms_xmlschema.registerschema (schemaurl => l_url
,schemadoc => l_xml
,gentables => true
execute immediate 'CREATE TABLE T_NODE_XML OF XMLTYPE XMLTYPE STORE AS OBJECT RELATIONAL XMLSCHEMA "' || l_url || '" ELEMENT "NODE"';
end;
The script:
declare
l_reference ref xmltype;
function rec(
i_level pls_integer
) return ref xmltype
is
l_url varchar2(1000) := 'NodeTest.xsd';
l_ref ref xmltype := null;
l_new_ref ref xmltype := null;
l_node t_node;
l_level pls_integer;
l_node_xml xmltype;
begin
if i_level > 0 then
l_level := i_level - 1;
l_ref := rec(l_level);
else
l_ref := null;
end if;
l_node := new t_node(null, l_ref, i_level);
l_node_xml := xmltype.createxml(xmlData => l_node, schema => l_url, element => 'NODE', validated => 1);
dbms_output.put_line(dbms_lob.substr(l_node_xml.getClobVal, amount => 200, offset => 1));
insert into T_NODE_XML t values(l_node_xml) returning ref(t) into l_new_ref;
commit;
return l_new_ref;
end;
begin
l_reference := rec(1);
end;
Any idea how to overcome this issue?
Thanks in advanceYour previous reply never said anything about commenting out dbms_output so how was I supposed to see the variations you were trying?<br><br>
You need to continue this discussion with Oracle as to why you getting the specific ORA-0600 that you are. This assumes you have a valid support contract. You are getting an internal Oracle error. I'm not Oracle nor do I know the inner workings of their system. If not, Google and maybe the XML DB forum might be able to help you with this issue. They will want to know your version (4 digits) and may question your hammer use of .delete_cascade_force when deleting the schema. This should only be a last resort to use that level I know. It's probably not related to your issue but may come up. -
I install 92040 on redhat AS21. When I create RAC db using dbca, I'll get "ORA-03113: End of file on communication channel" I have checked many doc on metalink. Most of that talk about linux kernel memory setting. I checked shmmax shmmni shmmal and echo 250 32000 100 128 > /proc/sys/kernel/sem. and echo 65536 /proc/sys/fs/file-max It doesn't work. Could someone tell me is there any other solution. (Both of two node physical memory is 1G and swap space is 2.5G)
ThanksI have solve the problem by myself. I'll list how to fix.Maybe it could help u.
1.I change shmmax to half physical memory(I have tried it before ,it doesn't work.I don't think it is keypoint)
2. echo 250 1000 100 100 > /proc/sys/kernel/sem
3. I change shmmin to 1
then it works!
I'm not really understand about this kernel config.Could someone show me where to get detail information? -
ORA-03113 when using dbms_xslprocessor.valueof()
I have just recently started using the 9.2.0.2 functionality, and am having great difficulty in getting dbms_xslprocessor.valueof() to work correctly.
I am aware of two known issues with this procedure.
1) the necessitaty of including '\text()' on the end of the XPATH e.g.
dbms_xslprocessor.valueof(v_employee_node,'LASTNAME',emp_rec.lastname);
would cause a ORA-03113 error and kill the session, while
dbms_xslprocessor.valueof(v_employee_node,'LASTNAME/text()',emp_rec.lastname);
works and returns the correct node value.
2) An empty element will cause the ORA-03113 error.
I have two further questions:-
1) I do not seem to be able to retrieve attribute value using the procedure - for example, assuming I have an element EMPLOYMENT, which has the attribute EMPLSTAT, I could have run the following using XDK to get back the value (assuming I had determined the v_employment_node first):-
emp_rec.emplstat := xslprocessor.valueof(v_employment_node,'@EMPLSTAT');
But running the equivalent in dbms_xlsprocessor:-
dbms_xslprocessor.valueof(v_employment_node,'@EMPLSTAT',emp_rec.emplstat);
gives me the ORA-03113, regardless of whether I include the '\text()' reference or not.
Is this issue down to a lack of understanding on how the functionality works in 9i, or is there a bug? If it is my ignorance, then an example of how to do this would be appreciated.
2)Are these issues known with Oracle, and if so when will a bug fix be released?
Thanks in advance,
Dave.OK I now use xmlagg & xmlelement instead of connect by.
Sorry for not providing any solution.
Yann. -
ORA-03113 when using getSystemResource in java stored proc
I have a java stored procedure that validates xml files.
The xml to validate is stored in a blob and the dtd's are loaded into oracle as Java Resources.
I load the dtd's dynamically through getSystemResource(dtd).
If I call the procedure, everything runs fine one time (dtd is loaded and xml is validated). If I try to run a second time (same session) I get a ORA-03113: end-of-file on communication channel and the server dumps.
(I can run "forever" if I replace the getSystemResource call and get the dtd from file instead).
Also it works all the time when I'm running outside Oracle.
Is this a nown problem or does some one have a suggestion on what I'm doing wrong?
System tested:
8.1.7.x (on AIX, HP, Linux and Win)
9.2.0.x (on Win)
Regards,
MagnusHi Avi,
Well actually, why do you need to repeatedly reload
the DTD, anyway? Isn't it always the same one? So
once you've loaded it, you wouldn't need to bother
reloading it, would you?It�s not always the same DTD:
We have a PL/SQL procedure (XML API) that is feed with different XML by an �external� process. We have to validate each XML with corresponding DTD to either accept or refuse it.
To make the XML API flexible and easy to maintain, we want to load all �files� (both java classes and dtd/xslt files) for each type of XML into Oracle instead of having some parts stored on file system and some loaded into Oracle.
(The �problem� is that we can�t demand that the �external� process disconnect/reconnect before each new XML).
Otherwise, I would say go with your workaround.I think I have to do this�
(I�m going to have the same problem with dynamical loading of XSLT files when I transform the incoming XML to our internal XML format).
Regards,
Magnus -
ORA-03113 when installing Oracle 8.1.7
Hi!
I'm trying to install Oracle 8.1.7 Std. Edition on Windows 2000. Whatever I try I always get an ORA-03113 when the wizard tried to initiallize the database. Seems that the TNSListener does something strange.
Who can help me?????
Thanks a lot!
Holger Bothmer
mailto:[email protected]Hi,
Please check up if any TNSListener (of older version , from previously installed RDBMS ) is already running in the system.
Statup->controlpanel->Services->%TNSListener%.
If so, please Stop the listener,while you install the oracle.
Else, While you install oracle, don't create starter database.First install Oracle, after that, create the DB using "Database configuration Assistant(DCA)", life will be easier!!
Regard
karthik -
URGENT : ORA 302000 when using TEXT_IO.fopen
Hi,
I get this error ORA 302000 when using TEXT_IO package, the code I use is
new_file:=text_io.fopen('c:\text.txt','r')
i don't have the description of this ORA 302000 , pls does anyone have it?Hi,
I know it's been 2 years but it's still up to date for me.
I tried the suggested piece of code to trace the error but it did not bring anything more
EXCEPTION
When Others then
srw.Message( 2, 'EXCEPTION ' || SQLCODE || ' in common package. Can not open the file ');
IF SQLCODE = -302000 then
LOOP
EXIT WHEN TOOL_ERR.NERRORS = 0;
SRW.MESSAGE( 667, TO_CHAR(TOOL_ERR.CODE) || ': ' || TOOL_ERR.MESSAGE);
TOOL_ERR.POP;
END LOOP;
END IF;
srw.Message( 3, 'EXCEPTION ' || SQLCODE || ' in com package. Can not open the file ' || I_Desname || ' : ' || SQLERRM );
Only Message 2 and 3 are displayed in the trace file
Any other suggestion?
Manu -
Error ORA-06502 When using function REPLACE in PL/SQL
Hi,
I have a PL/SQL procedure which gives error 'Error ORA-06502 When using function REPLACE in PL/SQL' when the string value is quite long (I noticed this with a string 9K in length)
variable var_a is of type CLOB
and the assignment statement where it gives the error is
var_a := REPLACE(var_a, '^', ''',''');
Can anyone please help!
ThanksEven then that shouldn't do so:
SQL> select overload, position, argument_name, data_type, in_out
2 from all_arguments
3 where package_name = 'STANDARD'
4 and object_name = 'LPAD'
5 order by 1,2
6 /
OVERLOAD POSITION ARGUMENT_NAME DATA_TYPE IN_OUT
1 0 VARCHAR2 OUT
1 1 STR1 VARCHAR2 IN
1 2 LEN BINARY_INTEGER IN
1 3 PAD VARCHAR2 IN
2 0 VARCHAR2 OUT
2 1 STR1 VARCHAR2 IN
2 2 LEN BINARY_INTEGER IN
3 0 CLOB OUT
3 1 STR1 CLOB IN
3 2 LEN NUMBER IN
3 3 PAD CLOB IN
4 0 CLOB OUT
4 1 STR1 CLOB IN
4 2 LEN NUMBER INI wonder what happened? -
ORA-03113 when trying to connect to database
RDBMS Version:: 9.2.0.6
Operating System and Version:: Win2003 Small Business Server
Error Number (if applicable):: ORA-03113
Server Net Version:: 9.2.0.6
Client Operating System and Version:: Solaris10
Client Net Version:: 2.1.3
ORA-03113 when trying to connect to database
I've currently a 7.1.3 client on SUN Solaris (5.10 Generic_118844-26 i86pc i386 i86pc) where I want to connect to the 9.2.0.6 database on a Win2003 Server hardware.
When i try to connect via SQL*Plus (Release 3.1.3.4.1), I get ORA-03113. Looking into the listener resp. alertfile on the server, I can see that the connectiorequest is recognized, but immediately answered by an ORA-0600, producing also trc-files.
listener: 25-MAI-2007 09:37:23 * (CONNECT_DATA=(SID=HTASQL)(CID=(PROGRAM=)(HOST=eklvpa)(USER=sat250))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.17.233.3)(PORT=32790)) * establish * HTASQL * 0
alert: ORA-00600: internal error code, arguments: [12333], [26], [0], [115], [], [], [], []
Activating traces on the client-side showed the following errors:
-<ERROR>- ntus2err: sd=8, op=1, resnt[0]=511, resnt[1]=2, resnt[2]=0
-<ERROR>- nserror: nsres: id=0, op=65, ns=12541, ns2=12560; nt[0]=511, nt[1]=2, nt[2]=0
-<ERROR>- nsopen: unable to open transport
-<ERROR>- nsprecv: transport read error
-<ERROR>- nserror: nsres: id=0, op=68, ns=12537, ns2=12560; nt[0]=507, nt[1]=0, nt[2]=0
-<ERROR>- osnqrc: wanted 1 got 0, type 0
-<ERROR>- osnqper: error from osnqrc
-<ERROR>- osnqper: nr err code: 0
-<ERROR>- osnqper: ns main err code: 12537
-<ERROR>- osnqper: ns (2) err code: 12560
-<ERROR>- osnqper: nt main err code: 507
-<ERROR>- osnqper: nt (2) err code: 0
-<ERROR>- osnqper: nt OS err code: 0
-<ERROR>- osnqsm: send-break: failed to send OOB break...
-<ERROR>- osnqper: error from send-marker
-<ERROR>- osnqper: nr err code: 0
-<ERROR>- osnqper: ns main err code: 12583
-<ERROR>- osnqper: ns (2) err code: 0
-<ERROR>- osnqper: nt main err code: 0
-<ERROR>- osnqper: nt (2) err code: 0
-<ERROR>- osnqper: nt OS err code: 0
-<ERROR>- osnqbr: returning 3113
Can anybody help me in determining the problem ? Is there a systemtic incompatibility in connecting a 7.1.3 client to a 9.2 (or even higher) database ?Thanks for your reply.
But the funny thing on this compatibility issues is, that this configuration worked before. The only thing we did, was to setup the client-PC on a new hardware with also a new operating system (upgrading from Solaris 5.8 to 5.10). And from that time we encountered this problem.
Are there any OS-related problems known or better to say: is (was) ORACLE 7.1.3 supported on Solaris 5.10 ? Should we look for any patches which might help us ? -
Oracle raise ORA-03113 when connect to a remote oracle server using toad
Hi there,
when i use the tool toad connect to a remote oracle server which located in a different city,
when i submit a query in toad,
if the query returns many rows of data, it will raise the error ORA-03113:end-of-file on communication channel,
however if the query returns only a few rows, i won't raise such error,
however, when i use sqlplus connect to that remote server, it won't raise such error,
what's the reason is, can any one tell me how to tackle this problem if using the tool toad. thanks/hi my oracle vsersion is:
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
my oracle server is 2 nodes rac server,
and i've tried two different kind version of toad v9.6 and v10.5, and both have the same problem
once i query a table, if the result returned more than 30 rows, then it will raise that error, if query returns less than 30 rows, it's ok.
i assume it is a problem concern with network, but i don't know why no such error raise when using sqlplus ? -
Error ORA-03113 when upgrading from 11.2.0.1 to 11.2.0.3
I keep on getting this error when upgrading from 11.2.0.1 to 11.2.0.3
[Thread-57] [ 2012-04-20 13:18:28.207 CEST ] [SummarizableStep.genSummary:409] Generating Summary for:=Pre Upgrade ,status is:=Successful
[Thread-57] [ 2012-04-20 13:18:28.208 CEST ] [SummarizableStep.genSummary:409] Generating Summary for:=Oracle Server ,status is:=Failed
oracle.sysman.assistants.util.step.StepExecutionException: ORA-03113: end-of-file on communication channel
Upgrade failed due to running the step "Upgrading Oracle Server"
at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeSubStepImpl(SubComponent.java:738)
at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeStepImpl(SubComponent.java:585)
at oracle.sysman.assistants.dbma.backend.component.Component.executeStepImpl(Component.java:317)
at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:183)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2708)
at java.lang.Thread.run(Thread.java:637)
[Thread-57] [ 2012-04-20 13:18:28.209 CEST ] [SummarizableStep.executeImpl:212] Throwing exception e from SummarizableStep
[Thread-57] [ 2012-04-20 13:18:28.209 CEST ] [BasicStep.configureSettings:304] messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@4805e9f1
oracle.sysman.assistants.util.step.StepExecutionException: ORA-03113: end-of-file on communication channel
Upgrade failed due to running the step "Upgrading Oracle Server"
at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeSubStepImpl(SubComponent.java:738)
at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeStepImpl(SubComponent.java:585)
at oracle.sysman.assistants.dbma.backend.component.Component.executeStepImpl(Component.java:317)
at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:183)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2708)
at java.lang.Thread.run(Thread.java:637)
[Thread-57] [ 2012-04-20 13:18:31.000 CEST ] [CompManager.isModeSet:9822] DB Upgrade Mode Setting := 1
[Thread-57] [ 2012-04-20 13:18:31.001 CEST ] [CompManager.isModeSet:9823] Mode := 1 is set
[Thread-57] [ 2012-04-20 13:18:31.001 CEST ] [SQLEngine.done:2189] Done called
[Thread-57] [ 2012-04-20 13:18:31.001 CEST ] [Database.getStepSQLInterface:787] OH in database: /app/oracle/product/11.2.0.3/db_1Any clues about what could be wrong? I am planning to upgrade with the manual steps if it does not work :(Pl post OS details - are you using DBUA to upgrade ? Are there any errors in the database alert log ?
ORA-00600 [kodpunp-nulltds], ORA-00600 [kokeeiix1], [600] When Upgrading To 11GR2 [ID 1367827.1]
HTH
Srini -
ORA-03113 when inserting a CLOB value casted as an XMLType from a SELECT query into a table
I have a table that contains a CLOB column with pseudo-XML in it. I want to keep this data in an XMLType column so that I can leverage some of Oracle's built-in XML features to parse it more easily.
The source table is defined as:
CREATE TABLE "TSS_SRM_CBEBRE_LOGS_V"
( "INCIDENT_ID" NUMBER,
"EVENT_TYPE" VARCHAR2(100 BYTE) NOT NULL ENABLE,
"EVENT_KEY" VARCHAR2(100 BYTE),
"CREATION_DATE" TIMESTAMP (6) NOT NULL ENABLE,
"CREATED_BY" VARCHAR2(100 BYTE) NOT NULL ENABLE,
"LOG_MSG" CLOB);
The target (for testing this problem) table is defined as:
CREATE TABLE "TESTME"
( "LOG_MSG" "XMLTYPE"
My query is:
insert /*+ APPEND */ into testme ("LOG_MSG")
select XMLTYPE.createXML("LOG_MSG") as LOG_MSG from "TSS_SRM_CBEBRE_LOGS_V" b;
In SQL*Developer, my error is: Error report:
SQL Error: No more data to read from socket
In SQL*PLUS and Toad, my error is:
ORA-03113: end-of-file on communication channel
Process ID: 13903
Session ID: 414 Serial number: 32739By pseudo-XML, I mean that it doesn't have the xml root node. The content structure is similar to the following:
<a attr1="1" attr2="2" />
<b attr1="3" attr2="4" />
<c attr1="5">
<e attr1="6" attr2="7" />
<e attr1="8" attr2="9" />
<e attr1="10" attr2="11" />
</c>
<d attr1="12" />
OK. Those are XML fragments then.
I'm surprised you say the query alone works.
We cannot build an XMLType instance using the default constructor or createXML() method when the content is composed of fragments.
AFAIK the only option is to use XMLParse() with CONTENT option :
SQL> select xmltype.createxml(LOG_MSG) from TSS_SRM_CBEBRE_LOGS_V;
ERROR:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00245: extra data after end of document
Error at line 2
ORA-06512: at "SYS.XMLTYPE", line 5
no rows selected
SQL> select xmltype(LOG_MSG) from TSS_SRM_CBEBRE_LOGS_V;
ERROR:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00245: extra data after end of document
Error at line 2
ORA-06512: at "SYS.XMLTYPE", line 272
ORA-06512: at line 1
no rows selected
SQL> select xmlparse(content LOG_MSG) from TSS_SRM_CBEBRE_LOGS_V;
XMLPARSE(CONTENTLOG_MSG)
<a attr1="1" attr2="2" />
<b attr1="3" attr2="4" />
<c attr1="5">
<e attr1="6" a
Anyway, you'll eventually hit this :
SQL> insert into testme (LOG_MSG)
2 select XMLparse(content LOG_MSG)
3 from TSS_SRM_CBEBRE_LOGS_V;
insert into testme (LOG_MSG)
ERROR at line 1:
ORA-19010: Cannot insert XML fragments -
Error ORA-03113 when execute procedure via OEM
Hi All,
I got error messages
ORA-03113: end-of-file on communication channel
ERROR at line 1:
ORA-03114: not connected to ORACLE
when execute procedure via Oracle Enterprise Manager
Who do you know what 's the problem and how can I resolves ?
Thanks,
MckaSolution Description:
=====================
The ORA-3113 error is a general error reported by Oracle client tools,
which signifies that they cannot communicate with the oracle shadow
process. As it is such a general error more information must be collected
to help determine what has happened.
This short article describes what information to collect for an
ORA-3113 error when the Oracle server is on a Unix platform.
General Issues:
===============
1) Is it only one tool that encounters the error or
do you get an ORA-3113 from any tool doing a similar operation?
If the problem reproduces in SQL*Plus, use this in all tests
below.
2) Check if the problem is just restricted to:
[ ] One particular UNIX user,
[ ] Any UNIX user
or [ ] Any UNIX user EXCEPT as the Oracle user.
3) Check if the problem is just restricted to:
[ ] One particular ORACLE logon
or [ ] Any ORACLE logon that has access to the
relevant tables.
4) If you have a client-server configuration does this occur from:
[ ] Any client
[ ] Just one particular client
or [ ] Just one group of clients ?
If so what do these clients have in common ?
Eg: Software release .
5) Do you have a second server or database version where the
same operation works correctly? -
ORA-01194 and ORA-00604 when using backup controlfile set #2
Database version Oracle 11.2.0.1
Enterprise Linux 5.4
Database is in archivelog mode.
I'm trying to recover a database according to set #2 of a backup controlfile to trace. Creating the controlfile works fine, but recovering the database fails.
From what I can gather, the recovery fails because it cannot roll forward - sequence 39 is in the missing online redo logfile. However, the database is opened with the restlogs option, and I understand that it should use the archivelogs in order to roll backwards. Since this is a new controlfile it does not know about archivelogs, but it does not accept to register or use any archivelog files.
The recovery as outlined in set #2 does not seem to work as advertised. Any ideas?
Following errors:
SQL> CREATE CONTROLFILE REUSE DATABASE "RCAT" RESETLOGS ARCHIVELOG etc.
Control file created.
Tyring to register on of the archivelogs does not work:
SQL> ALTER DATABASE REGISTER LOGFILE '/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc';
ALTER DATABASE REGISTER LOGFILE '/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc'
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level
Applying an existing archivelog during recovery does not work:
SQL> recover database using backup controlfile until cancel
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc
ORA-00310: archived log contains sequence 33; sequence 39 required
ORA-00334: archived log:
'/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc'
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/u02/RCAT/datafile/o1_mf_system_6959kz7l_.dbf'
ls -l /u02/fra/RCAT/archivelog/2010_09_19:
-rw-r----- 1 oracle dba 49313280 Sep 19 00:01 o1_mf_1_33_69bfo5tx_.arc
-rw-r----- 1 oracle dba 312320 Sep 19 00:03 o1_mf_1_34_69bft63b_.arc
-rw-r----- 1 oracle dba 20343808 Sep 19 02:10 o1_mf_1_35_69bo6y6j_.arc
-rw-r----- 1 oracle dba 40960 Sep 19 02:12 o1_mf_1_36_69boc9t8_.arc
-rw-r----- 1 oracle dba 20992 Sep 19 02:13 o1_mf_1_37_69bofng4_.arc
-rw-r----- 1 oracle dba 794624 Sep 19 02:15 o1_mf_1_38_69bokwbf_.arcThanks,
MarkusSpecifying sequence 39 results in the same error message, which is what is what it tries to apply when using "recover until cancel" and typing cancel. But the problem is that sequence 39 was in the online redologs, which were not archived yet.
SQL> select name, first_change#,next_change# from v$archived_log;
NAME FIRST_CHANGE# NEXT_CHANGE#
/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_34_69bft63b_.arc 1259096 1259295
/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_37_69bofng4_.arc 1269876 1269935
/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_35_69bo6y6j_.arc 1259295 1269766
/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_36_69boc9t8_.arc 1269766 1269876
/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_38_69bokwbf_.arc 1269935 1270557
/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc 1241003 1259096
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_21_699l4tkj_.arc 1215727 1215730
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_24_699s5pj8_.arc 1215736 1224966
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_26_699s5rp4_.arc 1224969 1224972
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_15_6987rbqp_.arc 1174393 1174511
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_23_699l4xng_.arc 1215733 1215736
NAME FIRST_CHANGE# NEXT_CHANGE#
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_28_699s5tqt_.arc 1224975 1224987
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_22_699l4w5r_.arc 1215730 1215733
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_29_699s5vw2_.arc 1224987 1224990
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_19_699l4or0_.arc 1215721 1215724
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_25_699s5qd6_.arc 1224966 1224969
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_30_699s5yvs_.arc 1224990 1224999
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_27_699s5stf_.arc 1224972 1224975
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_32_69b2hgvz_.arc 1225003 1241003
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_17_699k5oxl_.arc 1194778 1209476
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_16_699jsxol_.arc 1174511 1194778
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_20_699l4rx2_.arc 1215724 1215727
NAME FIRST_CHANGE# NEXT_CHANGE#
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_18_699l4msq_.arc 1209476 1215721
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_14_6987mljx_.arc 1162149 1174393
/u02/fra/RCAT/archivelog/2010_09_18/o1_mf_1_31_699s61sr_.arc 1224999 1225003
25 rows selectedHow does it actually know about all the archivelogs?
Edited by: Markus Waldorf on Sep 20, 2010 8:37 AM
Maybe you are looking for
-
How can I unlink my iPhone from an apple id?
I tried to download the iOS 8 update, but it told me i didn't have enough storage and there was an error so i clicked the okay button and unplugged my phone. Then it had that screen that said plug into your iTunes, so i plugged it in and said i had t
-
How to change the column header in XsltListView webpart
I have a XsltListView webpart. By default it displays the column name in the header. How do I change the header and give a friendly name? I am able to change the header, if I click on header and position the cursor at the right spot and change. But s
-
I cannot find the info about what iPad I have....a 2 or an iPad 3.......where do you find the #'s??
-
Default setting for Planning Table
Dear gurus, How to default user setting in planning table? ( Not at individual user level) how it is possible? Pl. reply. Srini
-
Dynamic Layouts on Custom Objects
Is it possible to create Dynamic Layouts on SOD for custom objects? Where the Dynamic layouts can be found for custom objects? Regards, JP