Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Changing Instance Name ( No DB_NAME) Oracle
  • find_idle_cpu.sql Oracle
  • How to know current SID Oracle
  • secure crt settings Linux/Unix
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • DBMS_JOB all example Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • switchlogfile.sh Linux/Unix
  • Find sort details from Db find_sort.sql Oracle
  • move_arch_files.ksh Linux/Unix
  • Temporary tablespace explaination 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

  • Rename Oracle Instance Name Oracle
  • DBMS_STATS Metalinks Notes Oracle
  • Find_table_size.sql Oracle
  • refre.sql Oracle
  • get_aix_vmstat.ksh Oracle
  • plan10g.sql 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 (402)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sql23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • ext#.sql Oracle
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • Generate SSH without password authentication. Linux/Unix
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • TNSNAMES entries details Oracle
  • Add new columns in dataframe Python/PySpark
  • Set Role explaination. Oracle
  • Good Doc 28-JUN-2006 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme