How to disable trace files in oracle version 11g
Senario : trace file are growing
How to disable trace files in oracle version 11g
pls guide with best practice
SHANOJ wrote:
Senario : trace file are growing
How to disable trace files in oracle version 11g
pls guide with best practiceIn 11g, there is an extensive tracing that happens for the reasons best known to Oracle only. But if you want to disable it, Coskan had published a small post mentioning an undocumented parameter(which means you must think twice before using it) to disable it- disablehealth_check* . You may want to read the complete post here,
http://coskan.wordpress.com/2009/06/03/too-many-trace_file-on-11g/
Aman....
Similar Messages
-
How to generate trace file in oracle application forms
hi
I want to generate trace fle in oracle application
Regards
9841672839Hi,
Refer to the following documents.
Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=296559.1
Note: 130182.1 - HOW TO TRACE FROM FORM, REPORT, PROGRAM AND OTHERS IN ORACLE APPLICATIONS
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=130182.1
Regards,
Hussein -
How to mail pdf file from oracle database 11g
Hi,
Using following code to send pdf file from oracle database.
DECLARE
v_From VARCHAR2(80) := '[email protected]';
v_Recipient VARCHAR2(80) := '[email protected]';
v_Subject VARCHAR2(80) := 'test subject';
v_Mail_Host VARCHAR2(30) := '116.214.31.249';
v_Mail_Conn sys.utl_smtp.Connection;
crlf VARCHAR2(2) := chr(13)||chr(10);
BEGIN
v_Mail_Conn := sys.utl_smtp.Open_Connection(v_Mail_Host, 26);
sys.utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
sys.utl_smtp.Mail(v_Mail_Conn, v_From);
sys.utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
sys.utl_smtp.Data(v_Mail_Conn,
'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
'From: ' || v_From || crlf ||
'Subject: '|| v_Subject || crlf ||
'To: ' || v_Recipient || crlf ||
'MIME-Version: 1.0'|| crlf || -- Use MIME mail standard
'Content-Type: multipart/mixed;'|| crlf ||
' boundary="-----SECBOUND"'|| crlf ||
crlf ||
'-------SECBOUND'|| crlf ||
'Content-Type: text/plain;'|| crlf ||
'Content-Transfer_Encoding: 7bit'|| crlf ||
crlf ||
'some message text'|| crlf || -- Message body
'more message text'|| crlf ||
crlf ||
'-------SECBOUND'|| crlf ||
'Content-Type: file;'|| crlf ||
' name="D:\mail\pdfSample.pdf"'|| crlf ||
'Content-Transfer_Encoding: 8bit'|| crlf ||
'Content-Disposition: attachment;'|| crlf ||
' filename="D:\mail\pdfSample.pdf"'|| crlf ||
crlf ||
'CSV,file,attachement'|| crlf || -- Content of attachment
crlf ||
'-------SECBOUND--' -- End MIME mail
sys.utl_smtp.Quit(v_mail_conn);
EXCEPTION
WHEN sys.utl_smtp.Transient_Error OR sys.utl_smtp.Permanent_Error then
raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
END;
Above code executed successfully and mail is send to recipient but file is corrupted.
I think it doesn't pick file from specified location, attachment name is appearing like this 'D:mailpdfsample.pdf
Oracle Database : 11g R2
O.S : windows 7 Professional
Thanks in Advanceparapr wrote:
sys.utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);The above violates RFC 5321 section 4.1.1.1
'-------SECBOUND'|| crlf ||
'Content-Type: file;'|| crlf ||
' name="D:\mail\pdfSample.pdf"'|| crlf ||
'Content-Transfer_Encoding: 8bit'|| crlf ||
'Content-Disposition: attachment;'|| crlf ||
' filename="D:\mail\pdfSample.pdf"'|| crlf ||Invalid Mime header above. Filename are logical. Not physical. Loose the drive and directory names. The filename is there to name the Mime body's content.
crlf ||
'CSV,file,attachement'|| crlf || -- Content of attachmentHow is the above PDF content? This is a string containing the text CSV,file,attachement. Which means when this is what is saved as a PDF file by the mail reader.
EXCEPTION
WHEN sys.utl_smtp.Transient_Error OR sys.utl_smtp.Permanent_Error then
raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
END;Silly. Why change meaningful exceptions into a generic meaningless exception?? That does not make any sense. -
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 :) -
How to create xml file from Oracle and sending the same xml file to an url
How to create xml file from Oracle and sending the same xml file to an url
SQL/XML (XMLElement, XMLForest, XMLAgg, etc) and UTL_HTTP.
Whether that works for you with the version of Oracle you have, your requirements, and needs is another story. A little detail goes a long way. -
Creating a trace file in oracle 9i
Hi,
I would like to genrate a trace file in oracle 9i for a single statement.
Can anyone let me know how to do it.[http://www.dbasupport.com/oracle/ora10g/session_tracing301.shtml]
[http://www.oracle-base.com/articles/8i/TKPROFAndOracleTrace.php]
[http://www.morganslibrary.org/reference/autotrace.html]
[http://www.morganslibrary.org/reference/trace_tkprof.html]
[http://www.morganslibrary.org/reference/explain_plan.html] -
How to read trace file content
Hi,
DB :11.2
How to read trace file content.It's only for ORACLE SUPPORT?
calling
call
entry
argument values in hex
location
type
point
(? means dubious value)
ksedst()+31
call
ksedst1()
000000000 ? 000000001 ?
7FFF19B98CA0 ? 7FFF19B98D00 ?
7FFF19B98C40 ? 000000000 ?
ksedmp()+610
call
ksedst()
000000000 ? 000000001 ?
7FFF19B98CA0 ? 7FFF19B98D00 ?
7FFF19B98C40 ? 000000000 ?
ksfdmp()+21
call
ksedmp()
000000003 ? 000000001 ?
7FFF19B98CA0 ? 7FFF19B98D00 ?
7FFF19B98C40 ? 000000000 ?
kgerinv()+161
call
ksfdmp()
000000003 ? 000000001 ?
7FFF19B98CA0 ? 7FFF19B98D00 ?
7FFF19B98C40 ? 000000000 ?
kgeasnmierr()+163
call
kgerinv()
0069107E0 ? 011F80370 ?
7FFF19B98D00 ? 7FFF19B98C40 ?
000000000 ? 000000000 ?
kssmov()+502
call
kgeasnmierr()
0069107E0 ? 011F80370 ?
7FFF19B98D00 ? 7FFF19B98C40 ?
000000029 ? 0D3F1C600 ?
kfncInitSlavePool() call
kssmov()
0D3F1C5D0 ? 000000000 ?
+203
7FFF19B98D00 ? 7FFF19B98C40 ?
000000029 ? 0D3F1C600 ?
kfncWorkMsgAlloc()+ call
kfncInitSlavePool() 0D3F1C5D0 ? 000000000 ?
83
7FFF19B98D00 ? 7FFF19B98C40 ?
000000029 ? 0D3F1C600 ?
kfncFileUnidentify( call
kfncWorkMsgAlloc() 0D3F1C5D0 ? 7FFF19B99AD0 ?
)+635
7FFF19B98D00 ? 7FFF19B98C40 ?
000000029 ? 0D3F1C600 ?
kffmRequestFree()+1 call
kfncFileUnidentify( 7FFF19B99BC8 ? 7FFF19B99BC0 ?
Br,
RajOne needs to know the meaning of the kernel functions and their working within the oracle database. I guess, oracle support can do the analysis more easily as they have access to the software code as well necessary tools to interpret these internal routines.
Aman.... -
Hi,
I have a package under which there are some procedures and functions.
I am supposed to generate the trace files for each run of the procedures in the package.
How to generate trace files? Pls help me out.
Thanks in advance
Regards,
VijayI dont have access to production server to see the
trace file. Is there a way to see the content of the
trace file from client machine?No. At least there isn't one without additional work from your administrator. I remember I've seen somewhere some kind of solution when user_dump_dest is used as oracle directory (specific oracle object) in your db and then use either external tables or utl_file or something like that to read the trace file. Of course this assumes your DBA should do some work before.
However I'd say that simply getting trace file from server is much easier :)
Consider, Autotrace option in sqlplus. With the help
of Autotrace set option, we can see the trace output
on the sqlplus screen for the anonymous blocks. Different tool, different behaviour.
Is there a way to see the trace for the stored
procedures?Explained above.
Gints Plivna
http://www.gplivna.eu -
System State dumped to trace file e:\oracle\admin\udump\rbidev_ora_2864.trc
What should i do to resolve this issue?
Database : 10.2.0.2.0
OS version : Microsoft Windows 2003 Enterprise Server Service Pack 2 ( 32-bit)Ankit,
These errors come from multiple reasons.Most of them areeither due to some bugs which are in Oracle code.Now I am sure you would agree that Oraclewont publish the details of the code so that dbas can do something about the errors.Moreover,just because Oracle wants dbas to work upon these errors and troubleshoot them,oracle has made lookup tools in Metalink specifically so that dbas can look there and work upon these errors.
You are sayig that Oracle has not published error information.There is so much about working of Oracle which we don't know and chances are very less that will ever come to know.
Just my 2 cents to make the point clear.
Aman.... -
How can i attach files in oracle applications
Hi,
How can i attach files in oracle applications ? Is there any thing like open dialogue box?
krishnaHi Naveen,
While I am searching for attaching files to oracle forms in forum, I found you. I have a question; probably you could help me out. I have a custom form which needs to have the facility to open the text files from C drive and load the data into Oracle tables.
The custom form will be attached to Oracle apps responsibility... We are currently using forms6i.
Could you help me out to open a dialog box which provides the users to open the text files from C drive when user clicks on a button
I have attached d2kcomm and d2kwutil to the form. It complies at the form level
but still it is not showing the dialog box.
I would appreciate if you can help me in this regard.
Thanks in Advance
Ravi.
Message was edited by:
ravipampana -
hi
how to import *.dmp file Through Oracle SQL Developer (3.2.20.09) ?
how to do it ?
thanksYou do not.
.dmp files are created from our Export and Data Pump database utilities and are proprietary files. You use the corresponding Import (or Data Pump) utility to import the data. -
How to Import .txt files in ORACLE having 300 thousand records
How to Import .txt files in ORACLE having 300 thousand records. Kindly help me in that context
You can make use of Sql*Loader utility and You can also use External table technique for this puspose.
For external table go through this link.
http://www.oracle-base.com/articles/9i/ExternalTables9i.php
Regards -
How to run batch file from oracle forms 9i
Hi everyone.
i have a data in csv file. i want to upload it to my database. i am using sql loader for it.
i have made a batch file which run the sql loader and transfer my data to database.
How to run batch file from oracle forms 9i.
when i press the button, nothing uploads in my database. (when i simply run the batch file it works).
here is my code
Begin
HOST('C:\temp\batchfile.bat');
message('done');
end;
Thanks in advance
regards
sajidthis is my log file, when i run manually.
SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jul 1 23:27:53 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: file_to_upload.ctl
There are 2 data files:
Data File: sk.csv
Bad File: sk.bad
Discard File: none specified
(Allow all discards)
Data File: sk1.csv
Bad File: sk1.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table KHAN, loaded from every logical record.
Insert option in effect for this table: APPEND
Column Name Position Len Term Encl Datatype
SR FIRST * , O(") CHARACTER
DATES NEXT * , O(") CHARACTER
AGENT NEXT * , O(") CHARACTER
COUNTRY NEXT * , O(") CHARACTER
TRANSACTIONS NEXT * , O(") CHARACTER
PKR NEXT * , O(") CHARACTER
USD NEXT * , O(") CHARACTER
BANK NEXT * , O(") CHARACTER
Table KHAN:
11088 Rows successfully loaded.
0 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 132096 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 11088
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Thu Jul 01 23:27:53 2010
Run ended on Thu Jul 01 23:27:54 2010
Elapsed time was: 00:00:00.63
CPU time was: 00:00:00.17 -
How to disable .EXE files to be run from Group Policy
I would like to know how to disable .exe files from GP?
Thanks in advanceAll exe files icluding calc.exe, notepad.exe and explorer.exe or just some exe files?
There are different approaches to this.
If you're trying to block a single executable that you're familiar with you can disable it from a GPO using the setting:
User Configuration/Administrative Templates/System/Don't run specified Windows applications
Another option is to specify only the applications you want to allow Using:
User Configuration/Administrative Templates/System/Run only specified Windows applications
This one would probably take a lot of work to populate for a system with many applications installed or for a corporate environment.
None of the two mentioned settings takes into account that a user can name their exe file what they want so renaming mydangerousapp.exe to explorer.exe would make it a perfectly legitimate executable.
A more robust and managable way of securing your systems by controlling which applications that can be launched is Software Restriction Policies.
Check this article for an introduction to Software Restriction Policies: http://technet.microsoft.com/en-us/magazine/2008.06.srp.aspx -
how can i import files to trial version LR5.6
I currently am up to about 65,000 images cataloged in LR. I backup on launch several times a week and have used the "relaunch and optimize" function periodically as well. I am a bit reluctant to do anything aggressive as, even though I have encountered this warning 6 or 7 times in the past 4-5 months or so I have never had to shut down. I have emptied the recycle bin (which, as I mentioned, usually has very little in it) and then I continue and notice no impairment of function. So at present it represents more of an annoyance and a bit of a mystery only. Maybe I will just report this to Adobe and sit tight unless someone can see an obvious explanation and correction here.
I appreciate all of the input and advice I have received already.
Maybe you are looking for
-
Executiong prepared statement with Like% in SQL Query?
Hi, We are developing GUI project.In which we need to retrieve the contract details based on the Name which we enter in eVision page.Here we will not enter the whole name,we will enter only the part of the name,for example if the actual name is Sun S
-
itunes wont restore correctly
-
Building Extensions for CC 2014
Hello, I have built custom panels for Photoshop CS6 and Photoshop CC. I know that Adobe has done away with Flash and have moved to HTML5. I have tried, but don't have the skills required to convert my previous panel to work in Photoshop CC 2014. I ha
-
Cant print with Adobe Reader 10.1.8 - why?
Dwnloaded Adobe 10.1.8. Now can only print to file. Use to see dialog box for Print-to-file that I could uncheck. Now box is not shown. Have turned off enhanced security and have verified documents do not restrict from printing. Am on Windoes 7 Enter
-
When was the Query executed last time - SQ01
Hi All, We have an ECC 6.0 System running on Oracle and os is SUN OS . When i go to TCODE SQ01 i see many queries. I need to know when were the Queries run on the system. Is there any way to figure this out. Any pointers would be helpful Thanks & Reg