Jared, Tim and Anjo,
Thanks for your help.
In fact, I stopped the tracing first, then cp the trace file to other
directory and rm it.
Also I can't trace other sessions now.
Tom
-----Original Message-----
Sent: Tuesday, October 08, 2002 12:41 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Importance: High
Tom,
The problem is that you moved the file.
Oracle will use the same file name, when you
stop/restart tracing, and in fact leaves the file
handle open until the session disconnects.
Moving the file disables the output.
Jared
"Xie, Tom" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
10/08/2002 11:03 AM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:
Subject: How to re-trace a session
Hello,
I successfully traced a long running session by using dbms_system.set_ev
procedure, and moved the trace file to somewhere else. However, when
I used the same command to re-trace the same session, I can't see the
trace file again. There was no error message. I tried to use oradebug
and dbms_system.set_sql_trace_in_session to trace the same session. No
matter what method I used, I still can't see the trace file. Then, I
tried to trace other sessions using all available methods, but all
failed. Even though there was no error message, I can't see trace files.
Can someone tell me what is wrong and how can I re-enable the
sql trace?
Tom
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Xie, Tom
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Xie, Tom
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).