Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • create database syntax Oracle
  • proc.sql Oracle
  • Default User Profile Oracle
  • Remove duplicate rows from table Oracle
  • Oracle Material from OTN Oracle
  • tab.sql Oracle
  • PLSQL Table Syntax 2 Oracle
  • Pending Transaction Neighbors Script Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • CPU Core related projections AWS
  • xargs use Linux/Unix
  • DBMS_SQL for alter session. Oracle
  • How to calculate PROCESSES parameter Oracle
  • pvm_metric.sql for gathering report from vmstat tables 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

  • Renaming the column name Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Oracle Material from OTN Oracle
  • Facts about SCN and Rollback Segment Oracle
  • Histogram Overview Oracle
  • Giving Grant on v$DATABASE 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
  • scripts to take listener.log backup Linux/Unix
  • Deleting first line and lastline of a file using sed Linux/Unix
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • To Find Orphan OS processes. Linux/Unix
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • How to find where datafile is created dbf_info.sql Oracle
  • All Hints for Oracle Databases Oracle
  • PLSQL Table Syntax 1 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme