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

Bug 914890

Summary: oracle init script is pitiful and deviates from excepted paths
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: unspecified Docs Contact:
Priority: unspecified    
Version: 540CC: 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:09:34 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    
Attachments:
Description Flags
Heavily modified initscript none

Description matthew patton 2013-02-23 08:46:06 UTC
Created attachment 701526 [details]
Heavily modified initscript

Description of problem:

I was puzzled by why I had two listener.log files. Turns out Redhat's rewrite of the Oracle initscript shunts output to a non-standard location which differs from where TNSlistener opens it's file. There are further logic errors, improper hard-coding of ORACLE_HOME to launch 'lsnrctl' and misc other silliness.

I've attached the script as a whole-sale replacement of the shipping one. There are a couple of future enhancement opportunities marked with 'TODO'.


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


How reproducible:


Steps to Reproduce:

  
Actual results:

Spawns two listener.log files

Expected results:

Writes logs to where Oracle by default puts them. Some sym-link magic directs them back to /var/log/rhn/oracle where they actually belong.

Additional info: