Solved

Trace files  written to $ORACLE_HOME/rdbms/log direcory

Posted on 2006-07-20
7
1,869 Views
Last Modified: 2012-06-22
Even though  background_dump_dest, user_dump_dest       and core_dump_dest are defined in the parameter file,  some trace files still get written to default destination $ORACLE_HOME/rdbms/log . Permissions on the OS-Level are set up too. What makes oracle to write to all these destinations ?
0
Comment
Question by:evevea
  • 2
  • 2
7 Comments
 
LVL 14

Accepted Solution

by:
sathyagiri earned 63 total points
Comment Utility
Do tkprof <filename.trf> <filename.txt>  and check the contents to see what process is writing into rdbms\log
0
 
LVL 16

Expert Comment

by:MohanKNair
Comment Utility
Check the server for initilization parameters

SQL>
SQL> show parameter dump_dest
SQL>
0
 

Author Comment

by:evevea
Comment Utility
It shows the right folders
background_dump_dest             string      /u01/app/oracle/admin/PROD/bdump
core_dump_dest                       string      /u01/app/oracle/admin/PROD/cdump
user_dump_dest                       string      /u01/app/oracle/admin/PROD/udump

I also checked some dates and found out that originally after db was cloned and brought up successufully it did  write into proper folders but after the next shutdown started using the default one $ORACLE_HOME/rdbms/log
0
 
LVL 16

Assisted Solution

by:MohanKNair
MohanKNair earned 62 total points
Comment Utility
Check whether /u01/app/oracle/admin/PROD/udump directory exists and has the needed permissions. Also check whether there is enough space in the directory.

Also see this link
Oracle File Overwrite Security Vulnerability - http://www.ciac.org/ciac/bulletins/m-012.shtml

Check the value of the initialization parameters
SQL> show parameter trace

Using Initialization Parameters to Control Oracle Trace - http://www.pitt.edu/AFShome/h/o/hoffman/public/html/oradoc/server.804/a58246/otrace.htm#1503

0
 

Author Comment

by:evevea
Comment Utility
Thanks for the hints but I checked permissions again and both of the folders whether
/u01/app/oracle/admin/PROD/bdump or $ORACLE_HOME/rdbms/log have the same permissions, both owned by oracle user who have read, write, execute. Also there is enough space.  We are using Oracle 9.2.06. I cannot afford to turn trace on right now because it will create major slowdown in production environment.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
Via a live example, show how to take different types of Oracle backups using RMAN.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now