Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Trace files  written to $ORACLE_HOME/rdbms/log direcory

Posted on 2006-07-20
7
Medium Priority
?
2,228 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
5 Comments
 
LVL 14

Accepted Solution

by:
sathyagiri earned 252 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 248 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
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.
Via a live example, show how to take different types of Oracle backups using RMAN.
Suggested Courses

773 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