Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • alter database backup controlfile to trace Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • plan10g.sql good1 Oracle
  • on IBM-AIX for display Linux/Unix
  • xargs use Linux/Unix
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • 339939.1 Running Cluster Verification Utility to Diagnose Install Problems Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • First Entry in RAC Oracle
  • good note for shared pool tunnig Oracle
  • good linux notes Linux/Unix
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • Zip and unzip with tar Linux/Unix
  • Order by with ROWNUM 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

  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • plan10g.sql good1 Oracle
  • My Minimum Tuning Programs Oracle
  • Building Our Own Namespaces with “Create Context” 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 (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • CPU speed on solaris Linux/Unix
  • replace alphabets using sed Linux/Unix
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • create database link syntax Oracle
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • Export With Query Another Example. Oracle
  • copying/removing directory with all its subdirectory Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme