Bug 715265

Summary: Oracle DB installation unnecessarily starts the listener before it's correctly set up
Product: Red Hat Satellite 5 Reporter: Milan Zázrivec <mzazrivec>
Component: ServerAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 540CC: cperry, mmraka
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: 2014-07-04 13:26:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 462714    

Description Milan Zázrivec 2011-06-22 11:43:06 UTC
Description of problem:
Installation of Oracle database (not installation of the oracle-server
package itself, but installation of catalog, db setup, etc...)
unnecessarily starts the listener before the listener is properly setup.

Starting the listener without a proper listener.ora leads to the listener
to be connecting to 0.0.0.0 (its internal default behavior), which will
fail in an IPv6 only setup.

Version-Release number of selected component (if applicable):
oracle-server-scripts-10.2.0.51-6

How reproducible:
Always

Steps to Reproduce:
1. IPv6 only environment, Satellite 5.4.1 installation
2. Check /var/log/rhn/install_db.log 
  
Actual results:
Error:

Starting /opt/apps/oracle/web/product/10.2.0/db_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Log messages written to /opt/apps/oracle/web/product/10.2.0/db_1/network/log/listener.log
Error listening on: (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12545: Connect failed because target host or object does not exist
 TNS-12560: TNS:protocol adapter error
  TNS-00515: Connect failed because target host or object does not exist


Listener failed to start. See the error message(s) above...

Expected results:
No error like the above.

Additional info:
This error is not fatal to the installation, but should probably be resolved
for a smooth Satellite IPv6 installation.