Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • online_ts_bkup.sql Oracle
  • SYSOPER Mystery Oracle
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • Good Doc 28-JUN-2006 Oracle
  • Generating XML from SQLPLUS Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • When to rebuld B-tree index Oracle
  • move_arch_files.ksh Linux/Unix
  • How to see which patches are applied. Oracle
  • telnet listening Linux/Unix
  • To find explain plan for a statement that occurred in past. Oracle
  • DBMS_JOB all example Oracle

How to Make Trace Files Created by Oracle Readable by All Users ?

Posted on 27-May-2009 By Admin No Comments on How to Make Trace Files Created by Oracle Readable by All Users ?

Problem Description:

~~~~~~~~~~~~~~~~~~~~

How do you make all trace files that Oracle creates readable to owner, group,

and world or public?

Any “*.trc” files created by Oracle have permissions of 640, with owner of

Oracle and group DBA.

For example: -rw-r—– oracle dba

Setting umask in the users login script (.cshrc or .profile) does not effect the

permissions on any trace files that are created by Oracle.

Solution Description:

~~~~~~~~~~~~~~~~~~~~~

Edit the “init.ora” file to include the “_trace_files_public”

parameter by doing the following steps:

1. Change your location to the “dbs” directory

% cd to $ORACLE_HOME/dbs

2. Edit the “init.ora” file

Add the line:

_trace_files_public = true

3. Save the file.

4. Bounce the database so the new parameters take effect.

or if using spfile

1. Modify spfile via following sql command

SQL> alter system set “_trace_files_public” = true scope=spfile;

2. Bounce the database so the new parameter takes effect.

Oracle, SQL scripts

Post navigation

Previous Post: How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema)
Next Post: find_string_in_database.sql

Related Posts

  • dbms_job.submit example Oracle
  • Trace a SQL session from another session using ORADEBUG Oracle
  • Database logon trigger issue Oracle
  • Important Script Method for tuning Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (399)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (347)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • Good Doc 28-JUN-2006 Oracle
  • block_ident.sql Oracle
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • setting prompt display with .profile Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme