Trace file errors interpretation

We are running Oracle 11.2.0.3 on a Windows 2008 R2 Server with an app server on the same. Our app has a search function that has recently started timing out on us. Sometimes intermittently but often now. I've ran a trace in our dev environment, below code, in an attempt to track down the issue but I'm finding very little useful information in relation to the errors I see in the trace file below. My experience in deciphering trace code is nill so I was hoping there would be someone out there who could elaborate a little on how they interpret these errors or provide a resource so I could do so myself. I appreciate any help provided.
*** 2013-04-18 14:27:23.353
*** SESSION ID:(3093.63097) 2013-04-18 14:27:23.353
*** CLIENT ID:() 2013-04-18 14:27:23.353
*** SERVICE NAME:(SYS$USERS) 2013-04-18 14:27:23.353
*** MODULE NAME:(w3pw.exe) 2013-04-18 14:27:23.353
*** ACTION NAME:() 2013-04-18 14:27:23.353
ERROR #532357120:err=1013 tim=1395332943283
=====================
PARSING IN CURSOR #532354152 len=911 dep=2 uid=66 oct=47 lid=66 tim=1395332944838 hv=4132741411 ad='2a92d9d60' sqlid='27dnt1rv59893'
  declare
     sel number;
     arg0 VARCHAR2(1) := null;
    begin
      :1 := "CTXSYS"."TEXTOPTSTATS".ODCIStatsSelectivity(
                     sys.ODCIPREDINFO('CTXSYS',
                            'CTX_CONTAINS',
                            'TEXTCONTAINS',
                            32),
                     sel,
                     sys.ODCIARGDESCLIST(sys.ODCIARGDESC(3, NULL, NULL, NULL, NULL, NULL, NULL), sys.ODCIARGDESC(5, NULL, NULL, NULL, NULL, NULL, NULL), sys.ODCIARGDESC(2, 'MV$SEARCH', 'CIPS', '"NAME"', NULL, NULL, NULL), sys.ODCIARGDESC(1, NULL, NULL, NULL, NULL, NULL, NULL)),
                     :3,
                     NULL
                     , arg0, :4,
                     sys.ODCIENV(:5,:6,:7,:8));
      if sel IS NULL then
        :2 := -1.0;
      else
        :2 := sel;
      end if;
      exception
        when others then
          raise;
    end;
END OF STMT
PARSE #532354152:c=0,e=75,p=0,cr=0,cu=0,mis=0,r=0,dep=2,og=1,plh=0,tim=1395332944836
CLOSE #470004032:c=0,e=21,dep=3,type=1,tim=1395332945763
EXEC #532354152:c=0,e=1279,p=0,cr=9,cu=0,mis=0,r=0,dep=2,og=1,plh=0,tim=1395332946378
ERROR #532354152:err=1013 tim=1395332946406
ERROR #532979664:err=1013 tim=1395333014987
ERROR #548803376:err=1013 tim=1395333015201

We ran a .NET trace on the Oracle client and got the below. The main issue is: "OpsSqlExecuteReader(): RetCode=-1"
TIME:2013/04/19-10:07:16:569 TID:116c  OpsSqlPrepare2(): SQL: Begin SELX_MV$SEARCH.GET(:v0, :v1, :v2); End;
TIME:2013/04/19-10:07:16:569 TID:116c  (ENTRY) OpsPrmAllocOpoPrmCtx()
TIME:2013/04/19-10:07:16:569 TID:116c  (EXIT) OpsPrmAllocOpoPrmCtx(): RetCode=0 Line=258
TIME:2013/04/19-10:07:16:569 TID:116c  (ENTRY) OpsPrmFillOpoPrmCtx()
TIME:2013/04/19-10:07:16:569 TID:116c  (ENTRY) OpsConAddRef(): (4fc8dc0)=0
TIME:2013/04/19-10:07:16:569 TID:116c  (EXIT)  OpsConAddRef(): RefCount=23 RetCode=0 Line=2597 (4fc8dc0)=0
TIME:2013/04/19-10:07:16:569 TID:116c  (EXIT)  OpsPrmFillOpoPrmCtx(): RetCode=0 Line=540
TIME:2013/04/19-10:07:16:569 TID:116c  (EXIT)  OpsSqlPrepare2(): RetCode=0 Line=500
TIME:2013/04/19-10:07:16:569 TID:116c  (ENTRY) OpsSqlExecuteReader(): (4fc8dc0)=0
TIME:2013/04/19-10:07:16:569 TID:116c  (ENTRY) OpsDecGetValCtxFromInteger()
TIME:2013/04/19-10:07:16:569 TID:116c  (EXIT)  OpsDecGetValCtxFromInteger(): RetCode=0 Line=833
TIME:2013/04/19-10:07:16:569 TID:116c  (ENTRY) OpsSqlAllocCtx(): (4fc8dc0)=0
TIME:2013/04/19-10:07:16:569 TID:116c  (EXIT)  OpsSqlAllocCtx(): RetCode=0 Line=128 (4fc8dc0)=0
TIME:2013/04/19-10:12:16:492 TID:  dc  (ENTRY) OpsErrAllocCtx(): (4fc8dc0)=0
TIME:2013/04/19-10:12:16:492 TID:  dc  (EXIT)  OpsErrAllocCtx(): RetCode=0 Line=197 (4fc8dc0)=0
TIME:2013/04/19-10:12:16:539 TID:116c  (ENTRY) OpsSqlFreeCtx()
TIME:2013/04/19-10:12:16:539 TID:116c  (EXIT)  OpsSqlFreeCtx(): RetCode=0 Line=153
TIME:2013/04/19-10:12:16:539 TID:116c  (ENTRY) OpsSqlFreeCtx()
TIME:2013/04/19-10:12:16:539 TID:116c  (EXIT)  OpsSqlFreeCtx(): RetCode=0 Line=153
TIME:2013/04/19-10:12:16:539 TID:116c  (EXIT)  OpsSqlExecuteReader(): RetCode=-1 Line=612
TIME:2013/04/19-10:12:16:539 TID:116c  (ENTRY) OpsTraceGetLastErrorCode()
TIME:2013/04/19-10:12:16:539 TID:116c  (EXIT)  OpsTraceGetLastErrorCode(): RetCode=0 Line=1425
TIME:2013/04/19-10:12:16:555 TID:  dc  (ENTRY) OpsTraceCreateMiniDump()
TIME:2013/04/19-10:12:16:555 TID:  dc  (EXIT)  OpsTraceCreateMiniDump(): None created: TraceLevel=0 Line=1342
TIME:2013/04/19-10:12:16:586 TID:116c  (EXCPT) Lvl0: (Type=System.Threading.ThreadAbortException) (Msg=Thread was being aborted.) (Win32Err=0) (Code=e0434f4d) (Stack=   at Oracle.DataAccess.Client.OpsSql.ExecuteReader(IntPtr opsConCtx, IntPtr& opsErrCtx, IntPtr& opsSqlCtx, IntPtr& opsDacCtx, IntPtr& opsReaderErrCtx, IntPtr opsSubscrCtx, Int32& isSubscrRegistered, Int32 bchgNTFNExcludeRowidInfo, Int32 bQueryBasedNTFNRegistration, Int64& query_id, OpoSqlValCtx*& pOpoSqlValCtx, String pCommandText, OpoDacValCtx*& pOpoDacValCtx, IntPtr[] pOpoPrmValCtx, String[] ppOpoPrmRefCtx, OpoMetValCtx*& pOpoMetValCtx, Int32 NoOfParams)
   at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior))Edited by: slas on Apr 19, 2013 12:19 PM

Similar Messages

  • How to find trace file error in form

    hai all,
    i have big problem in my form in apps i open the form one error is ocuured,
    i got the trace file and check the error,
    PARSE ERROR #82:len=2903 dep=0 uid=173 oct=3 lid=173 tim=4265689973879 err=904 this is the trace file error meassage,
    how to find this error in form and also this is occured one select statement,how to find this select statement where can be used in form,
    i have one button ,when ever i press the button this error is ocuured,i check this button pl/sql procedure code but in this code not using that sql statement,
    if any one know to find the sql statement through trace file.
    plz give the replay as soon as possible.
    thank's

    The newest SQL Developer can converts the trace to readable format too, I'm not shure if you see the sql statement related to the error then.
    It seems you get ORA-00904 which says you use an invalid coumn in a dml statement.
    Normally such error should pop up in message - do you overwrite the message handling or use exception handling in you form which block this message?
    Easiest way to find this is to compile the form against the target database.
    If this does not give an error, you should check, if you use dynamic sql statements which are wrong.
    If you call database routines from your form, than this could be the errro cause too.

  • Trace File Errors

    Hi - I've been trying to figure out an issue I'm having where I have a report with an attached library I created and at random it seems that the PL/SQL in the library errors out with this error message-
    Terminated with error:
    REP-1401: 'cf_footnoteformula': Fatal PL/SQL error occurred.
    ORA-06508: PL/SQL: could not find program unit being called
    Here's my RWSERVLET Trace file error - not sure what's going on here but if anyone has a clue what this might mean and lead me in the right direction, please let me know
    [2008/5/8 5:53:17:934] Exception 1401 (): 'cf_footnoteformula': Fatal PL/SQL error occurred.
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
         at oracle.reports.RWExceptionHelper.read(RWExceptionHelper.java:67)
         at oracle.reports.server._ConnectionStub.runJob(_ConnectionStub.java:504)
         at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:290)
         at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
         at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1671)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1525)
         at oracle.reports.rwclient.RWClient.doGet(RWClient.java:366)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:674)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

    Hi - I've been trying to figure out an issue I'm having where I have a report with an attached library I created and at random it seems that the PL/SQL in the library errors out with this error message-
    Terminated with error:
    REP-1401: 'cf_footnoteformula': Fatal PL/SQL error occurred.
    ORA-06508: PL/SQL: could not find program unit being called
    Here's my RWSERVLET Trace file error - not sure what's going on here but if anyone has a clue what this might mean and lead me in the right direction, please let me know
    [2008/5/8 5:53:17:934] Exception 1401 (): 'cf_footnoteformula': Fatal PL/SQL error occurred.
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
         at oracle.reports.RWExceptionHelper.read(RWExceptionHelper.java:67)
         at oracle.reports.server._ConnectionStub.runJob(_ConnectionStub.java:504)
         at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:290)
         at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
         at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1671)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1525)
         at oracle.reports.rwclient.RWClient.doGet(RWClient.java:366)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:674)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

  • Alert log and Trace file error

    Just found this in one of our alertlog file
    Thread 1 cannot allocate new log, sequence 199023
    checkpoint not complete
    and this in trace file:
    RECO.TRC file
    ERROR, tran=7.93.23662, session# =1, ose=60:
    ORA-12535: TNS: operation timed out

    Why would you increase the log files when the problem is a distributed transaction timed out?
    Distributed transactions time out when the data they need to access is locked. Unlike a local session that wants to update a row, which will wait forever, a distributed transaction times out. In earlier versions of Oracle you could set init.ora parameter distributed_lock_timeout to manage the timeout period. Oracle has since made this into an underbar parameter.
    The solution is to ignore the problem unless it appears regularly in which case you have an application design issue.
    HTH -- Mark D Powell --

  • Trace File Error

    Hi,
    I am getting this trace fil generated very frequently:
    Dump file d:\oracle\admin\his2\udump\his2_ora_1828.trc
    Thu Aug 17 11:07:55 2006
    ORACLE V9.2.0.5.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.0 Service Pack 3, CPU type 586
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.5.0 - Production
    Windows 2000 Version 5.0 Service Pack 3, CPU type 586
    Instance name: his2
    Redo thread mounted by this instance: 1
    Oracle process number: 25
    Windows thread id: 1828, image: ORACLE.EXE
    *** 2006-08-17 11:07:55.814
    *** SESSION ID:(28.4355) 2006-08-17 11:07:55.624
    HS: RPC error reported on server, SendEndExtprocSession: ncrorou_recv_out_args; NCR code 1004
    What can be the problem ?
    How can i fix it ?
    Thanks.
    Amkotz

    Refer to Note:214986.1 on Metalink.

  • SCM WP trace file error message

    Hi,
    We are getting the below error in our work process trace files for our SCM 5.1 system
    Tue Dec 30 17:35:51 2008
      ***LOG Q0I=> NiPGetHostByName: hostname 'OPTSERVER' not found: gethostbyname [niuxi.c 1470]
    At same time, we have system log entries as below:
    19:07:34 BTC  031 009 APOADMIN                Q0  I Operating system call gethostbyname failed (error no. 0 )
    Documentation for system log message Q0 I :
    The specified operating system call was returned with an error.
    For communication calls (receive, send, etc) often the cause of errors
    are network problems.
    It could also be a configuration problem at operating system level.
    (file cannot be opened, no space in the file system etc.).
    Does anyone know about this?? The RFC connections between APO server and Optimizer server are working fine and there is no issue. However, for any dialog/background process we are getting the error above. Please suggest.
    Regards,
    Sandeep.

    Hi Senthil,
    Thanks for your reply. As in the note 388193 that you have mentioned job /SAPAPO/OM_REORG_DAILY is executed daily in our system and there does not seem to be any issue with optimizer installation as optimizer is working fine and there is no connection problem with scm system.
    However the SM21 errors keeps coming.
    13:48:15 BTC  031 009 APOADMIN                Q0  I Operating system call gethostbyname failed (error no. 0 )
    13:54:38 BTC  031 009 APOADMIN                Q0  I Operating system call gethostbyname failed (error no. 0 )
    14:01:24 BTC  031 009 APOADMIN                Q0  I Operating system call gethostbyname failed (error no. 0 )
    14:07:59 BTC  031 009 APOADMIN                Q0  I Operating system call gethostbyname failed (error no. 0 )
    Regards,
    Sandeep

  • ORA-48913: Writing into trace file failed

    Hi
    my OS: OUL5x64
    DB: 11.1.0.7
    receive this error in alert.log but could not figure out which parameter to increase.
    Can someone please help.
    Non critical error ORA-48913 caught while writing to trace file
    Error message: ORA-48913: Writing into trace file failed, file size limit [10485760] reached
    the suggestion:
    ORA-48913: Writing into trace file failed
    *Cause:An attempt was made to write into a trace file that exceeds the trace's file size limit
    *Action:increase the trace's file size limit.
    Thanks in advance.

    Hi ,
    I have one more doubt :
    ORACLE_SID=XXXX
    /XXXX/XX/ofaroot/XXXX/diag/rdbms/xxxx/XXXXX/trace
    Non critical error ORA-48913 caught while writing to file "trace /XXXX/XX/ofaroot/XXXX/diag/rdbms/xxxx/XXXXX/trace/XXXX_ora_8218.trc"
    Error message: ORA-48913: Writing into trace file failed, file size limit [10485760]everywhere its written to increase the parameter max_dump_file_size or to relocate the alert log, but as far as i understand ,
    is this because a trace file with the name XXXX_ora_8218.trc was getting generated with a greater size than the one defined in max_dump_file_size. Is this what happened ?
    Also , I am not able to find what directory does this parameter points to ? is it the trace directory or diag directory ?
    i checked select * from v$diag_info ,but i could not find any conclusion.
    Probably , on getting the above info , i will be able to decide where to move the alert.log to create space.

  • Diagnosing errors from Net Services trace files

    Hi,
    does anybody have a link to any documentation where it's explained how to interpret errors in Net Service trace files. For example, a snippet of a trace file looks like this:
    [30-JUN-2009 14:32:39:302] nttcni: trying to connect to socket 1836.
    [30-JUN-2009 14:32:40:224] ntt2err: entry
    [30-JUN-2009 14:32:40:224] ntt2err: soc 1836 error - operation=1, ntresnt[0]=511, ntresnt[1]=61, ntresnt[2]=0
    [30-JUN-2009 14:32:40:224] ntt2err: exitI suppose that ntresnt[1]=61 means means (from metalink DocId 67211.1):
    WSAECONNREFUSED 61 10061
    Connection refused. No connection could be made because the target machine
    actively refused it. This usually results from trying to connect to a service
    that is inactive on the foreign host.
    But what about the other part:
    operation=1, ntresnt[0]=511
    Does anybody know what "operation" and the "511" code mean?
    Thank you in advance for any answer.
    Regards,
    Jure

    Look at metalink note 156485.1 "Examining Oracle Net Trace Files"

  • Help to interpret trace file

    Hi,
    Can someone please tell me what is the meaning of stack number in the file generated ny dbms_trace. how to interpret the trace file.
    Thanks in advance.
    Mathew

    Hi,
    The cause of an ORA-1555 is quite simple :
    U start a long transaction (named T1) at time t1. Ur transaction T1 made lots of things such as
    insert/update/delete, ...
    At time t1, ur transaction T1 update a block named b1. This block is copied in the rolback segment with a "non commited" status in the block header. This "before image" of ur block cannot be deleted from the RBS cause of his "non committed" status.
    Ur transaction T1 now commit the modifications => the header of the block b1 in the RBS is upadted with the status "commited". Once the block has the "commited" status, he can be removed from the RBS and Oracle may remove this one if he needs some space in the RBS for some other before image.
    At time t2, another transaction (named T2) start and update some rows so T2 will need some space in the RBS and then erase the version of the block b1 (in the RBS).
    At time t67 (some time after), ur transaction T1 (the long one) need to read again the block b1. But as T1 has been started at time t1, Oracle will search for an image of the block b1 at time t1 (to ensure read consistency). But, as transaction T2 erased this before image of the block b1, Oracle cant find it and send u the error ORA-01555...
    To avoid ORA-015[i]Long postings are being truncated to ~1 kB at this time.

  • " Can not interpret the data in file " error while uploading the data in DB

    Dear All ,
    After running the below report I am getting the " Can not interpret the data in file " error.
    Need to upload the data in DB through excel or .txt file.
    Kindly advise to resolve the issue.
    REPORT  ZTEST_4.
    data : it like ZPRINT_LOC occurs 0 with header line,
    FILETABLE type table of FILE_TABLE,
    wa_filetable like line of filetable,
    wa_filename type string,
    rc type i.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
    CHANGING
    FILE_TABLE = filetable
    RC = rc.
    IF SY-SUBRC = 0.
    read table filetable into wa_filetable index 1.
    move wa_filetable-FILENAME to wa_filename.
    Else.
    Write: / 'HI'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    start-of-selection.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = wa_filename
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'
    TABLES
    DATA_TAB = it.
    IF SY-SUBRC = 0.
    Write: / 'HI'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    insert ZPRINT_LOC from table it.
    if sy-subrc = 0.
    commit work.
    else.
    rollback work.
    endif.
    Regards
    Machindra Patade
    Edited by: Machindra Patade on Apr 9, 2010 1:34 PM

    Dear dedeepya reddy,
    Not able to upload the excel but have sucess to upload the .csv file to db through the below code. Thanks for your advise.
    REPORT  ZTEST_3.
             internal table declaration
    DATA: itab TYPE STANDARD TABLE OF ZPRINT_LOC,
          wa LIKE LINE OF itab,
          wa1 like line of itab.
                       variable  declaration
    DATA: v_excel_string(2000) TYPE c,
           v_file LIKE v_excel_string VALUE    'C:\Documents and Settings\devadm\Desktop\test.csv',  " name of the file
            delimiter TYPE c VALUE ' '.         " delimiter with default value space
         read the file from the application server
      OPEN DATASET v_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    write:/ 'error opening file'.
      ELSE.
        WHILE ( sy-subrc EQ 0 ).
          READ DATASET v_file INTO wa.
          IF NOT wa IS INITIAL.
            append wa TO itab.
          ENDIF.
          CLEAR wa.
        ENDWHILE.
      ENDIF.
    CLOSE DATASET v_file.
    EXEC SQL.
         TRUNCATE TABLE "ZPRINT_LOC"
    ENDEXEC.
    *------display the data from the internal table
    LOOP AT itab into wa1.
    WRITE:/ wa1-mandt,wa1-zloc_code,wa1-zloc_desc,wa1-zloc,wa1-zstate.
    ENDLOOP.
    insert ZPRINT_LOC from table itab.

  • Ora-00604 error while taking tkprof of a trace file

    Sorry i am giving the full erro but omitting exact table names
    Hi ,
    I have an error while taking tkprof of a trace file.
    I gave the following command ---
    tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela explain= /
    error is --
    Error in create table of EXPLAIN PLAN table : unix_session_user.prof$paln_table
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20001: Step-6:DDL
    Event Security. You are not permitted to perform the requested structural
    changes to PROF (TABLE)
    Event triggered : CREATE
    ora_login_user
    (session_user) : unix_session_user(dummy)
    Search : select count(*) from
    tabl(dummy table name) where obj_name like '%\%%' escape '\' and obj_type =
    'TABLE' and obj_type = 'USER' and ( event_CREATE = 'Y' or status =
    'Override')
    ORA-06512: at line 162
    ORA-06510: PL/SQL: unhandled
    user-defined exception
    EXPLAIN PLAN option disabled.
    i searched for the error and in oracle forum i found a solution .. http://forums.oracle.com/forums/thread.jspa?threadID=844287&tstart=0
    but after giving the table option it is giving the same error
    tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela table=old_schema.plan_table explain= /
    it again gave the same error.
    In both two cases it gives elapsed time results,library cache missing etc but before giving this it throws ORA-00604 error as stated above
    then i again correct the tkprof statement ..
    tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela table=new_schema.plan_table explain= /
    say this schema name here i used is dummy schema name.
    My question is did this error came as we had not sufficient previlages in the old_schema but that previleges we have in new_schema?
    My databse version is 9.2.0.4.0
    Thanks in advance
    Edited by: bp on Feb 3, 2009 11:36 PM
    Edited by: bp on Feb 3, 2009 11:40 PM

    Please post here full error message, there should be lines with ORA-00604 and then some other ORA as well.
    And are there any trace files generated during this error?
    And as You can see from error description, probably You will have to contact with Oracle support in order to solve this case:
    oerr ora 00604
    00604, 00000, "error occurred at recursive SQL level %s"
    // *Cause:  An error occurred while processing a recursive SQL statement
    // (a statement applying to internal dictionary tables).
    // *Action: If the situation described in the next error on the stack
    // can be corrected, do so; otherwise contact Oracle Support.

  • Error in trace file

    Following is getting created in D:\Oracle\Ora81\DATABASE folder once or twice a month. I do not see any error entries in db1alrt.log. Please help to find out the problem.
    Thanks,
    Anil
    Dump file .\ORA05244.TRC
    Sun May 01 21:30:07 2005
    ORACLE V8.1.5.0.0 - Production vsnsta=0
    vsnsql=d vsnxtr=3
    Windows NT V5.2, OS V14.206, CPU type 586
    Oracle8i Release 8.1.5.0.0 - Production
    With the Java option
    PL/SQL Release 8.1.5.0.0 - Production
    Windows NT V5.2, OS V14.206, CPU type 586
    Instance name: db1
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 0
    5244
    *** 2005.05.01.21.30.07.127
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [508], [163], [0], [1413697536], [1], [0], [], []
    Current SQL information unavailable - no session.
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    ksedmp+a5                       CALLrel  ksedst+0
    75BE3F8
    ksfdmp+e                        CALLrel  ksedmp+0 3
    _kgeriv+95                       CALLreg  00000000                        
    ED16A08
    3
    kgeasi+67                       CALLrel  kgeriv+0
    1E440
    0 1FC
    5
    675BE570
    kslwte+11a                      CALLrel  kgeasi+0
    ED16A08
    0 1FC
    2 5 0
    A3 0
    0 0
    54435000
    0 1 0
    0
    opikndf2+537                    CALLrel  kslwte+0 A3
    54435000
    1 0
    _opitsk+3da                      CALLreg  00000000                        
    ED193E4
    2
    675BF544
    1 0
    opiino+50c                      CALLrel  opitsk+0 0
    _opiodr+4ce                      CALLreg  00000000                         3C 4
    675BFBF8
    opidrv+380                      CALLrel  opiodr+0 3C 4
    675BFBF8
    0
    sou2o+19                        CALLrel  opidrv+0
    opimai+110                      CALLrel  sou2o+0
    OracleThreadStart@4+48c         CALLrel  opimai+0 2
    675BFE78
    77E4A98D CALLreg 00000000
    ----- Argument/Register Address Dump -----
    Argument/Register addr=675be3f8. Dump of memory from 0x675BE3B8 to 0x675BE4F8
    675BE3A0 00000000 00000003
    675BE3C0 E8D60800 6552211C 00000033 00000000 FFFFFFFD 00000048 00000000 00000000
    675BE3E0 00000000 00000000 0000001D 2ED16888 675BE408 00418404 00C936B4 00C936B4
    675BE400 00C936D4 00C936B4 00C936B4 00C936B4 00C936BC 00C936B4 00C936BC 00C936B4
    675BE420 00C936B4 00C936B4 00C936B4 00C936BC 675BE4E0 004191E0 675BE444 0000001C
    675BE440 00000000 2A2A2A0A 30303220 35302E35 2E31302E 332E3132 37302E30 32332D25
    675BE460 2D252073 25207338 7332332D 675F0020 00000000 00000001 000007D5 35373620
    675BE480 37454642 25200038 7332332D 342D2520 00000A73 00000003 65522178 00000033
    675BE4A0 00000000 2ED16888 01218A97 00000000 00000000 00000000 675BFFEC 00000000
    675BE4C0 675BFE78 00000000 00000001 00000001 00000000 675BDDD0 00000009 675BE504
    *** Trace file full ***

    you have what one session wants the other session has what you want; neither will give it up and so Oracle detects this and kicks one out. If you trace your SQL and COMMIT logic you will find the problem

  • Minact-scn errors in Alert and Trace Files

    we have enabled trace for one session (  where select query is running ) and we seen this error in trace file
    can any one suggest me to resolve this issue.
    --------------------------------------------------------------Trace File------------------------------------------------------------------
    *** 2015-04-23 19:19:29.559
    minact-scn master-status: grec-scn:0x0805.5b417ecb gmin-scn:0x0805.5b3d0eda gcalc-scn:0x0805.5b417ecb
    minact-scn master-status: grec-scn:0x0805.5b41818c gmin-scn:0x0805.5b3d0eda gcalc-scn:0x0805.5b41818c
    *** 2015-04-23 19:29:33.749
    minact-scn master-status: grec-scn:0x0805.5b424c67 gmin-scn:0x0805.5b3d0eda gcalc-scn:0x0805.5b424c67
    *** 2015-04-23 19:34:36.560
    minact-scn master-status: grec-scn:0x0805.5b425343 gmin-scn:0x0805.5b3d0eda gcalc-scn:0x0805.5b425343
    minact-scn master-status: grec-scn:0x0805.5b425749 gmin-scn:0x0805.5b3d0eda gcalc-scn:0x0805.5b425749

    Hi,
    Check support note if database is hitting a bug - Minact-Scn Master-Status: Grec-Scn Messages In Trace File (Doc ID 1361567.1)
    HTH,
    Pradeep

  • Fail to ping standby . error = 3113 in trace files (oracle 9i)

    Hi there. One of my standby databases is not working properly, I mean is not synchronized with primary. Both database are 9i Release 2 running on Compaq Tru64 servers
    I look for the primary trace files and I found this trace file:
    $ vi umercado_arc1_141731.trc
    "umercado_arc1_141731.trc" 28 lines, 1164 characters
    /oracle/app/oracle/admin/umercado/bdump/umercado_arc1_141731.trc
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    ORACLE_HOME = /oracle/app/oracle/product/9.2.0
    System name: OSF1
    Node name: utora01.emsut.com.sv
    Release: V5.1
    Version: 2650
    Machine: alpha
    Instance name: umercado
    Redo thread mounted by this instance: 1
    Oracle process number: 13
    Unix process pid: 141731, image: [email protected] (ARC1)
    *** SESSION ID:(10.1) 2008-09-02 16:03:38.240
    Destination LOG_ARCHIVE_DEST_2 is in CLUSTER CONSISTENT mode
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Destination LOG_ARCHIVE_DEST_2 is in CLUSTER CONSISTENT mode
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    *** 2008-09-03 11:22:29.405
    RFS network connection lost at host 'umercado3'
    Fail to ping standby 'umercado3', error = 3113
    Error 3113 when pinging standby umercado3.
    *** 2008-09-03 11:22:29.411
    kcrrfail: dest:3 err:3113 force:0
    Destination LOG_ARCHIVE_DEST_2 is in CLUSTER CONSISTENT mode
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    The error I want to highlight is "FAIL TO PING STANDBY UMERCADO3, ERROR 3113"
    I did this testings on the primary server:
    - Unix ping to standby node , ok
    - tnsping to standby database (tnsping umercado3), ok
    Therefore I do not find the reason for this error. By this time I have defeered the transfer from the primary to standby.
    Any advice is welcome.
    Thanks!

    Suggestion: would attempt to make a sqlplus connection from the primary to the standby using the tns entry that you have configured for the log_archive_dest parameter. you need to connect to the standby as sys.
    What happened:
    I did a sqlplus connection ON THE PRIMARY DATABASE using the tns entry that is exactly the same used in log_archive_dest_2 parameter. Here is it:
    SQL> conn sys/*********@UMERCADO3 as sysdba
    Connected.
    Therefore I do not think it is a problem in the standby password file.
    Any suggestions?

  • Interpreting Trace File.

    Hi i am using 10.2.0.4.0 version of oracle.
    I am having trace file info as below, for one of the query. So how should i interpret the trace file? What is the issue in the query, and the scope of improvement in the query? please note that , i have removed the query and its plans from the trace file, i have only posted the wait sections.
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.14       0.13          0          0          1           0
    Execute      1      6.63     162.12      33540      72921        383           0
    Fetch    17272    178.89    1933.95     274835    3147603         20      259063
    total    17274    185.66    2096.21     308375    3220524        404      259063
    Misses in library cache during parse: 1
    Optimizer mode: CHOOSE
    Parsing user id: 36 
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      control file sequential read                    4        0.00          0.00
      db file sequential read                    302812        0.62       1913.89
      latch: cache buffers chains                     3        0.04          0.04
      direct path write temp                        501        0.01          0.30
      SQL*Net message to client                   17272        0.00          0.04
      db file scattered read                        120        0.02          0.63
      direct path read temp                         608        0.14          1.71
      SQL*Net message from client                 17272       44.81      31865.74
      SQL*Net more data to client                    15        0.00          0.00
      latch: object queue header operation            1        0.00          0.00
      latch: library cache                            3        0.03          0.04
      latch: library cache pin                        1        0.00          0.00
      latch: cache buffer handles                     1        0.00          0.00
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.14       0.13          0          0          1           0
    Execute      1      6.63     162.12      33540      72921        383           0
    Fetch    17272    178.89    1933.95     274835    3147603         20      259063
    total    17274    185.66    2096.21     308375    3220524        404      259063
    Misses in library cache during parse: 1
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                   17275        0.00          0.04
      SQL*Net message from client                 17274       75.57      31941.39
      SQL*Net more data from client                   2        0.00          0.01
      db file sequential read                    302812        0.62       1913.89
      control file sequential read                    4        0.00          0.00
      latch: cache buffers chains                     3        0.04          0.04
      direct path write temp                        501        0.01          0.30
      db file scattered read                        120        0.02          0.63
      direct path read temp                         608        0.14          1.71
      SQL*Net more data to client                    15        0.00          0.00
      latch: object queue header operation            1        0.00          0.00
      latch: library cache                            3        0.03          0.04
      latch: library cache pin                        1        0.00          0.00
      latch: cache buffer handles                     1        0.00          0.00
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse       11      0.02       0.01          0          0          0           0
    Execute    348      0.20       0.17          0          0          1           0
    Fetch      367      0.06       0.37         59       1187          0        3806
    total      726      0.28       0.56         59       1187          1        3806
    Misses in library cache during parse: 11
    Misses in library cache during execute: 10
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                        59        0.01          0.32
        1  user  SQL statements in session.
      348  internal SQL statements in session.
      349  SQL statements in session.
    ********************************************************************************

    below is the estimate and actual results.
    | Id  | Operation                              | Name                        | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  | Writes |  OMem |  1Mem | Us
    ed-Mem | Used-Tmp|
    |*  1 |  COUNT STOPKEY                         |                             |  13475 |        |  13475 |00:01:32.33 |     134K|  11357 |      0 |       |       |
        |         |
    |   2 |   NESTED LOOPS                         |                             |  13475 |      2 |  13475 |00:01:31.66 |     134K|  11357 |      0 |       |       |
        |         |
    |   3 |    NESTED LOOPS                        |                             |  13475 |      1 |  13475 |00:01:29.22 |   94325 |  11357 |      0 |       |       |
        |         |
    |*  4 |     INDEX RANGE SCAN                   |                |  13475 |      1 |  13475 |00:00:26.63 |   40425 |   4014 |      0 |       |       |
        |         |
    |   5 |     TABLE ACCESS BY INDEX ROWID        | |  13475 |      1 |  13475 |00:01:02.46 |   53900 |   7343 |      0 |       |       |
        |         |
    |*  6 |      INDEX RANGE SCAN                  ||  13475 |      1 |  13475 |00:00:16.80 |   40425 |   2056 |      0 |       |       |
        |         |
    |*  7 |    TABLE ACCESS FULL                   | |  13475 |      2 |  13475 |00:00:02.26 |   40425 |      0 |      0 |       |       |
        |         |
    |   8 |  TABLE ACCESS BY INDEX ROWID           ||  94399 |      1 |  94399 |00:06:17.09 |     389K|  32207 |      0 |       |       |
        |         |
    |*  9 |   INDEX UNIQUE SCAN                    | |  94399 |      1 |  94399 |00:02:59.79 |     294K|  15488 |      0 |       |       |
        |         |
    |  10 |  TEMP TABLE TRANSFORMATION             |                             |      1 |        |    170K|00:35:11.08 |    1575K|    195K|   6158 |       |       |
        |         |
    |  11 |   LOAD AS SELECT                       |                             |      1 |        |      1 |00:04:49.06 |   53704 |  28653 |    264 |   525K|   525K|  5
    25K (0)|              |
    |  12 |    PARTITION RANGE ALL                 |                             |      1 |  55430 |  16097 |00:06:26.06 |   53433 |  28651 |      0 |       |       |
        |         |
    |  13 |     PARTITION HASH ALL                 |                             |     54 |  55430 |  16097 |00:09:20.69 |   53433 |  28651 |      0 |       |       |
        |         |
    |* 14 |      TABLE ACCESS BY LOCAL INDEX ROWID | INV                         |    432 |  55430 |  16097 |00:06:11.42 |   53433 |  28651 |      0 |       |       |
        |         |
    |* 15 |       INDEX SKIP SCAN                  | |    432 |    125K|  16097 |00:00:39.90 |    4642 |   4508 |      0 |       |       |
        |         |
    |  16 |   TABLE ACCESS BY INDEX ROWID          | |      1 |      2 |    170K|00:30:21.66 |    1522K|    166K|   5894 |       |       |
        |         |
    |  17 |    NESTED LOOPS                        |                             |      1 |     97 |    276K|34:55:49.92 |    1470K|    150K|   5894 |       |       |
        |         |
    |  18 |     NESTED LOOPS                       |                             |      1 |     55 |    105K|00:22:14.57 |    1128K|    134K|   5894 |       |       |
        |         |
    |  19 |      NESTED LOOPS OUTER                |                             |      1 |     52 |    105K|00:16:32.91 |     694K|    105K|   5894 |       |       |
        |         |
    |* 20 |       HASH JOIN                        |                             |      1 |     52 |    105K|00:16:19.68 |     402K|    102K|   5894 |  9641K|  2205K| 16
    27K (1)|        10240 |
    |  21 |        VIEW                            |                             |      1 |  65234 |    105K|00:16:16.46 |     402K|    101K|   4655 |       |       |
        |         |
    |  22 |         SORT UNIQUE                    |                             |      1 |  65234 |    105K|00:16:16.46 |     402K|    101K|   4655 |  8724K|  1161K| 61
    8K (48)|         9216 |
    |  23 |          UNION-ALL                     |                             |      1 |        |    105K|00:14:59.93 |     402K|  97342 |    252 |       |       |
        |         |
    |  24 |           NESTED LOOPS OUTER           |                             |      1 |  19975 |    105K|00:14:10.24 |     395K|  94655 |      0 |       |       |
        |         |
    |  25 |            NESTED LOOPS                |                             |      1 |  19975 |    105K|00:13:58.47 |     140K|  93616 |      0 |       |       |
        |         |
    |  26 |             VIEW                       |                             |      1 |  55430 |  16097 |00:00:00.43 |     270 |    531 |      0 |       |       |
        |         |
    |  27 |              TABLE ACCESS FULL         | |      1 |  55430 |  16097 |00:00:00.19 |     270 |    531 |      0 |       |       |
        |         |
    |* 28 |             TABLE ACCESS BY INDEX ROWID| |  16097 |      1 |    105K|00:13:59.70 |     140K|  93085 |      0 |       |       |
        |         |
    |* 29 |              INDEX RANGE SCAN          |     |  16097 |     10 |    145K|00:00:40.42 |   32685 |   8237 |      0 |       |       |
        |         |
    |  30 |            TABLE ACCESS BY INDEX ROWID | |    105K|      1 |  84716 |00:00:16.78 |     254K|   1039 |      0 |       |       |
        |         |
    |* 31 |             INDEX UNIQUE SCAN          | |    105K|      1 |  84716 |00:00:13.05 |     169K|    982 |      0 |       |       |
        |         |
    |  32 |           NESTED LOOPS                 |                             |      1 |  45259 |      0 |00:00:17.19 |    7336 |   2687 |    252 |       |       |
        |         |
    |* 33 |            HASH JOIN RIGHT OUTER       |                             |      1 |  45259 |      0 |00:00:17.19 |    7336 |   2687 |    252 |   884K|   884K|  3
    09K (0)|              |
    |  34 |             TABLE ACCESS FULL          | |      1 |   1673 |   1677 |00:00:00.01 |      24 |      8 |      0 |       |       |
        |         |
    |* 35 |             HASH JOIN                  |                             |      1 |  45259 |      0 |00:00:17.13 |    7310 |   2678 |    252 |  3318K|  1235K|  4
    47K (1)|         2048 |
    |* 36 |              TABLE ACCESS FULL         | |      1 |  45259 |  49043 |00:00:07.41 |    7043 |   2170 |      0 |       |       |
        |         |
    |  37 |              VIEW                      |                             |      1 |  55430 |  16097 |00:00:00.14 |     267 |    256 |      0 |       |       |
        |         |
    |  38 |               TABLE ACCESS FULL        ||      1 |  55430 |  16097 |00:00:00.12 |     267 |    256 |      0 |       |       |
        |         |
    |  39 |            TABLE ACCESS BY INDEX ROWID | |      0 |      1 |      0 |00:00:00.01 |       0 |      0 |      0 |       |       |
        |         |
    |* 40 |             INDEX UNIQUE SCAN          | |      0 |      1 |      0 |00:00:00.01 |       0 |      0 |      0 |       |       |
        |         |
    |  41 |        VIEW                            |                             |      1 |  55430 |  16097 |00:00:00.02 |     267 |      0 |      0 |       |       |
        |         |
    |  42 |         TABLE ACCESS FULL              | |      1 |  55430 |  16097 |00:00:00.01 |     267 |      0 |      0 |       |       |
        |         |
    |  43 |       TABLE ACCESS BY INDEX ROWID      | |    105K|      1 |  93385 |00:00:24.90 |     291K|   2104 |      0 |       |       |
        |         |
    |* 44 |        INDEX UNIQUE SCAN               | |    105K|      1 |  93385 |00:00:16.45 |     196K|   1405 |      0 |       |       |
        |         |
    |  45 |      TABLE ACCESS BY INDEX ROWID       | |    105K|      1 |    105K|00:05:49.82 |     434K|  29495 |      0 |       |       |
        |         |
    |* 46 |       INDEX UNIQUE SCAN                ||    105K|      1 |    105K|00:02:54.37 |     328K|  14644 |      0 |       |       |
        |         |
    |* 47 |     INDEX RANGE SCAN                   | |    105K|      2 |    170K|00:03:01.14 |     342K|  15690 |      0 |       |       |
        |         |
    Predicate Information (identified by operation id):
       1 - filter(1>=ROWNUM)
       4 - access("XS"."SITEPK"=:B1)
       6 - access("XS"."VENDORPK"="XB"."VENDORPK")
       7 - filter(("XB"."BUYERCOMPANYPK"="CC"."PARENTCOMPANYPK" OR "XB"."BUYERCOMPANYPK"="CC"."CHILDCOMPANYPK"))
       9 - access("INVOICEPK"=:B1 AND "LINENUM"=:B2)
      14 - filter(("IH"."INVOICEORIGIN"='APP' AND "IH"."PO_PK" IS NULL AND "IH"."ISPOSTED"='Y'))
      15 - access("IH"."PAYPK"=3914297352 AND "IH"."POSTDATE">=1338508800000 AND "IH"."POSTDATE"<1341014400000)
           filter(("IH"."POSTDATE">=1338508800000 AND "IH"."PAYPK"=3914297352 AND "IH"."POSTDATE"<1341014400000))
      20 - access("NEWVIEW"."PRIMARYKEY"="TAB"."INVOICEPK")
      28 - filter(TO_NUMBER("RAT"."AUDITTYPE")<2)
      29 - access("INNERTAB1"."INVOICEPK"="RAT"."INVOICEPK")
           filter("RAT"."INVOICEPK" IS NOT NULL)
      31 - access("RAT"."USERPK"="UR"."USERPK")
      33 - access("RA"."QUEUEPK"="Q"."QUEUEPK")
      35 - access("INNERTAB2"."INVOICEPK"="RA"."INVOICEPK")
      36 - filter(("RA"."INVOICEPK" IS NOT NULL AND "RA"."RECEIVERPK" IS NOT NULL))
      40 - access("RA"."RECEIVERPK"="UR"."USERPK")
      44 - access("TAB"."ENTEREDBY"="UR"."USERPK")
      46 - access("TAB"."INVOICEPK"="ISUM"."INVOICEPK")
      47 - access("IDD"."INVOICEPK"="TAB"."INVOICEPK")
    87 rows selected.
    Elapsed: 00:00:04.10
    SQL>Edited by: 930254 on Aug 7, 2012 9:33 AM

Maybe you are looking for

  • How to Start Oracle Report in Unix?

    hi Does anyone know how to start oracle report in unix? I was told to try this (r60desm) but that did not work. We are on 11i and 6i. Please help alpha

  • READER NOT WORKING

    I CAN'T OPEN  DOCUMENTS ANYMORE. I GET A MESSAGE THAT I NEED TO SIGN LICENSE AGREEMENT BUT I CAN'T MAKE THAT AGREEMENT APPEAR. ( I INADVERTENTLY MUST HAVE DELETED READER WHEN I WAS ENDING A TRIAL SUBSCRIPTION TO ADOBE ACROBAT.) ANY HELP? I JUST WANT 

  • How does PDF convert CMYK to RGB?

    Hi I want to know the formula that PDF uses to convert DeviceCMYK to DeviceRGB values. It seems that Photoshop and PDF uses the same forula, where the other Programs use the "normal" formula, which can be found on the internet and some online RGB to

  • Problem with search plug-in in ver 5.9

    Hello I have a problem with search plug-in when you type some key words and press search button it works fine, but if you press enter jou have following error: Whoops. Something broke. Version      5.9.6.43135 Message      Invalid postback or callbac

  • Transfer backups from old TC to new TC

    I have a first gen TC that has backups of my 2 mac's. I just ordered a new dual band TC. Can I transfer the backup from the old TC to the new one so i don't loose anything?