Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • Good Site for Oracle Internals Oracle
  • Temporary tablespace explaination Oracle
  • sess_server.sql Oracle
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • Small sample shell program Linux/Unix
  • Good links for x$ tables in oracle. Oracle
  • switchlogfile.sh Linux/Unix
  • find checksum of a file. Linux/Unix
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • Good notes on Oracle Events Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • Kill a session dynanically using execute immediate 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

  • Roles and Stored Object behaviour Oracle
  • Jai Shree Ram Oracle
  • create trigger syntax Oracle
  • database trigger failing Oracle
  • Rename Oracle Instance Name Oracle
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Rman Notes -1 Oracle
  • Oracle Release Explaination Oracle
  • Proc code Oracle
  • Single character replacement in Unix Linux/Unix
  • Session_info.ksh Linux/Unix
  • Search and replace editor command in vi Linux/Unix
  • find_cons.sql Oracle
  • Oracle Data Direct to TAPE Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme