Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Changing unix system clock when Oracle database is running. Oracle
  • Oracle Identifiers Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • Pending Transaction Neighbors Script Oracle
  • Absolute file number and relative file number Oracle
  • Important Script Method for tuning Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Jai Shree Ram Linux/Unix
  • Renaming Global Name GLOBAL_NAME Oracle
  • Good RAC & Standby Notes Oracle
  • Kill a session dynanically using execute immediate Oracle
  • copying/removing directory with all its subdirectory Linux/Unix
  • Remove DOS CR/LFs (^M) Linux/Unix
  • SQL_PROFILE – I 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

  • The most important Tuning Notes Oracle
  • Temporary tablespace explaination Oracle
  • Restoring a user’s original password 1051962.101 Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • sbind.sql Find Bind variable from sql_id sqlid 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
  • To see mem usage and CPU usage system wide. Linux/Unix
  • logminer and my_lbu Oracle
  • DBMS_UTILITY PACKAGE Oracle
  • create database link syntax Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • Oracle Statspack survival Guide Oracle
  • Find Plan Hash value fphv.sql Oracle
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme