Trace file of directory /ORACLE/ SID /SAPTRACE/USERTRACE increase ceaseless

Dear all,
Now I face a problem that the Trace file of directory /ORACLE/<SID>/SAPTRACE/USERTRACE increase ceaseless and very quickly, the trace files size was increased to 8G only two days,  so the directory always is full due to this.
So anybody could tell me this is why  ? and what method could help to decrease the trace log to produce ?
Thanks & Regards,
Michael

>
mho wrote:
> There could be various issues causing this. I recommend having a look at [1505012 - Unrequired Oracle trace data in R3trans and tp|https://service.sap.com/sap/support/notes/1505012], for an bug in R3trans and tp.
>
> If this does not match, then please tell us what's inside the files.
>
> Cheers Michael
Thanks for your reply, I saw the notes and use Transaction SM50 to check the trace level, the level is default ,
this system is our solution manager, although the directory is full but the system still could be connected.
The trace files contents as below:
u201C*** 2011-04-25 12:22:41.995
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [qertbFetchByRowID], [], [], [], [], [], [], []
Current SQL statement for this session:
SELECT * FROM "TBTCO" WHERE "JOBNAME" = :A0 AND "JOBCOUNT" = :A1
Call Stack Trace -
calling              call     entry                argument values in hex     
location             type     point                (? means dubious value)    
_ksedst38           CALLrel  _ksedst10           0 1
_ksedmp898          CALLrel  _ksedst0            0
_ksfdmp14           CALLrel  _ksedmp0            3
_kgerinv+140         CALLreg  00000000             32560400 3
_kgeasnmierr19      CALLrel  _kgerinv0           32560400 9548210 38FFDE0 0
                                                   ECDD670
__VInfreq__qertbFet  CALLrel  _kgeasnmierr+0       32560400 9548210 38FFDE0 0
chByRowID+2583                                    
_opifch2+3115        CALL???  00000000             2AFAEC3C 1E9B2F4 ECDD9D8 2
_opiefn0348         CALLrel  _opifch20           89 4 ECDDB7C
_opiefn21           CALLrel  _opiefn00           4E 4 ECDF698 0 0 0 0 0 0 0
_opiodr+1099         CALLreg  00000000             4E 4 ECDF698
_ttcpip+1273         CALLreg  00000000             4E 4 ECDF698 C
_opitsk+1017         CALL???  00000000            
_opiino1087         CALLrel  _opitsk0            0 0
_opiodr+1099         CALLreg  00000000             3C 4 ECDFC30
_opidrv819          CALLrel  _opiodr0            3C 4 ECDFC30 0
_sou2o45            CALLrel  _opidrv0            3C 4 ECDFC30
opimaireal112     CALLrel  _sou2o0             ECDFC24 3C 4 ECDFC30
_opimai92           CALLrel  opimaireal0       2 ECDFC5C
_OracleThreadStart@  CALLrel  _opimai+0           
4+708                                             
77E66060             CALLreg  00000000            
Binary Stack Dump -
========== FRAME [1] (_ksedst38 -> _ksedst10) ==========
Dump of memory from 0x0ECDD544 to 0x0ECDD554
ECDD540          0ECDD554 0040467B 00000000      [T...{F@.....]
ECDD550 00000001                             [....]           
========== FRAME [2] (_ksedmp898 -> _ksedst0) ==========
Dump of memory from 0x0ECDD554 to 0x0ECDD614
Could you help to check this issue ?
Thanks

Similar Messages

  • Unable to find trace file for a particular sid

    Hi all,
    I have a oracle 9.2.0.6 on solaris platform.I have to use tkrpof for PT for a particular sid.But when i checked out the trace file for that particular sid, i am not able to find out the same.....
    SQL> select c.value || '\' || lower(d.value) || '_ora_' ||  to_char(a.spid, 'fm0
    0000') || '.trc' "TRACE FILE"
      2  from v$process a, v$session b, v$parameter c, v$parameter d where a.addr =
    b.paddr
      3  and b.audsid = userenv('sessionid') and c.name   = 'user_dump_dest'
      4  and d.name   = 'db_name';
    TRACE FILE
    /arch/dump/udump\icai_ora_02464.trc-rw-r----- 1 oracle dba 2526 Nov 9 04:27 icai12_ora_1314.trc
    -rw-r----- 1 oracle dba 2528 Nov 9 04:41 icai12_ora_1541.trc
    -rw-r----- 1 oracle dba 689 Nov 9 14:26 icai11_ora_14071.trc
    -rw-r----- 1 oracle dba 6414 Nov 9 23:56 icai12_ora_456.trc
    -rw-r----- 1 oracle dba 1427 Nov 10 12:02 icai11_ora_1867.trc
    -rw-r----- 1 oracle dba 613 Nov 10 12:02 icai12_ora_292.trc
    -rw-r----- 1 oracle dba 678 Nov 10 12:07 icai11_ora_2356.trc
    -rw-r----- 1 oracle dba 613 Nov 10 12:12 icai12_ora_490.trc
    -rw-r----- 1 oracle dba 626 Nov 10 12:12 icai11_ora_2275.trc
    -rw-r----- 1 oracle dba 613 Nov 10 12:12 icai12_ora_505.trc
    -rw-r----- 1 oracle dba 626 Nov 10 12:15 icai11_ora_2430.trc
    -rw-r----- 1 oracle dba 613 Nov 10 12:15 icai12_ora_286.trc
    -rw-r----- 1 oracle dba 625 Nov 10 12:42 icai11_ora_2378.trc
    -rw-r----- 1 oracle dba 625 Nov 10 12:45 icai11_ora_2549.trc
    -rw-r----- 1 oracle dba 625 Nov 10 12:46 icai11_ora_2514.trc
    -rw-r----- 1 oracle dba 626 Nov 10 12:48 icai11_ora_2626.trc
    -rw-r----- 1 oracle dba 731 Nov 10 12:49 icai11_ora_2322.trc
    -rw-r----- 1 oracle dba 1312 Nov 10 12:49 icai11_ora_2096.trc
    -rw-r----- 1 oracle dba 625 Nov 10 12:50 icai11_ora_2315.trc
    -rw-r----- 1 oracle dba 625 Nov 10 12:50 icai11_ora_1390.trc
    -rw-r----- 1 oracle dba 729 Nov 10 12:51 icai11_ora_1990.trc
    -rw-r----- 1 oracle dba 626 Nov 10 12:52 icai11_ora_2485.trc
    -rw-r----- 1 oracle dba 626 Nov 10 12:52 icai11_ora_2063.trc
    -rw-r----- 1 oracle dba 644 Nov 10 12:53 icai11_ora_2605.trc
    -rw-r----- 1 oracle dba 626 Nov 10 12:54 icai11_ora_2299.trc
    -rw-r----- 1 oracle dba 625 Nov 10 13:07 icai11_ora_2333.trc
    -rw-r----- 1 oracle dba 626 Nov 10 13:07 icai11_ora_2380.trc
    -rw-r----- 1 oracle dba 729 Nov 10 13:07 icai11_ora_2174.trc
    -rw-r----- 1 oracle dba 625 Nov 10 13:08 icai11_ora_2851.trc
    -rw-r----- 1 oracle dba 613 Nov 10 13:08 icai12_ora_627.trc
    -rw-r----- 1 oracle dba 626 Nov 10 13:11 icai11_ora_2894.trc
    -rw-r----- 1 oracle dba 1365 Nov 10 13:12 icai11_ora_2443.trc
    -rw-r----- 1 oracle dba 1640016 Nov 10 13:42 icai12_ora_427.trc
    -rw-r----- 1 oracle dba 676 Nov 10 13:48 icai11_ora_2183.trc
    -rw-r----- 1 oracle dba 626 Nov 10 13:48 icai11_ora_2230.trc
    -rw-r----- 1 oracle dba 645 Nov 10 13:55 icai11_ora_3220.trc
    -rw-r----- 1 oracle dba 675 Nov 10 13:57 icai12_ora_276.trc
    -rw-r----- 1 oracle dba 625 Nov 10 14:07 icai11_ora_3198.trc
    -rw-r----- 1 oracle dba 1376 Nov 10 14:08 icai11_ora_2935.trc
    -rw-r----- 1 oracle dba 625 Nov 10 14:09 icai11_ora_3273.trc
    -rw-r----- 1 oracle dba 677 Nov 10 14:10 icai11_ora_2465.trc
    -rw-r----- 1 oracle dba 634 Nov 10 14:17 icai12_ora_1137.trc
    -rw-r----- 1 oracle dba 687 Nov 10 14:21 icai11_ora_1971.trc
    -rw-r----- 1 oracle dba 688 Nov 10 14:23 icai11_ora_2973.trc
    -rw-r----- 1 oracle dba 626 Nov 10 14:25 icai11_ora_2144.trc
    -rw-r----- 1 oracle dba 770 Nov 10 14:32 icai12_ora_399.trc
    -rw-r----- 1 oracle dba 718 Nov 10 14:37 icai12_ora_917.trc
    -rw-r----- 1 oracle dba 644 Nov 10 14:48 icai11_ora_3510.trc
    -rw-r----- 1 oracle dba 645 Nov 10 15:31 icai11_ora_2957.trc
    -rw-r----- 1 oracle dba 730 Nov 10 15:33 icai11_ora_1973.trc
    -rw-r----- 1 oracle dba 688 Nov 10 15:56 icai11_ora_3830.trc
    -rw-r----- 1 oracle dba 2527 Nov 10 16:11 icai12_ora_364.trc
    -rw-r----- 1 oracle dba 687 Nov 10 16:34 icai11_ora_4150.trc
    -rw-r----- 1 oracle dba 1332 Nov 10 16:35 icai11_ora_3760.trc
    -rw-r----- 1 oracle dba 715 Nov 10 16:38 icai11_ora_3723.trc
    -rw-r----- 1 oracle dba 687 Nov 10 16:46 icai11_ora_4295.trc
    -rw-r----- 1 oracle dba 714 Nov 10 16:56 icai11_ora_2598.trc
    -rw-r----- 1 oracle dba 615 Nov 10 17:06 icai12_ora_2232.trc
    -rw-r----- 1 oracle dba 615 Nov 10 17:09 icai12_ora_2290.trc
    -rw-r----- 1 oracle dba 2527 Nov 10 17:13 icai12_ora_1875.trc
    -rw-r----- 1 oracle dba 688 Nov 10 17:18 icai11_ora_4473.trc
    -rw-r----- 1 oracle dba 978 Nov 10 17:25 icai12_ora_2265.trc
    -rw-r----- 1 oracle dba 645 Nov 10 17:29 icai11_ora_4582.trc
    -rw-r----- 1 oracle dba 730 Nov 10 17:36 icai11_ora_4084.trc
    -rw-r----- 1 oracle dba 616 Nov 10 17:46 icai12_ora_2281.trc
    -rw-r----- 1 oracle dba 615 Nov 10 17:46 icai12_ora_1811.trc
    -rw-r----- 1 oracle dba 730 Nov 10 17:50 icai11_ora_4225.trc
    -rw-r----- 1 oracle dba 2528 Nov 10 18:08 icai12_ora_2352.trc
    -rw-r----- 1 oracle dba 626 Nov 10 18:10 icai11_ora_2501.trc
    -rw-r----- 1 oracle dba 738 Nov 10 18:10 icai11_ora_2790.trc
    -rw-r----- 1 oracle dba 688 Nov 10 18:28 icai11_ora_3768.trc
    -rw-r----- 1 oracle dba 626 Nov 10 18:33 icai11_ora_4029.trc
    -rw-r----- 1 oracle dba 626 Nov 10 18:33 icai11_ora_3965.trc
    root@ai2 #

    You seem to have RAC with multiple instances.
    Anyhow, lower(d.value) --> icai, doesn't occur in any filename. This is because the instance name is in the trace filename, not the database name.
    You are aware you can set the tracefile_identifier?
    This will be simply appended to the original filename.
    Sybrand Bakker
    Senior Oracle DBA

  • How to change trace file location in Oracle Fusion Middleware

    Hi all,
    I would like to know how to change the location of the trace file in Oracle Fusion Middleware - Report Server 11g ?
    I notice there is logging.xml file in $ORACLE_HOME/config/ReportServerComponenent/logging.xml. In the xml file, it did specify the location of the diagnostic file and other log files.
    Is it the correct way to reconfigure the location of the log file? I havent try it though. :D
    Thanks.

    Hi Fleix,
    For additional instructions for Release 11i, see Note.167635.1 and Note.150168.1.
    For additional instructions for Release 11.0.3 and 10.7, see Note.148982.1 and Note.135715.1.
    a. Append the following to the end of the URL used to login to the Oracle Applications:
    ?play=&record=collect&log=/tmp/oracle.FRD.log
    ** Note: The self service login URL will not work for creating FRD trace files. You may need to talk to your technical team to get the URL that accesses the forms server directly.
    b. If the URL to logon to 11i applications is:
    http://machine:9603/dev60cgi/f60cgi
    Then the following label needs to be included:
    ?play=&record=collect&log=/tmp/'file_name'.frd
    For example to create frd for above url log in to application as
    http://machine:9603/dev60cgi/f60cgi?play=&record=collect&log=/tmp/4764802.992.frd
    c. Now log into the application and go directly to the form with the problem and perform the actions which generate the error.
    Once the error has been generated and cleared, immediately log out of the application so no additional diagnostics are captured.
    d. The diagnostics will be written to the file specifed after "log=". In the example, this would be /tmp/4764802.992.frd
    e. After reproducing the issue, log on the server side of the instance and go to the directory to /tmp (cd tmp)
    f. Retrieve the frd file: /tmp/4764802.992.frd
    This file contains all the details about built-in programs, triggers, procedures in a FORM
    Thanks,
    Anchorage :)

  • Determination of file status for /oracle/SID/102_64/rdbms/admin/log failed

    Hello all,
    When using brtools, the following error pops up. Appreciate if you could share some hints. thanks.
    > brtools
    BR0651I BRTOOLS 7.00 (43)
    BR0252E Function stat() failed for '/oracle/QAA/102_64/rdbms/admin/log' at location BrFileStatGet-1
    BR0253E errno 13: Permission denied
    BR0273E Determination of file status for /oracle/QAA/102_64/rdbms/admin/log failed
    BR0280I BRTOOLS time stamp: 2010-05-07 14.20.41
    BR0654I BRTOOLS terminated with errors
    Kind regards
    Raymond

    >
    Raymond Yuan wrote:
    > BR0252E Function stat() failed for '/oracle/QAA/102_64/rdbms/admin/log' at location BrFileStatGet-1
    > BR0253E errno 13: Permission denied
    >
    Hello,
    now this message is pretty obvious. So the needed information would be:
    ls -ld /oracle/QAA/102_64/rdbms/admin
    ls -ld /oracle/QAA/102_64/rdbms/admin/log
    ls -ld brtools
    id
    and then compare if the user executing brtools has appropiate rights.
    Most likely you did not run saproot.sh so brtools might not be set suid to oraqaa
    and you are executing as qaaadm.
    Best regards
    Volker

  • /oracle/ SID Directory is full

    Hi, All
    We are using ECC6 on HPUnix with Oracle. in our quality server /oracle/<sid> directory is full. Any one can explain what are the files i have to delete or i have to increase the volume.
    Please suggest
    Thanks & Regard
    Venkat

    Hi
    Please also check the size of the /oracle/SID/saptrace directory, you can use du:
    orasid> du -k /oracle/SID/saptrace
    The saptrace directory holds the alert log, user and background traces of the database. Sometimes core files are placed there as well. All those files can be deleted (please do not remove the background and usertrace directories), but if you encounter a lot of traces or cores, you should investigate further and try to fix the problems.
    Best regards
    Michael

  • Oracle XE 11.2 writing trace files every 30 sec.

    Hi all,
    we are using an oracle xe 11.2 database on linux. By searching the logs we find some trace files from dbrm that will be updated every 30 secs.
    Does anyone can help understand whats the problem ?
    Thanks a log
    /u01/app/oracle/diag/rdbms/xe/XE/trace> tail -f XE_dbrm_8880.trc
    Trace file /u01/app/oracle/diag/rdbms/xe/XE/trace/XE_dbrm_8880.trc
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Beta
    ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe
    System name: Linux
    Node name: vtsbpm1
    Release: 2.6.32.36-0.5-default
    Version: #1 SMP 2011-04-14 10:12:31 +0200
    Machine: x86_64
    VM name: VMWare Version: 6
    Instance name: XE
    Redo thread mounted by this instance: 1
    Oracle process number: 7
    Unix process pid: 8880, image: oracle@vtsbpm1 (DBRM)
    *** 2012-02-28 11:39:42.567
    *** SESSION ID:(240.1) 2012-02-28 11:39:42.567
    *** CLIENT ID:() 2012-02-28 11:39:42.567
    *** SERVICE NAME:() 2012-02-28 11:39:42.567
    *** MODULE NAME:() 2012-02-28 11:39:42.567
    *** ACTION NAME:() 2012-02-28 11:39:42.567
    kgsksysstop: blocking mode (2) timestamp: 1330425582566557
    kgsksysstop: successful
    kgskreset: Threshold setting[numa_pg(0)]
    Threshold low[0] = 1, high[0] = 3
    kgsksysresume: successful
    RESOURCE MANAGER PLAN/CONSUMER GROUP DUMP
    type: PLAN, Name: INTERNAL_PLAN_XE, number of directives: 2, bit mask: 0x3
    policy index: 0, inst state index: 0, plan id: 1
    Data from Management module:
    Plan Parameters:
    <None>
    Plan Directives:
    [1] Plan Directive Parameters:
    Directive name: MGMT_P1, value: 100
    Directive:
    type: CONSUMER GROUP, Name: OTHER_GROUPS (addr: 0x8f85b120)
    policy index: 0, inst state index: 0, class num: 0x1
    mast: INFINITE, ASL qtout: INFINITE, PQQ qtout: INFINITE, mdop: INFINITE
    Statistics:
    current queued threads: 0,
    class total time: 0 msec, penalty # 0
    total threads: 0
    total CPU yields: 0
    total CPU wait: 0 msec
    total IO wait: 0 msec
    *** 2012-02-28 13:23:15.183
    cpu%: cputm: cpuwt: avgrun: avgwt:
    1 324 0 0.05 1.00
    RQs: < 5: < 10: < 50: < 100: < 200: < 1000: > 1K:
    4054 0 3 0 0 0 0
    *** 2012-02-28 13:24:45.189
    1 308 0 0.00 1.00
    4112 0 3 0 0 0 0
    4 2049 0 0.05 1.00
    *** 2012-02-28 13:26:15.187
    6190 14 17 1 1 0 0
    *** 2012-02-28 13:27:45.191
    24 23051 210 0.15 1.00
    20357 30 37 26 17 5 0
    *** 2012-02-28 13:29:15.196
    9 377 0 0.00 1.00
    4309 1 2 0 0 0 0
    *** 2012-02-28 13:30:45.207
    cpu%: cputm: cpuwt: avgrun: avgwt:
    16 448 0 0.00 1.00
    RQs: < 5: < 10: < 50: < 100: < 200: < 1000: > 1K:
    4294 2 4 0 0 0 0
    *** 2012-02-28 13:32:15.207
    4 360 0 0.00 1.00
    4136 0 4 0 0 0 0
    *** 2012-02-28 13:33:45.207
    1 392 0 0.00 1.00
    4197 1 3 0 0 0 0

    understand whats the problem ?Without knowing specifics about what is going on in your instance, its hard to say.
    Could be a problem indication, more likely not. Appears to be Resource Manager trace files, the resource manager doesn't have much effect on the instance until the host is getting starved for resources, then the engine can throttle down resources given to different resource groups.
    http://docs.oracle.com/cd/E11882_01/server.112/e25494/dbrm001.htm#sthref2760

  • I cannot get trace file with sql command

    Hi,
               When I am executing the below command in SQLPLUS I could not find trace files in /oracle/(sid)/sap trace/ user trace directory. The command is
    >alter database backup control file to trace;
    I have executed this command with (sid)adm and ora(sid) .
    Our oracle version is 9.2.0.
    Please help on this
    Regards
    Nani

    Hi
             The file under /oracle/SDB/saptrace/usertrace showing below error
    pg sdb_ora_24618.trc
    /oracle/SDB/saptrace/usertrace/sdb_ora_24618.trc
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.7.0 - Production
    ORACLE_HOME = /oracle/SDB/920_64
    System name:    HP-UX
    Node name:      sandbox
    Release:        B.11.23
    Version:        U
    Machine:        ia64
    Instance name: SDB
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 0
    24618
    Ioctl ASYNC_CONFIG error, errno = 1
    Regards
    Nani

  • No trace file in .../udump

    Hi,
    DB 10.2.0.5
    I enabled a session tarce by :
    execute sys.dbms_system.set_sql_trace_in_session(267,21842,TRUE); (that's the J011 process)
    and can see it in v$session:
    SQL> select sid, serial#, sql_trace, sql_trace_waits, sql_trace_binds from v$session where sid=267;
    SID SERIAL# SQL_TRAC SQL_T SQL_T
    267 21842 ENABLED TRUE TRUE
    but there is no trace file written to the udump dir?
    br
    Daniel

    Daniel,
    The dbms_system package is an undocumented , internal-only package. Please don't use it. Instead of it, use dbms_monitor package to do the same task.
    edit
    If you are still interested to use this package only , do some activity in the session. See below,
    SQL> grant dba to aman identified by aman;
    Grant succeeded.
    SQL> cl scr
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    [oracle@edbar2p0-orcl ~]$ sqlplus aman/aman
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Jul 11 17:00:34 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    SQL> select sid, serial# from V$session where username='AMAN';
           SID    SERIAL#
            31        353
    SQL> execute sys.dbms_system.set_sql_trace_in_session(31,353,TRUE);
    BEGIN sys.dbms_system.set_sql_trace_in_session(31,353,TRUE); END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'SYS.DBMS_SYSTEM' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    SQL> conn / as sysdba
    Connected.
    SQL> grant execute on dbms_system to aman;
    Grant succeeded.
    SQL> cl scr
    SQL> conn aman/aman
    Connected.
    SQL> select sid, serial# from V$session where username='AMAN';
           SID    SERIAL#
            31        357
    SQL> alter session set tracefile_identifier='aman';
    Session altered.
    SQL> execute sys.dbms_system.set_sql_trace_in_session(31,357,TRUE);
    PL/SQL procedure successfully completed.
    SQL> select sid, serial#, sql_trace, sql_trace_waits, sql_trace_binds from v$session where sid=31;
           SID    SERIAL# SQL_TRAC SQL_T SQL_T
            31        357 ENABLED  FALSE FALSEAfter this, I checked in the diag folder, there is no control file created.
    [oracle@edbar2p0-orcl trace]$ ls *aman*
    ls: *aman*: No such file or directory
    [oracle@edbar2p0-orcl trace]$ Now, I just ran some queries in the session.
    SQL> select * from scott.emp;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800
            20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300
            30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500
            30
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7566 JONES      MANAGER         7839 02-APR-81       2975
            20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400
            30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850
            30
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7782 CLARK      MANAGER         7839 09-JUN-81       2450
            10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000
            20
          7839 KING       PRESIDENT            17-NOV-81       5000
            10
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0
            30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100
            20
          7900 JAMES      CLERK           7698 03-DEC-81        950
            30
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7902 FORD       ANALYST         7566 03-DEC-81       3000
            20
          7934 MILLER     CLERK           7782 23-JAN-82       1300
            10
    14 rows selected.After doing this, I checked again ,
    [oracle@edbar2p0-orcl trace]$ ls *aman*
    orcl_ora_9828_aman.trc  orcl_ora_9828_aman.trm
    [oracle@edbar2p0-orcl trace]$
    PARSING IN CURSOR #3 len=23 dep=0 uid=93 oct=3 lid=93 tim=1310404033551285 hv=52
    404428 ad='32ab2004' sqlid='ggqns3c1jz86c'
    select * from scott.emp
    END OF STMT
    PARSE #3:c=1000,e=1903,p=1,cr=24,cu=0,mis=1,r=0,dep=0,og=1,plh=3956160932,tim=13
    10404033551284
    EXEC #3:c=0,e=10,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=3956160932,tim=131040403
    3551335
    FETCH #3:c=0,e=266,p=6,cr=7,cu=0,mis=0,r=1,dep=0,og=1,plh=3956160932,tim=1310404
    033551649
    FETCH #3:c=0,e=19,p=0,cr=1,cu=0,mis=0,r=13,dep=0,og=1,plh=3956160932,tim=1310404
    033551860
    STAT #3 id=1 cnt=14 pid=0 pos=1 obj=73181 op='TABLE ACCESS FULL EMP (cr=8 pr=6 p
    w=0 time=0 us cost=3 size=532 card=14)'HTH
    Aman....
    Edited by: Aman.... on Jul 11, 2011 5:08 PM
    added Edit

  • Where is the user trace file?

    I have issued the statement below to enable sql trace in session 260 ,and it execute successfully.but i can not find where the trace file in directory $ORACLE_BASE/admin/testcs/udump (testcs is my database name).
    SQL> execute dbms_system.set_sql_trace_in_session(260,34880,true);
    PL/SQL procedure successfully completed.
    where is the trace file?
    By the way,how can i find the information about the package DBMS_SYSTEM which is not in ORACLE references?

    Did you issue some queries after turning tracing on? The trace file might not be created until there is some activity in the session.
    I know that DBMS_SYSTEM is documented in the O'Reilly Press book "Oracle Built-in Packages" by Feuerstein, Dye & Beresniewicz.
    However for tracing I think that Oracle expects you to use the dbms_support package:
    execute sys.dbms_support.start_trace_in_session -
      (sid => &sid, serial => &serial, waits => true, binds => true)Or for Oracle 7.3.4 or 8.0 you can use oradebug. Example:
    select pid, spid, username from v$process;
    PID    SPID   USERNAME
    8      25807  oracle
    SVRMGR> oradebug setorapid 8
    -- or -
    SVRMGR> oradebug setospid 25807
    -- turn on
    SVRMGR> oradebug event 10046 trace name context forever, level 12 
    -- turn off
    SVRMGR> oradebug event 10046 trace name context off

  • TRACE FILE의 PERMISSION 조정하는 방법

    제품 : ORACLE SERVER
    작성날짜 : 1998-04-28
    제목
    ====
    oracle trace file 을 dba group 에 속하지 않는 user 들에게
    permission 을 허용하는 방법
    문제
    ====
    Oracle 의 모든 trace file 은 owner 가 oracle user, group 이
    dba 이고 640 permission 을 갖습니다.
    예를 들면, -rw-r----- oracle dba
    따라서, UNIX 에서는 $ORACLE_HOME/log 나 initSID.ora, configSID.ora 에
    지정된 directory 에 생성되는 모든 trace file 은 위의 permission 을
    갖기 때문에 dba group 에 속하지 않은 사용자들은 trace file 을
    access 할 수 없도록 되어 있습니다.
    해결
    ====
    tracefiles_public =true 라는 parameter 를 initSID.ora 에
    추가후 db restartup 하고, 일반 사용자들의 umask 를 000 으로
    setting 하시면 됩니다.
    1. cd $ORACLE_HOME/dbs
    2. UNIX,VMS 의 init<sid>.ora 에 다음을 추가하십시오.
    tracefiles_public=true
    3. save init<sid>.ora
    4. restartup database
    위 작업은 oracle trace file 이 trace 를 생성하는 사용자의 umask 에
    의해 trace file 의 permission 이 결정하도록 합니다.
    일반 사용자 가 OS prompt 상태에서
    $umask 000
    으로 한 다음 sql trace file 등을 생성하는 작업을 했을 때, 화일의
    permission 이 다음과 같이 생깁니다.
    -rw-rw-r-- 1 oracle dba 2945 Apr 16 10:11 ora_28494.trc
    즉, trace file 의 owner와 group 은 여전히 oracle, dba 이기 때문에, umask의
    세번째 field 가 0 이어야 dba group 이 아닌 일반 사용자 들이
    trace file 을 읽을 수 있습니다.
    참고
    ====
    재 기동 작업시에 다음 에러가 발생한다면, 위 파라미터의 spelling 등을 다시
    확인하십시오.
    ora-1078
    01078, 00000, "failure in processing system parameters"
    // *Cause:  Failure during processing of init.ora parameters during
    // system startup.
    // *Action:  Further diagnostic information should be in the errorstack. 
    lcc-122
    122, 0, "unrecognized keyword [%.*s]"
    // *Cause: You have misspelled the parameter name
    // *Action: Spell the parameter name correctly                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Unable to generate SQL trace file in shared mode ??

    Hello,
    I have a 10.2.0.1.0 database on Win2003 server 64 bits, with several instances.
    On instances in dedicated mode, I can create trace files by using dbms_system.set_sql_trace_in_session, but on instances in shared mode nothing happens : no file is created in the udump directory.
    This doesn't make any sense to me o_O
    The shared parameters are the following :
    dispatchers=(protocol=TCP)
    shared_servers=1
    I've checked all the necessary parameters to create a trace file (user_dump_dest, timed_statistics, max_dump_file_size...) and everything is fine.
    I really don't understand why I can't create trace files when the instance is in shared mdoe...
    Can anyone help about this weird issue ?
    thank you !
    regards,
    Antoine

    Remember also that in Shared Server mode the trace information is not written to a single file but is written to the Shared Server trace file. Before Oracle 10g there was no way to pull all the trace information for a single user session together out of the trace files. There is a tool for doing so with 10g.
    HTH -- Mark D Powell --

  • Delete audit and trace files

    Is anyone aware of why we should not delete audit and trace files under the oracle admin directory that are over 30 days old? I don't know that there is anything in place to do this and they are building up. Tuldcorpadb01:/oracle is at 96%. These files aren't that big, but there are a lot of them. See counts below.
    oracle:tuldcorpadb01:ecmd> cd admin
    oracle:tuldcorpadb01:ecmd>find . -name \*.aud -type f -ctime +30 -ls|wc -l
    25149
    oracle:tuldcorpadb01:ecmd>find . -name \*.trc -type f -ctime +30 -ls|wc -
    2426

    Move older audit files to a different filesystem until you find someone being able to define what files can be deleted.
    Regards
    Gustavo Restuccia

  • Listener trace file: Winsock 54 errors

    I am seeing many of the following error ("soc nnn error - operation=5, ntresnt[0]=517, ntresnt[1]=54...") in my Listener trace file.
    This is on an Oracle 9.2.0.4 server (Windows 2003 Server R2).
    If my intepretation of the Listener trace is correct, this corresponds to Winsock Error 10054 (Connection reset by peer).
    SQL*net trace files at the client side (a separate host) do not indicate a corresponding error - all the trace files appear "clean".
    So what is the peer in this context? My initial thought was that the Oracle server had established a session for the client, but then the client
    had appeared to disappear from the network. But I would have expected to see something in the client trace files at the same time.
    This is an example from the Listener trace file.
    nscon: sending NSPTRD packet
    nspsend: entry
    nspsend: plen=65, type=5
    nttmwr: entry
    nttmwr: socket 332 had bytes written=65
    nttmwr: exit
    nspsend: 65 bytes to transport
    nspsend: packet dump
    nspsend: 00 41 00 00 05 00 00 00 |.A......|
    nspsend: 00 37 28 41 44 44 52 45 |.7(ADDRE|
    nspsend: 53 53 3D 28 50 52 4F 54 |SS=(PROT|
    nspsend: 4F 43 4F 4C 3D 74 63 70 |OCOL=tcp|
    nspsend: 29 28 48 4F 53 54 3D 31 |)(HOST=1|
    nspsend: 39 32 2E 31 36 38 2E 32 |92.168.2|
    nspsend: 2E 32 35 34 29 28 50 4F |.254)(PO|
    nspsend: 52 54 3D 34 34 35 37 29 |RT=4457)|
    nspsend: 29 |) |
    nspsend: normal exit
    nscon: exit (0)
    nsdo: nsctxrnk=0
    nsdo: normal exit
    nsrah: entry
    nsrah: reading (asynchronously) from transport...
    nsrah: ...into overflow area...
    nttmrd: entry
    ntt2err: entry
    ntt2err: soc 332 error - operation=5, ntresnt[0]=517, ntresnt[1]=54, ntresnt[2]=0
    ntt2err: exit
    ntt2err: entry
    ntt2err: Read unexpected EOF ERROR on 332
    ntt2err: exit
    nttmrd: socket 332 had bytes read=0
    nttmrd: exit
    nserror: entry
    nserror: nsres: id=4, op=68, ns=12537, ns2=12560; nt[0]=507, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    nsrah: exit (-1)
    nsclose: entry
    nstimarmed: entry
    nstimarmed: no timer allocated
    nstimarmed: normal exit
    Any thoughts/recommendations on this would be gratefully received, thanks.
    Andy.

    nspsend: 4F 43 4F 4C 3D 74 63 70 |OCOL=tcp|
    nspsend: 29 28 48 4F 53 54 3D 31 |)(HOST=1|
    nspsend: 39 32 2E 31 36 38 2E 32 |92.168.2|
    nspsend: 2E 32 35 34 29 28 50 4F |.254)(PO|
    nspsend: 52 54 3D 34 34 35 37 29 |RT=4457)|
    So what is the peer in this context?192.168.2.245 port=4457
    go to http://download.oracle.com/docs/cd/B10501_01/network.920/a96580/troubles.htm
    then Find: EOF ERROR

  • Udump trace files

    Hello All,
    My database is two years old.
    I mean I have installed Oracle DB 10g two years back.
    I never remove trace files from /opt/oracle/admin/sid/udump.
    * * Is it ok to remove old trace files?
    ** what is the use to udump trace files?
    DN

    udump is normally used to house user files. these could be created by various user traces and depending utl_file_dir (which i think is now deprecated), it could house those types of generated output files. there is absolutely no reason that you couldn't remove those files.
    unless you are working an issue with oracle or have one that is reasonably current, you can remove the files/directories under cdump as well.
    you can also remove old trc files from bdump. as for the alert.log... i personally have a script that runs looking for errors in the log and if it finds any, it puts the errors into an error file, copies the alert.log to a backup dated copy and cats /dev/null into the file. it also sends out a mail msg about the error. very useful and cuts down on having massive alert.log files.

  • User trace file  unexepated groth

    Dear all
    in our xi 3.o server os -2003   database oracle
    in D:\oracle\xid\saptrace\usertrace  in location within 2-3 hours
    genrate a file xid_ora_6224.trc=45 gb or more ,
    we are not understand what is the problem
    please help
    thanks regrads
    venkat

    Do you have installed
    - patch 10.2.0.4
    - latest interim patch
    - CPU patch?
    There was a problem with the usertrace logging too much in earlier versions.
    Markus

Maybe you are looking for

  • Works in one tool, but not another...same environment.

    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production PL/SQL Release 11.2.0.3.0 - Production CORE     11.2.0.3.0     Production TNS for Solaris: Version 11.2.0.3.0 - Production NLSRTL Version 11.2.0.3.0 - Production I'm trying

  • Mail sync issue with new iPod Touch

    I have been unable to successfully perform an initial mail sync using my new iPod Touch 32 GB with Version 3.1.1. All is being successfully sync'd with the exception of mail. The error box when I click on mail with the iTouch reads - "Cannot Get Mail

  • Dynamic backing bean

    Hello Someone can help me with the following issue? Im working on an application that creates jsf pages based on user input. Its a tool where one user should build a questionnaire and another user has to ansewer it. The component creation based on us

  • Backup via Cron job - SQL ERROR: ORA-01031: insufficient privileges

    Hi, We are Using Oracle RAC - linux - SAP EP . We have scheduled online backup through crontab . Always we are getting below error when the backup job runs via crontab ================ BR0278E Command output of '/usr/sap/EP1/SYS/exe/run/brtools -f pr

  • URL Not Changing Session State Variables Specified

    I am trying to change a variable on a target page with a URL, however, the variable never changes. The variable is set to 8. I send the following URL which should change it to 0 but it does not change. We just recently upgraded to 1.6 Why is this not