Search: For:
Browsing Single Category

runInstaller -silent -responseFile FAILS ORACLE_HOME "could not be obtained"

Topic ID: 1189
Created By: 2006-OCT-09 12:35:52 [Vitaliy]
Updated By: 2007-JAN-11 22:55:26 [Vitaliy]
Status: Open
Severity: Normal
Read Only: No
4440
2006-OCT-09 12:35:52
Moderator
 
 
Registered On: Mar 2006
Total Posts: 195
runInstaller -silent -responseFile FAILS ORACLE_HOME "could not be obtained"

ISSUE:

   applying 9.2.0.7 patchset (4163445) using responseFile that was created by 
   modifying supplied template provided with the patchset:

dbhost.HUGP-> ORACLE_HOME=/u01/app/oracle/hugpdb/9.2.0; export ORACLE_HOME
cd /copy/115102_upgrade/oracle/Disk1/
./runInstaller -silent -responseFile /copy/115102_upgrade/oracle/Disk1/response/ala_patchset.rsp
dbhost.HUGP-> cd /copy/115102_upgrade/oracle/Disk1/
dbhost.HUGP-> ./runInstaller -silent -responseFile /copy/115102_upgrade/oracle/Disk1/response/ala_patchset.rsp
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be 5.6, 5.7, 5.8 or 5.9.    Actual 5.9
                                      Passed

Checking Temp space: must be greater than 250 MB.   Actual 10407 MB    Passed
Checking swap space: must be greater than 500 MB.   Actual 10454MB    Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2006-02-07_02-53-08PM. Please wait ...
dbhost.HUGP-> Oracle Universal Installer, Version 10.1.0.4.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.

Error:Values for the following variables could not be obtained from the command line or response file(s):
  ORACLE_HOME(OracleHome),
  ORACLE_HOME_NAME(OracleHomeName)
Silent install cannot continue.

dbhost.HUGP->


RESEARCH:

   the following values were specified in the response file:
   
   UNIX_GROUP_NAME="dba"
   FROM_LOCATION="/copy/115102_upgrade/oracle/Disk1/stage/products.xml"
   ORACLE_HOME="/u01/app/oracle/hugpdb/9.2.0"
   ORACLE_HOME_NAME="APPS9I_HUGP"
   
   all of these values are correct but the isntaller still fails ...
   
   I even verified correct ORACLE_HOME_NAME ... here's how to find the name:
   
   cd /var/opt/oracle/oraInventory/ContentsXML
   dbhost.HUGP-> grep "HOME NAME" *
   inventory.xml:<HOME NAME="APPS9I_HUGP" LOC="/u01/app/oracle/hugpdb/9.2.0" TYPE="O" IDX="2"/>
   inventory.xml:<HOME NAME="APPSIAS_HUGP" LOC="/u02/app/applmgr/product/iAS_115102" TYPE="O" IDX="1"/>
   dbhost.HUGP->



SOLUTION:

   ## Use "runInstaller -record" to create custom response file
   ##
   ORACLE_HOME=/u01/app/oracle/hugpdb/9.2.0; export ORACLE_HOME
   cd /copy/115102_upgrade/oracle/Disk1/
   DISPLAY=dispbox:0.0;
   ./runInstaller -record -destinationFile /copy/115102_upgrade/oracle/Disk1/response/ala_patchset.rsp
   
   ---------------------------
   welcome <next>
   
   file locations:
   source path: /copy/115102_upgrade/oracle/Disk1/stage/products.xml
   dest name: APPS9I_HUGP
        path: /u01/app/oracle/hugpdb/9.2.0
   <next>
   
   Summary
   <Cancel>
   
   ## restart installer
   ORACLE_HOME=/u01/app/oracle/hugpdb/9.2.0; export ORACLE_HOME
   cd /copy/115102_upgrade/oracle/Disk1/
   ./runInstaller -silent -responseFile /copy/115102_upgrade/oracle/Disk1/response/ala_patchset.rsp


CONCLUSION:

   Apparently the templates supplied by ORACLE are no longer usable one
   must create their own using GUI version of the installer -- great
   what came first the chicken or the egg?
[edited by: Vitaliy at 22:55 (CST) on Jan. 11, 2007]