Regarding trace files
Dear all,
I have multiple trace files in the path specified in parameter background_dump_dest i.e /u01/DEV/db/tech_st/11.1.0/admin/DEV_crod/diag/rdbms/dev/DEV/trace
Different patterns of the trace files in that directory are as below
DEV_m001_20989.trm
DEV_m001_20989.trc
DEV_ora_16836.trm
DEV_ora_16836.trc
DEV_dbrm_16264.trm
DEV_dbrm_16264.trc
DEV_vktm_16258.trm
DEV_vktm_16258.trc
DEV_lgwr_16856.trm
DEV_lgwr_16856.trc
DEV_arc2_16878.trm
DEV_arc2_16878.trc
DEV_pmon_17878.trm
DEV_pmon_17878.trc
DEV_cjq0_17949.trm
DEV_cjq0_17949.trc
alert_DEV.log
Kindly, let me know what are all the files needed to be present in this directory so that I can remove the unnecessary. one's
Regards,
Charan
Hi,
Can you elaborate what does "something wrong in your system mean", I mean for what kind of errors those trace files will be generated.Need not be something wrong (al though some times it could be, you will not know until you open and see it).
For example: Please see
No problem for the following message in trace file
J00 Trace Files Generated After 11g Upgrade With Bind Mismatch Messages [ID 1229793.1]
The Database Server Is Creating A Lot Of Trace Files From the VKTM Process [ID 837105.1]
Some sort of problem in the following trace file.
Ksvcreate: Process(M001) Creation Failed , Database hang [ID 1233079.1]
Thanks
Similar Messages
-
Question regarding alert log file and trace files
What should be the alert log file size ? And when should it be deleted? And for how many days user trace files should be kept?
Also will anyone please tell me the importance of these files.
ThanksThis may help: http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm#sthref729
There are a few discussions on it here:
Re: Alert Log File
alert log file contents viewing
Re: how to read alert log file? is there any tool available? -
Timestamp in Java log and trace files.
Hi SAP'ies
Running PI 7.11 on AIX 6.3 we face an issue with the content of log and trace files from Java.
Eg.
The file DefaultTrace_00.0.trc is timestamped 18-05-10 11:16:15. (The same time as the time of the OS/AIX)
Looking inside the file the last statement is timestamped 2010 05 18 09:16:15.
How can we ensure that the content of these Java files are timestamped with OS time?
Looking into ABAP files like dev_w0 the timestamp of the file and the content are equal.
Best regards,
Teddy Løv AndersenHello All
Best way to convert the default trace time is , visit the site
http://www.csgnetwork.com/epochtime.html
here enter , for example if you have the following in default trace
#1.#00265510DE7300120000000F000022030004C77AD7309DF5#1345230317066#com.sap.portal.fpn.rdl
1345230317066 is time stamp , enter this in the above site to get the time
Fri Aug 17 2012 21:05:17 GMT+0200
Regards -
Unable to write trace files in Background dump destination in oracle 10g
Hi All,
OS version : RHEL 5.7
DB version : 10.2.0.4
cluster : 2 node RAC database
Today I faced a strange behaviour for one of our production database. Its a 2-node rac database. On the first node there is no auto generation of trace files in the BAckground dump destination. I am able to see trace files of second in its background dump dest. But the strange behaviour occurs on the first node. I see only Alert log file in the background dump dest . Inspite of getting an error which shows trace file generated but no file occurs in the bdump. The following is the error but physically there no trace file generated:
Errors in file /oracle/db/admin/<sid>/bdump/<sid>j0011558.trc:
ORA-12012: error on auto execute of job 94377
ORA-12008: error in materialized view refresh pathCan anyone have any idea for this strange behaviour. There are no maintenance script for removal of trace files.
Regards,
Imran KhanORA-00980:synonym translation is no longer valid
Cause:The synonym used is based on a table, view, or synonym that no longer exists.
Action:Replace the synonym with the name of the object it references or re-create the synonym so that it refers to a valid table, view, or synonym.
Check the following :
From User Number 1 : Osama1
create table osama_table as select empname from scott.emp;
create public synonym osama_tbl for osama_table ;
grant select on osama_tbl to user_b;
From User Number 2 : Osama2
select 1 from osama_tbl;
SMITH
ALLEN
JONES
MARTIN
From User Number 1 : Osama1
drop table osama_table;
From User Number 2 : Osama2
select 1 from osama_tbl;
ORA-00980: synonym translation is no longer valid -
Any way to generate trace report from the TKPROF formatted trace file?
As titled.
Is there any automatically way to make a report on SQL tuning report from the TKPROF formatted trace file(or from the dynamic performance views)
PaulDave,
That's what report queries are for, take a look at shared components. Walk through the create report query wizard, and on the final page, you'll get a URL that you can use to integrate this with your page. You'll find the same URL when editing your report query afterwards.
Alternatively, suppose you already have you report page, but don't want to always go there, you can just copy that report region print link (reference my answer to your previous question), and make that the target of a branch or from another page.
Regards,
Marc -
Hi,
We have PI 7.1 installed in landscape. Some trace files getting generated at
server\sapmnt\SID\DVEBMGS01\j2ee\cluster\server0\jrfc07500_06148.trc and utilizing more disk space aroung 1 GB.
Could you please let me know from where trace can be disabled
thanksHi Yash,
Please find the details on this link:
http://help.sap.com/saphelp_nw04/Helpdata/EN/f6/daea401675752ae10000000a155106/content.htm
name
jrfc*.trc
location
directory j2ee/cluster/server* or defined path
how to switch on and off set JVM options for the server via the Config Tool and restart server: -Djrfc.trace=0/1, -Djco.trace_path=[defined_path]
Kindly let us know if this resolves the problem.
Thanks.
Regards,
Shweta -
Different Deadlock trace files
Hello,
In our application we use to have deadlock issues and i need to analyze that
trace file.Some time i use to have trace files which is having current session and
waiting session information and with modules and queries they are executing in top section
of trace file only , no need to read below data in trace file . But some times the
trace files are different..all update or select for update queries are spread
across the file and very difficult to understand which was locking what. Is that in rac or 11g environment
deadlock trace file is having different structure,?
One more question regarding deadlock ...many time we found that the current
query is updating on table A and waiting query updating on table B .. Is it possible
to have deadlock scenario when queries are working on different tables ? or
many be it is happening only if tables are in relation like parent and child ?hi,
Are you referring to .trm extention trace files which youare unable to read?
Here is good explanation of reading deadlock trace files
ORA-00060 Deadlock trace files.. how to read?
Thanks,
Ajay More
http://www.moreajays.com -
How to find username from trace file for deadlock due to user
This is the info from the trace file.
*** 2003-08-18 08:07:40.590
*** SESSION ID:(560.60728) 2003-08-18 08:07:40.560
DEADLOCK DETECTED
Current SQL statement for this session:
SELECT S.AVAILABLE,GET_AVAIL(S.PRODUCT_ID),S.ON_HAND,S.W_PL,S.PRODUCT_GROUP,S.SIZE_ID,S.COLOR_ID,S.ONEZ,S.COST,IS_IT_KIT(:b1),
NVL(PR.R_AVAIL,0),NVL(PR.R_SOLD,0),NVL(PR.UNIT_OF_MEASURE,'QTY'),NVL(DECODE(PR.AV_CT,0,1,PR.AV_CT),1) FROM ACNTV.SKU S,ACNTV
.PRERED_QUANTITIES PR WHERE S.PRODUCT_ID = PR.PRODUCT_ID (+) AND S.PRODUCT_ID = :b1 FOR UPDATE OF S.ON_HAND,
S.W_PL,PR.R_AVAIL
The following deadlock is not an ORACLE error. It is a
deadlock due to user error in the design of an application
or from issuing incorrect ad-hoc SQL. The following
information may aid in determining the deadlock:
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-0021004b-000125d8 366 560 X 329 135 X
TX-0008003b-000125fc 329 135 X 366 560 X
session 560: DID 0001-016E-00000002 session 135: DID 0001-0149-00000002
session 135: DID 0001-0149-00000002 session 560: DID 0001-016E-00000002
Rows waited on:
Session 135: obj - rowid = 00017FAC - AAAX+sAAPAAAS9/AAP
Session 560: obj - rowid = 0001586C - AAAVhsABXAAAAIRAAN
We know the objects ,but how to find out the username ?
ThanksHi;
Please see:
How To Check If a Profile Option Is Set In Oracle Application [ID 470102.1]
How to list E-Business Suite Profile Option values for all levels using SQLPlus [ID 201945.1]
How to Search all of the Profile Options for a Specific Value [ID 282382.1]
Regard
Helios -
How to access Trace file in storage account
Hi,
I am new to Azure Cloud, I would like to know how to access the trace file stored in Storage account.
We have implemented diagnostics & traces, I have no idea how to access the trace file.
I have no idea what are the folders created inside the storage account and where the trace files are stored.
Would some one help me?
Thank you!Hi,
In addition, you could use Azure Storage Explorer (https://azurestorageexplorer.codeplex.com/) to search your trace files.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Deleting default trace file in java
Hello all,
Whats the best way to automatically delete default trace file in java instance? I want to delete these files lets say every week or 2 wkkds,Is there any type of configuration that can be done through NWA or OS...? or do i have to write some scripts? Please advice.Perfect.
When set to 10, 0 -->9 are cyclic files. Regarding archiving, yes this is possible. Apart from defaulttrace files you can also archive other java log files (system, network,security etc). The configuration procedure is explained :-
http://help.sap.com/saphelp_nw04/helpdata/en/48/2edfd5bd3e0d4a81b90325fe195a70/frameset.htm
Once the 10th trace file(i.e.defaultrace9) is full, all the trace files (from defaulttrace0-defaultrace9) are zipped to a single file. The file compression ratio is extremely good.
Unfortunately there is no automated mechanism to clear off the archived files. This needs manual intervention(regular cleanup, script etc).
The archived log files may also be viewed for analysis from NWA.
While estimating the size for each defaulttrace consider three factors i) System load ii) Number of defaulttrace files.
iii) Retention days(without archiving)
Ex: System load as observed :
Say the trace file size is 10MB and 6 trace files get written in 4 hours of peak time and 1 trace files is written for 4 hours during non-peak time .Assuming 8 hours of peak business hours and rest all non-working hours.
No of files generated is 62 + 14 = 16 files of 10 MB each are generated per week day
If the defaulttrace file count is set to 16, you can retain one days' logs . Say you wish to retain the same with less number of files (i.e. 8) you would have to increase the file size to 20 MB. Also will have to look at file system space availability.
CAUTION: For a file system occupancy estimate, you will have to also consider as to how many Server nodes are
configured as each node has its own log area !
For this you need to observe the pattern as to how many files are being written then estimate the size and count
cheers !
PRADi -
Hi,
I am trying to log in, with the user name and password... I am not able to log in to server...
Main issue is the database is not created as per standard path... I want to find the trace files in unix... How it is possible..
Thanks and Regards..If you are able to login to database then check what is the value for these parameters where the trace file is created (user_dump_dest, background_dump_dest, db_recovery_file_dest)
Also use the unix 'find' command to search for the alert log file and .trc files.
http://content.hccfl.edu/pollock/unix/findcmd.htm
http://javarevisited.blogspot.com/2011/03/10-find-command-in-unix-examples-basic.html -
Enabling trace file in Debug mode
Hi all
how to enable the trace file in debug mode,...
can any one help me in this,...Hi,
answered in your second thread on this. *g
Regards,
Heike -
Trace file with different name is alert log file.
I am strange today
i found a trace file generated in alert log file with name
/bdump/stlbas_cjq0_1880.trc:
but when i am trying to find out in bdump folder i cannot found
any file with this named. instead i found /bdump/stlbas_cjq0_1853.trc
is there any possibility of being this scenario ?
database version:- 10.2.0.4
Os:- sun solaries spark 64 bits
Regards
HalimThe trace file has been removed/deleted from an OS user. I think you should verify that with OS logs.
Thanks -
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,
AntoineRemember 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 -- -
Unable to generate SQL trace file on a 10.2.0.1.0 database
Hello,
I am unable to generate SQL trace files on a 10.2.0.1.0 database (OS is Win2003 server 64 bits).
First I tried the way I used to do it on older databases (8i and 9i) :
execute dbms_system.set_sql_trace_in_session(sid, serial#, true);
I got no error, but no file was created in the user dump dest directory.
Then I've been searching and I've tried other things :
- I changed the user_dump_dest parameter
- I changed the tracefiles_public parameter value to "true", by modifying the init.ora file
- I tried another package :
exec dbms_monitor.session_trace_enable(139)
Nothing worked, I can't create any trace file...
Does anyone have an idea about this issue ?
thank you for you help !
AntoineHello,
thank you all for replying.
I have 2 instances on this machine, and I've just realized that with the other one I have no problem to generate sql trace files as usual.
But why the hell is it impossible on the first instance ? What difference between the 2 instances can explain this ?
This is pretty weird...
Otherwise I am experiencing serious performance problems on the instance where I can't creat trace files, there must be something wrong with it, but I can't figure it out
regards,
Antoine
Maybe you are looking for
-
Looking for Users but Terminal says No such file or directory
Hi I'm trying to delete something out of my DVD Studio Pro cache but when I look for the Library it has gone. I've tried calling it up in Terminal with 'chflags nohidden ~/Library' and it comes back with No such file or directory. Has anyone lost the
-
Hi SAP Gurus, We have a new requirements about Service Purchase order with material numbers. We need to send some vernier calipers for calibirations ( Eg: 15 inch calipers - 10 nos). I want to know which calipers are send for calibiration and where
-
Dear Experts, I want to prepare the training manual. Can anyone tell me how to use the t.codes f.13, f-05 step by step procedure. Thanks Balu
-
Hide top axis in cross tab report
Hi How to hide top axis in webi report xir4. Only objects names on top axis to be hide. I see only option for data fold and unfold Please suggest. Thanks.
-
How to upload and deploy an EAR to a remote weblogic domain
I can use ant to deploy EAR file to local weblogic. How to deploy ear files to a remote weblogic?