Solved

Trace files  written to $ORACLE_HOME/rdbms/log direcory

Posted on 2006-07-20
7
1,909 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
ID: 17150255
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
ID: 17151765
Check the server for initilization parameters

SQL>
SQL> show parameter dump_dest
SQL>
0
 

Author Comment

by:evevea
ID: 17172473
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
ID: 17173116
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
ID: 17176510
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
levels for reporting 5 65
Oracle - SQL Script to test for bill dates 3 or more times in SAME WEEK? 11 45
What is the version of ojdbc6.jar 2 41
sql query 9 38
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

863 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

22 Experts available now in Live!

Get 1:1 Help Now