Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 914863

Summary: No scripts to police (unnecessary?) Oracle trace and log files
Product: Red Hat Satellite 5 Reporter: matthew patton <pattonme>
Component: ServerAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 540CC: charles.dennett, jpazdziora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-29 20:10:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 462714    

Description matthew patton 2013-02-23 02:48:27 UTC
Description of problem:

Over time thousands of files are created by Oracle components in various places:
/rhnsat/admin/rhnsat/{a,b,c,l,u}dump
/opt/apps/oracle/web/product/10.2.0/db_1/log/`hostname -s`/client

Version-Release number of selected component (if applicable):


How reproducible:

always

Steps to Reproduce:

Normal during the course of Oracle operation
  
Actual results:


Expected results:

During install '/opt/apps/oracle/web/product/10.2.0/db_1/log' needs to be symlinked to '/var/log/rhn/oracle'.
Turn off Tracing and unnecessary logging would help.


When installing Satellite some cron jobs should be created like these.

15 0 * * 0      find /rhnsat/admin/rhnsat/{a,b,c,l,u}dump -type f -mtime +10 | xargs rm
15 0 * * 0      find /opt/apps/oracle/web/product/10.2.0/db_1/log/`hostname -s`/client -type f -name clsc\*.log -mtime +10 | xargs rm


Additional info: