Solved

turning off SQLNET trace at the server and client side

Posted on 2006-11-06
5
1,737 Views
Last Modified: 2008-02-01
Can someone provide me with instructions on how to turn of SQLNET tracing on the server and on the client.

0
Comment
Question by:cat200757
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 7

Accepted Solution

by:
Daniel Stanley earned 168 total points
ID: 17882520
if client session is tracing: do this from individual session:

SQL> alter session set sql_trace=false;



or as sys user to stop session from tracing:

sql> exec sys.dbms_support.stop_trace_in_session(SID, serial#);



for server

if instance was started using spfile then:
sql> alter system set sql_trace=false scope=spfile;
sql> shutdown immediate
sql> startup open

if instance was started using pfile then:
alter sql_trace parameter in init.ora file to 'sql_trace=false'
sql> shutdown immediate
sql> startup open

good luck,
daniels
0
 
LVL 16

Assisted Solution

by:Peter Kwan
Peter Kwan earned 166 total points
ID: 17882530
client side:

set in the sqlnet.ora:
trace_level_client = OFF
or
just remove the line

server side:
remove the line in sqlnet.ora:
trace_level_server=xxxx
0
 
LVL 35

Assisted Solution

by:Mark Geerlings
Mark Geerlings earned 166 total points
ID: 17883954
If it really is SQL*Net tracing, then pkwan is correct.  This is controlled by the sqlnet.ora files on the client and server.  So, you need to either remove the "trace level..." line, or set the value to: OFF in the sqlnet.ora files, then stop and restart the listener and the client connections.

Or if it is really SQL tracing, then drs66's suggestions should do the job for you.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20296232
Forced accept.

Computer101
EE Admin
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question