Setproperties on new ORDDOC gives ORA-6512?

Hello,
I am attempting to convert the CLOBs in an existing table into ORDDOCs in a new table.
I seemed to be almost there. I allocated a new ORDDOC using INIT(), and used writeToSource() on the doc pointer to transfer the text (which I first converted to RAW). The application that accepts this now lists the new document, and displays the text contents.
I now need to set the size (and MIME type, even though the app seems to understand that it's a text document). I called setproperties after writeToSource, and get a set of ORA-6510/ORA-6512 errors. (Included below)
I'd really appreciate any advice!
Thanx and regards,
Arn.
DEV1> l
1 DECLARE
2
3 srcRec arn5%ROWTYPE;
4 doc ORDSYS.ORDDOC;
5 ctx RAW(4000) :=NULL;
6 userArg RAW(4000);
7 len INTEGER;
8 comtxt VARCHAR2(32767);
9 comraw RAW(32767);
10 res integer;
11 doc2 ORDSYS.ORDDOC;
12
13 BEGIN
14
15 DELETE FROM assessment_document
16 WHERE DOC_NO = 0;
17
18 DELETE FROM media_document
19 WHERE DOC_NO = 0;
20
21 INSERT INTO assessment_document VALUES( 1, 0 );
22
23 INSERT INTO media_document VALUES(
24 0, 'comment3.txt', 758197915, SYSDATE, 758197915, SYSDATE,
25 ORDSYS.ORDDOC.INIT()
26 ) RETURNING DOC_OBJ INTO doc;
27
28 SELECT *
29 INTO srcRec
30 FROM arn5
31 WHERE a=0;
32
33 len := LENGTH( srcRec.b );
34 --res:= doc.openSource(userArg, ctx);
35
36 comtxt := dbms_lob.substr(srcRec.b);
37 doc.writeToSource(ctx, 1, len, utl_raw.cast_to_raw(comtxt));
38 doc.setProperties(ctx,true);
39
40 COMMIT;
41* END;
DEV1> /
DECLARE
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "ORDSYS.ORDDOC", line 337
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at line 38

Lawrence, thanx for your prompt reply.
I'll try restating my requirements and problems, and hopefully that will help.
We have an existing table containing text comments in CLOBs. I need to convert the contents of each CLOB into a separate new ORDDOC object in a new table. After this, I will also create a JSP screen that will allow new comments to be submitted, which will also be saved in the DB as ORDDOC objects.
The script I provided was my attempt at the conversion, using doc.writeToSource(). My first question is, is this the right way to go about converting CLOBs to ORDDOCs?
I have a screen that lists documents in the DB. This list includes the document size, which I determine using getContentLength(). For "real" documents - that is, sourced from external files and uploaded using the browser, such metadata is automatically captured. For my new document that is sourced from the CLOB, this information (content length, MIME type) is not automatically captured. I therefore need to set it somehow. I attempted to use setproperties, as althought setMimeType works, there is no setContentLength function.
After your reply, we looked into writing our own plugin, but could not glean from the documentation how to go about this - eg, where and how content length is set.
I hope you can provide further advice on this problem.
Thanx again, and regards,
Arn.

Similar Messages

  • ORA-6512

    I wrote below small function in pl/sql
    ==========================
    CREATE OR REPLACE FUNCTION rec_id_chk (record_id IN NUMBER) RETURN CHAR IS
    dummy NUMBER;
    l_mesg_data VARCHAR2(1000);
    BEGIN
    SELECT NVL(INSTR (record_id, '-'),0) INTO dummy FROM DUAL;
    IF dummy > 0 THEN
    l_mesg_data := 'Error Type :'||'{'||record_id||'}'||sysdate||' Record Invalid';
    RAISE_APPLICATION_ERROR(-20002,l_mesg_data);
    END IF;
    RETURN 'T';
    END rec_id_chk;
    ===================
    When I run it ; it gives ORA-6512;; any suggestions ?
    SQL> select rec_id_chk(-11) from dual;
    select rec_id_chk(-11) from dual
    ERROR at line 1:
    ORA-20002: Error Type :{-11}29-OCT-07 Record number format is invalid
    ORA-06512: at "APPS.REC_ID_CHK", line 13

    Hi Amar
    I don't understand why r u checking "-" sign in a number datatype. If u need to check whether the number is +ve or -ve go for a condition like (number<0). By the way error ORA-06512 comes due to error stack unwinding which is the result of  unhandles exceptions.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 9.0.1: select on dba_users as sys gives ORA-03106

    Hi,
    Select username from dba_users logged as sys gives
    ORA-03106: fatal two-task communication protocal error.
    Install done from zipped OTN files, server 9.0.1, OS Linux SuSe 7.2. Character set UTF8. Is UTF8 incompatible with 9i?
    Any treatment ideas are greatly appreciated.
    Thanks
    Anatoliy Smirnov

    resolved
    thanks

  • The new iTUNE GIVE ME ERROR R6034 AND ERROR 7 (WINDOWS EXE ERROR 1114)

    the new iTUNE give me error c:\program files(x86) itunes\itunes.exe r6034, and Error 7(windows error 1114)

    Hello ROMANCERO,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes for Windows: "Error 7" message when opening iTunes
    http://support.apple.com/kb/ts3074
    Best of luck,
    Mario

  • Gives  ORA-12560: TNS: protocol adapter error when installing oracle 10g

    I tried to install oracle 10g r2 in server 2008. but it gives ORA-12560: TNS: protocol adapter error when installing. how I can fix this issue??? please help me ASAP. because its urgent.
    thanks in advance.
    chamara

    Welcome to the forums !
    Pl indicate which version of 10g you are installing and on which version of Win 2008. Neither 10gR1 nor 10gR2 are certified to be installed on Win 2008 R1, AFAIK.
    For 10gR2, only 10.2.0.5 is certified for Win 2008 R2 - see MOS Doc 1173433.1 (How to Install Oracle 10.2.0.5 on MS Windows 7 / Windows 2008R2)
    Also see MOS Doc 740926.1 (Where can I find the Database / Client software to download for Microsoft Vista, or Windows 2008R1?).
    Both 10gR1 and 10gR2 are now in extended support - is there a reason you are not using 11gR2 ?
    HTH
    Srini

  • In Designer, old application system disappears after New version and ORA-01562

    In Designer 2.1.2, after starting (RON 2.0.24.1.1) Application / New version,
    error ORA-01562 occurred (because I have a smaller rollback segment on line).
    Now I can't find in repository
    old version (1) of my application system,
    but new version (2) exists in repository.
    Unchecking the 'Show Current Versions Only' check box doesn't help.
    Even Designer API statement:
    'SELECT id, name, version
    FROM ci_application_systems'
    displays only new version (2).
    Means this that Designer:
    - first changes old version number to new version number and commits
    - and then copies new version to old?
    How to return old version number (without Designer API)?
    Thanks and regards
    null

    Answer from Oracle
    (MetaLink Technical Forums):
    'When Designer versions it takes a snapshot of the first version
    and then changes the originals version number to 2.
    If designer run out of rollback segments while creating a new version
    it will not show the old version again.
    This is a bug (818860). It is in the resolution stage.'
    null

  • Fine Grain Access Control gives ORA-02014

    Using Fine Grain Access Control on Oracle 8i 8.1.6, when a policy is enabled on a table then queries of the form "select * from table for update nowait" give "ORA-02014 cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.".
    Similar queries without the "for update nowait" work OK.
    Does anyone have a fix or workaround?
    null

    I ran into this. If you're using a function to add to/add a where clause to your statement, when the where clause gets appended to the end and generates an error. You should be seeing trace files in the udump area of oracle that show you the actual sql line that is being created in error. I modified my function to add the FOR UPDATE NOWAIT in the correct place.

  • My iphone 4 ,new update give me not happie ,when i use yahoo messenger little whow there freeze my phone

    my iphone 4 ,new update give me not happie ,when i use yahoo messenger freeze

    Basic troubleshooting from the User's Guide is reset, reset, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

  • ORA-6512: at "SYS.OWM_DDL_PKG" line 3228

    I am using Oracle Workspace Manager Version 9.2.0.7, as my process
    attempts to perform DBMS_WM.BeginDDL on a versioned table, i am getting the following error:
    ORA-6512: at "SYS.OWM_DDL_PKG" line 3228
    ORA-6512: at "SYS.LT", line 11831
    ORA-6512: at line 1
    Any suggestions on what might be the cause of this problem?
    Thanks!!

    No, I would need a lot more information to be able to determine what the cause of the problem is. Are you able to create a testcase that easily reproduces the problem ? If so, feel free to post it here, or create a TAR with the necessary information.
    Regards,
    Ben

  • Upgrade 11.1.0.7 to 11.2.0.3  gives ora-1403,ora-6512

    We are upgrading the databse from 11.1.0.7 to 11.2.0.3 on hpux ia 64 using manual upgrade.
    We ran catupgrade.sql and after that utu112.sql.
    However the utu112.sql gives the following status->
    @utlu112s.sql
    .Oracle Database 11.2 Post-Upgrade Status Tool 03-30-2013 01:53:44
    Component Current Version Elapsed Time
    Name Status Number HH:MM:SS
    Oracle Server
    . ORA-01403: no data found
    . ORA-06512: at line 5
    . ORA-06512: at line 5
    . ORA-01403: no data found
    . VALID 11.2.0.3.0 00:35:25
    JServer JAVA Virtual Machine
    . VALID 11.2.0.3.0 00:04:23
    Oracle XML Database
    . VALID 11.2.0.3.0 00:04:56
    Oracle Database Java Packages
    . VALID 11.2.0.3.0 00:00:18
    Gathering Statistics
    . 00:12:34
    Total Upgrade Time: 00:57:39
    PL/SQL procedure successfully completed.
    Also, when we did select from dba_registry it gave all components as valid
    Oracle Database Catalog Views VALID 11.2.0.3.0
    Oracle Database Packages and Types VALID 11.2.0.3.0
    JServer JAVA Virtual Machine VALID 11.2.0.3.0
    Oracle Database Java Packages VALID 11.2.0.3.0
    Oracle XML Database VALID 11.2.0.3.0
    I want to know, should i consider the database upgrade as sucess ot what to do next.
    The upgrade log also shows same error- grep "^ORA-" upgrade11gR2.log
    ORA-01403: no data found
    ORA-06512: at line 5
    ORA-01403: no data found
    ORA-06512: at line 5
    Thanks in advance!!

    Pl post a link to the instructions you followed, along with all of the errors from the actual upgrade log file. Is there a reason for not using DBUA ? Have you opened an SR for this issue ?
    HTH
    Srini

  • Internal Oracle Error in SYS.UTL_HTTP.READ_TEXT - ORA-6512 @ line 1336

    I have a PLSQL program that performs an HTTP POST to fetch data from an external website. The website is returning the contents of a file in the HTTP response. This program has been working for years and just started giving us trouble recently at a particular client. The issue cannot be reproduced locally, only on a specific client machine when trying to download a particular set of XML files through this HTTP interface.
    The stack trace is:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1336
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.UTL_HTTP", line 1336The code in question is:
    PROCEDURE SEND_REQUEST
        p_REQUEST      IN CLOB,
        p_RESPONSE     OUT CLOB,
        p_HEADERNAMES  OUT STRING_COLLECTION,
        p_HEADERVALUES OUT STRING_COLLECTION,
        p_ERRORMESSAGE OUT VARCHAR2
    ) IS
        v_HTTP_REQ    UTL_HTTP.REQ;
        v_HTTP_RESP   UTL_HTTP.RESP;
        v_REQUEST_LEN NUMBER;
        v_POS         NUMBER;
        v_COUNT       NUMBER;
        v_TEXT        VARCHAR2(8192);
        v_LEN         NUMBER;
    BEGIN
        -- raise Request_Failed error if an HTTP error occurs
        UTL_HTTP.SET_RESPONSE_ERROR_CHECK(TRUE);
        UTL_HTTP.SET_DETAILED_EXCP_SUPPORT(FALSE);
        -- extend timeout to 10 minutes
        UTL_HTTP.SET_TRANSFER_TIMEOUT(60 * 10);
        v_HTTP_REQ := UTL_HTTP.BEGIN_REQUEST(G_URL, 'POST');
        -- disable cookies for this request
        UTL_HTTP.SET_COOKIE_SUPPORT(v_HTTP_REQ, FALSE);
        -- authentication
        IF g_USERNAME IS NOT NULL THEN
            UTL_HTTP.SET_AUTHENTICATION(v_HTTP_REQ, g_USERNAME, g_PASSWORD);
        END IF;
        -- upload request body
        v_REQUEST_LEN := DBMS_LOB.GETLENGTH(p_REQUEST);
        UTL_HTTP.SET_HEADER(v_HTTP_REQ, 'Content-Type', 'application/x-www-form-urlencoded');
        UTL_HTTP.SET_HEADER(v_HTTP_REQ, 'Content-Length', v_REQUEST_LEN);
        -- write the CLOB request data
        v_POS := 1;
        WHILE v_POS <= v_REQUEST_LEN LOOP
            v_LEN := 8192;
            DBMS_LOB.READ(p_REQUEST, v_LEN, v_POS, v_TEXT);
            UTL_HTTP.WRITE_TEXT(v_HTTP_REQ, v_TEXT);
            v_POS := v_POS + v_LEN;
        END LOOP;
        -- get the response
        v_HTTP_RESP := UTL_HTTP.GET_RESPONSE(v_HTTP_REQ);
        -- read it into CLOB
        DBMS_LOB.CREATETEMPORARY(p_RESPONSE, TRUE);
        DBMS_LOB.OPEN(p_RESPONSE, DBMS_LOB.LOB_READWRITE);
        LOOP
            BEGIN           
                UTL_HTTP.READ_TEXT(v_HTTP_RESP, v_TEXT, 8192);       
            EXCEPTION
                WHEN UTL_HTTP.END_OF_BODY THEN
                    ERRS.LOG_AND_CONTINUE('Send_Request: Exeception occurred reading text from the http response.',
                                          p_LOG_LEVEL => LOGS.C_LEVEL_INFO_MORE_DETAIL);
                    v_TEXT := '';
            END;
            EXIT WHEN NVL(LENGTH(v_TEXT), 0) = 0;   
            DBMS_LOB.WRITEAPPEND(p_RESPONSE, LENGTH(v_TEXT), v_TEXT);
        END LOOP;
        DBMS_LOB.CLOSE(p_RESPONSE);
        -- gather response headers
        p_HEADERNAMES := STRING_COLLECTION();
        p_HEADERVALUES := STRING_COLLECTION();
        v_COUNT := UTL_HTTP.GET_HEADER_COUNT(v_HTTP_RESP);
        v_POS := 1;
        WHILE v_POS <= v_COUNT LOOP
            p_HEADERNAMES.EXTEND();
            p_HEADERVALUES.EXTEND();   
            UTL_HTTP.GET_HEADER(v_HTTP_RESP, v_POS, p_HEADERNAMES(p_HEADERNAMES.LAST), p_HEADERVALUES(p_HEADERVALUES.LAST));
            v_POS := v_POS + 1;   
        END LOOP;
        UTL_HTTP.END_RESPONSE(v_HTTP_RESP);
        -- success!
        p_ERRORMESSAGE := NULL;
    EXCEPTION
        WHEN UTL_HTTP.REQUEST_FAILED THEN
            ERRS.LOG_AND_CONTINUE('Send_Request: Exeception Request Failed caught.', p_LOG_LEVEL => LOGS.C_LEVEL_INFO_MORE_DETAIL);   
        WHEN OTHERS THEN
            ERRS.LOG_AND_CONTINUE('Send_Request: Exeception Others caught.', p_LOG_LEVEL => LOGS.C_LEVEL_INFO_MORE_DETAIL);   
    END SEND_REQUEST;It fails specifically at the section that is reading text from the response:
    UTL_HTTP.READ_TEXT(v_HTTP_RESP, v_TEXT, 8192);
    ...Any thoughts?
    I have used a packet sniffer, Wireshark, to monitor the HTTP traffic between the website and database during the issue. There is nothing malformed with the Response content. No special chars that I can find. Etc.
    The machine in question that is failing is running 10gR2.
    I have done some searching and I found this forum post:
    utl_http.read_text and multi-byte support
    and this Oracle bug:
    https://support.oracle.com/CSP/main/article?cmd=show&type=BUG&id=4015165&productFamily=Oracle
    Not really much help.
    Any help would be appreciated.
    Thanks,
    GatorPaul
    Edited by: 939368 on Jun 7, 2012 2:27 PM

    In this case, and most cases, the NLS_LENGTH_SEMANTICS is set to 'BYTE'. Realize that this is an Oracle application that we deploy into an external customer environment and we do not always have the ability to control NLS Settings.
    So, based on your explanation, I would expect that an approach like this would fix it:
    v_TEXT VARCHAR2(32766);
    UTL_HTTP.READ_TEXT(v_HTTP_RESP, v_TEXT, 8192);
    Here we are saying, get the next 8192 characters, but put that into a buffer that allows up to 32K bytes. This should allow for the enough room for up to 4 bytes per character. Am I understanding you correctly?
    But here is my question:
    I put a fix in place today, where I increased both the v_TEXT byte size and the GET_TEXT 'len' parameter to 32766 and it fixed the issue. By doing that, I am telling it: Give me the next 32766 characters and put it into a VARCHAR2(32766). Given your explanation, I would expect this to overflow the v_TEXT variable as well, or at least have the potential to do so.
    We were processing 5 different XML responses. They were all failing originally. After the change, they all passed. Their sizes were 47K, 21K, 14K, 48K, and 21K. If the XML file was small, < 32K then maybe is slipped under the radar given the new buffer size of 32766. But what about the 2 files that were over 32K. Very curious on your thoughts. I did not have a loop counter in there to see how many times it was looping to parse the 48K file. With a new buffer size of 32K I would expect it to loop 2x. But, I know in this case, the file was streamed over the network using 14 smaller TCP packets, none of which were more than 9000 bytes. Maybe the PLSQL looped 14 times as well.
    When the process was failing for all 5 files, I do know at that time it was always failing on the first loop (first 8192 characters).
    Anyway, Thanks for the advice. I will let you guys know if I uncover anymore info.
    G8torPaul
    Edited by: G8torPaul on Jun 12, 2012 2:04 PM
    Edited by: G8torPaul on Jun 12, 2012 2:04 PM
    Edited by: G8torPaul on Jun 12, 2012 2:05 PM

  • Ora-6512 error in string appending , plz guide to soleve this.

    declare
    x varchar2(4000);
    y varchar2(10000);
    cursor c is select ename||'----'||to_char(empno) from emp; /*( to_char or no to_char it did not matter)*/
    begin
    open c;
    loop
    fetch c into y ;
    exit when(sql%notfound);
    --if c%rowcount = 1 then
    -- x:=y;
    -- else
    x:=x||y; -- end if;
    end loop;
    close c;
    dbms_output.put(x);
    --exception
    -- when others then
    -- dbms_output.put_line(sqlerrm);
    -- dbms_output.put_line(sqlcode);
    end;
    above code gives error as
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 13
    it seems string appending has problem. pls suggest a work around.
    regards

    thanks,
    yes it should have been. c%notfound
    declare
    x varchar2(4000);
    y varchar2(100);
    cursor c is select ename||'----'||empno||chr(10) from emp;
    begin
    open c;
    loop
    fetch c into y ;
    exit when c%notfound;
    if c%rowcount = 1 then
    x:=y;
    else
    x:=x||y;
    end if;
    end loop;
    close c;
    dbms_output.put_line(x);
    --exception
    -- when others then
    -- dbms_output.put_line(sqlerrm);
    -- dbms_output.put_line(sqlcode);
    end;
    Now the error i find is
    ERROR at line 1:
    ORA-20000: ORU-10028: line length overflow, limit of 255 chars per line
    ORA-06512: at "SYS.DBMS_OUTPUT", line 35
    ORA-06512: at "SYS.DBMS_OUTPUT", line 133
    ORA-06512: at line 17
    what i am trying is :- to store multiple records in single variable as multiline not single line. that's why i am using chr(10) (new line). Now i am facing the above error.
    regards ravi

  • On 9i RAC, one node gives ORA-03113: end-of-file on communica...

    Hi,
    working with:
    9i RAC 9.2.0.2.0
    HP Tru64 UNIX
    SHMMAX is set to 6GB (box has total of 10GB+ memory)
    I tried to make changes to SGA (db_cache and shared_pool) of 1 RAC node, but change gives below error during startup of RAC node 1 (while the other node is up and running with old settings):
    Old pfile settings (works):
    *.db_cache_size=512M
    *.shared_pool_size= 1258291200 # (1200MB)
    New pfile settings (gives above error)
    *.shared_pool_size=805306368 # (768MB)
    *.db_cache_size=1610612736 # (1536MB)
    Error on node 1:
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup
    ORA-03113: end-of-file on communication channel
    After making new changed to pfile, I did startup, after about 2 minutes it gives the ‘ORA-03113: end-of-file on communication’ error, nothing is written to alert log about this startup and error. But reverting back to old pfile setting, works fine.
    Thank you for all your help in advance.
    Regards

    Wes... did you ever resolve this problem? If so we would be interested since we seem to have a similar siuation.
    - Wendel
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Wes Carberry ([email protected]):
    We have tried to create an intermedia index using the syntax:
    create index <index_name> on <table_name>(<blob_field_name>) indextype is ctxsys.context;
    After about thirty seconds we get the following error:
    ORA-03113: end-of-file on communication channel
    We have tried to create this index using SQL-PLUS and the SQL Window of TOAD and on client machines as well as the db server itself with the same results each time.
    Ideally we'd like to do this on a table of 4000 records, with the blob field populated with MS Word (each approx 40KB) documents. However, we have tried on tables of 4000, 3000, 2000, 1000, and 500 with no success. HOWEVER, we have tried it on a table of one record with success, so it seems to be an issue of scale.
    When I try to delete the index, I get the following error:
    ORA-29868: cannot issue DDL on a domain index marked as LOADING
    Does this mean that the index is still trying to load (it has been over 14 hours since I last executed the command)?
    Thanks for your help in advance.
    Wes<HR></BLOCKQUOTE>
    null

  • Bug? htmldb_util.reset_pw gives ORA-29278: SMTP transient error 451

    After changing mailprovider we had some troubles mailing from the database.
    After mailing to his SMTP-server we got the error message:
    ORA-29278: SMTP transient error: 451
    We were able to correct our custom code by replacing all the end-of-line LF with calls to
    UTL_TCP.CRLF.
    However, our Apex-application is still broken. By calling HTMLDB_UTIL.RESET_PW
    the system should mail the new pwd to our user.
    Should
    But it doesn't
    In the Mail Log/queue we again get the ORA-29278,
    so my deduction is that in the message that RESET_PW assembles a single LF is
    used and not the CRLF.
    Question: is there a way to overcome this bug?
    BTW, the SMTP-server is present. Writing a HTMLDB_MAIL.SEND by hand gives no trouble at all.

    CRLF characters are required to separate each SMTP command, per RFC 821 (http://www.ietf.org/rfc/rfc0821.txt), and that is what the APEX_MAIL package does.
    But the portion that "you are afraid of" which contains CHR(10) is the message[b] body of the reset password functionality of APEX - there can be any combination of characters in there. It is not a requirement that the body of the message uses CRLF for line endings. So, unfortunately, I don't think the deduction applies here.
    Let's start with some basic things. If you change the "SMTP Host Address" in the internal Administration Services of APEX to a known good SMTP host, does the problem go away?
    451 means "Requested action aborted: error in processing". That could be anything. It could even be an issue with your provider, your connection to the provider, etc. Does your provider have a log of the incoming "conversation" and a log of the abort? That may be helpful.
    Joel
    P.S. By the way, which version of Application Express/HTML DB are you using?

  • Database give ORA-600 error after cold backup

    HI,
    I have oracle 10g install on linux system. i take cold backup of my database using
    sql> shutdown immediate
    and then copy all files to any other location.
    but when i start my database it gives me error like
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [136], [139], [], [], [], [], []
    Fri Dec  4 15:23:18 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00600: internal error code, arguments: [4193], [67], [70], [], [], [], [], []
    Fri Dec  4 15:23:19 2009
    Doing block recovery for file 2 block 1702
    Block recovery from logseq 13, block 3531 to scn 758385
    Fri Dec  4 15:23:19 2009
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 13 Reading mem 0
      Mem# 0 errs 0: /opt/oracle/fina/dbs/redo01.log
    Block recovery completed at rba 13.3532.16, scn 0.758386
    Doing block recovery for file 2 block 153
    Block recovery from logseq 13, block 3531 to scn 758436
    Fri Dec  4 15:23:19 2009
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 13 Reading mem 0
      Mem# 0 errs 0: /opt/oracle/fina/dbs/redo01.log
    Block recovery completed at rba 13.3612.16, scn 0.758437
    Fri Dec  4 15:23:19 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [67], [70], [], [], [], [], []
    Fri Dec  4 15:23:29 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00600: internal error code, arguments: [4193], [136], [139], [], [], [], [], []
    Fri Dec  4 15:23:29 2009
    Errors in file /opt/oracle/fina/bdump/fina_pmon_4410.trc:
    ORA-00474: SMON process terminated with error
    Fri Dec  4 15:23:29 2009
    PMON: terminating instance due to error 474
    Instance terminated by PMON, pid = 4410i have seen this happen sometime after cold backup database give errors. is taking cold backup of database is not safe.
    Please suggest.

    Umesh,
    Since it is case of Ora 600, for which only last solution is oracle support, but i would like to mention that your are getting ORA-00600: internal error code, arguments: [4193].... So, this 4193 is cause to read following links too:
    http://www.orafaq.com/forum/t/47048/2/ and. see Metalink note 153788.1 and 39282.1.
    Regards
    Girish Sharma

Maybe you are looking for