Oracle Universal Installer Concepts Guide Release 2.2 Part Number A96697-01 |
|
This chapter describes possible troubleshooting issues.
During the install, the Oracle Universal Installer writes a text file that contains information on:
The installActions.log
is located in the <oraInventory>\logs
directory. It is backed-up as installActions<date>.log.
The Installation Log is used for debugging purposes only. All actions, queries, everything that happens during the install, and all modifications to the target machine are logged in the file.
A sample file is shown below:
installActions1999-06-16_09-52-16-AM.log Environment variables: ORACLE_HOME = PATH = E:\OEM\bin;E:\ORACLE815\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\ORATST\BIN CLASSPATH = C:\Program Files\Exceed.nt\hcljrcsv.zip; Username is: pjlee The installer version is 1.7.0.0.0 *** Welcome Page*** Setting value of FROM_LOCATION to E:\bootstrap\cd\Disk1\stage\products.jar Setting value of INVENTORY_LOCATION to C:\Program Files\Oracle\Inventory Setting value of UNIX_GROUP_NAME to Setting value of FROM_LOCATION to E:\bootstrap\cd\Disk1\stage\products.jar Setting value of ORACLE_HOME to E:\Universal Setting value of ORACLE_HOME_NAME to Universal *** File Locations Page*** FromLocation = FROM_LOCATION = E:\bootstrap\cd\Disk1\stage\products.jar ToLocation = ORACLE_HOME = E:\Universal ToName = ORACLE_HOME_NAME = Universal Initializing installer access setup Setting value of ORACLE_HOME to E:\Universal Setting value of ORACLE_HOME_KEY to Software\ORACLE\HOME3 Setting value of ORACLE_HOME_FOLDER to Oracle - Universal Setting value of ORACLE_HOME_SERVICE to Universal Setting value of ToplevelComp to oracle.swd, 1.7.0.0.0, >0.0, [ 912 453 615 50 601 173 467 295 87 610 198 918 913 162 2 30 21 10021 111 90 168 888 ][OH:0] Setting value of SELECTED_LANGUAGES to [en] Doing operation for installer access setup Initializing inventory setup WCCE Doing operation in inventory setup WCCE *** Available Products Page*** TopLevelComp = ToplevelComp = oracle.swd, 1.7.0.0.0, >0.0, [ 912 453 615 50 601 173 467 295 87 610 198 918 913 162 2 30 21 10021 111 90 168 888 ][OH:0] LangsSel = SELECTED_LANGUAGES = [en] Setting value of ToplevelComp to oracle.swd, 1.7.0.0.0, >0.0, [ 912 453 615 50 601 173 467 295 87 610 198 918 913 162 2 30 21 10021 111 90 168 888 ][OH:0] Setting value of DepMode to Complete Setting value of TLDepModes to Complete, *** Installation Types Page*** DepMode = DepMode = Complete TLDepModes = TLDepModes = Complete, Setting value of DepMode to Complete Setting value of PROD_HOME to E:\Universal\oracle.swd Setting value of PROD_HOME to E:\Universal\oracle.swd Setting value of PRE_REQUISITE to true Setting value of PROD_HOME to E:\Universal\oracle.swd Setting value of SHOW_COMPONENT_LOCATIONS_PAGE to true *** Component Locations Page*** ShowCompLocs = SHOW_COMPONENT_LOCATIONS_PAGE = true Entering component: oracle.swd installation *** Summary Page*** ShowSummary = SHOW_SUMMARY_PAGE = null Global Settings Source : E:\bootstrap\cd\Disk1\stage\products.jar Destination : E:\Universal
Text files are also written in the temp
directory:
<temp>\OraInstall\oraInstall.err <temp>\OraInstall\oraInstall.out
If a problem occurs during the installation, you should look for Java exceptions in these files.
Refer to the Release Notes for information on any Oracle Universal Installer limitations for a particular version.
The most common Oracle Universal Installer errors are listed below:
Make sure you have enough space in the default TEMP
or TMP
directory otherwise the installation will not succeed. The amount of space required depends on the product being installed.
Verify the staging file. There may be runtime errors that the install developer missed which causes the unexpected environment changes.
This is a blanket error catch which catches any runtime errors like NullPointers from libraries. Check if the temp\OraInstall\orainsrall.err has any stack trace. If there is none, the user will have to call support to debug his staging area.
Consider the following restrictions and guidelines when deinstalling or upgrading Oracle Universal Installer:
The following sections describe the contents of the ORAPARAM.INI file, which is used to set initialization parameters for Oracle Software Installer. In general, you should not have to edit the contents of this file, but in certain situations, understanding the contents of this file can help you troubleshoot installation problems.
The following sections include:
This section describes the various parameters that can be set in the ORAPARAM.INI file.
Set DISTRIBUTION to TRUE if the ORAPARAM.INI file is on a distribution media. A distribution media can be a CD-ROM or the Web.
Location of your staging area (the products.jar
file). This location is relative to the directory where oraparam.ini
exists.
Location of a text file for License information. This location is relative to the directory where oraparam.ini exists. The legal terms file should be a plain text file.
If you specify the LICENSE_LOCATION variable, the Oracle Universal Installer will ask for license acceptance after you click the Next button on the "Welcome" screen. The Oracle Universal Installer will let the user proceed only after license is accepted.
This parameter is ignored if the file is not found.
The value of this variable displays as the title of the license agreement. The Oracle Universal Installer only reads this value if the license dialog is displayed. That is, if the LICENSE_LOCATION variable has a valid value.
Location to the Java Runtime Environment (JRE) which will be used by the Oracle Universal Installer.
Location of the Oracle Universal Installer files.
Set these to increase the initial heap size for JRE.
Location of the default home.
The default name for the Oracle Home. This parameter is used only if the install takes place on a machine with no previous Oracle installations.
List directories which you do not want to browse. These are typically large directories which will take a long time to list. For example, /net
, /nfs
.
Set NLS_ENABLED to TRUE for the Oracle Universal Installer to enable NLS support. Set NLS_ENABLED to FALSE to disable the installation session translations. The Oracle Universal Installer displays in English even if you run on a non-English system.
In the case of installing products that span multiple CDs, a "bootstrap" occurs in which temporary copies of OUI and JRE are placed in the TEMP or TMP directory so that these applications can be launched when you change CD-ROMs.
As a user or developer of an install, you need to set BOOTSTRAP to True or False. BOOTSTRAP tells the Oracle Universal Installer to attempt a bootstrap. Set BOOTSTRAP to True before cutting CDs, but set it to False once you have copied the staging area to the hard disk.
If you are running a multiple CD install, you must set the bootstrap variable BOOTSTRAP=TRUE.
Otherwise, the first CD cannot be ejected on Solaris because the file system is busy. The Oracle Universal Installer is holding open several files on the CD including the JRE executable, and on Solaris, ejectable volumes cannot be ejected if a process has opened files on the volume.
Setting the BOOTSTRAP variable to TRUE informs the Oracle Universal Installer to copy the Oracle Universal Installer classes and the JRE executables to a temporary directory where you can launch them; thereby freeing the CD device.
You may also need to launch runInstaller in the background by using the ampersand character:
./runInstaller &
By launching runInstaller
in the background, you can change your current directory after you launch the Oracle Universal Installer so that you can eject the CD.
You may want to create a shell script that launches the Oracle Universal Installer in the background and then exits. If you choose to create a shell script, remember to also pass all parameters that passed to the shell script along to runInstaller in case you want to pass a response file name to run a silent installation.
Use this parameter to set the size the temporary space required when you the BOOTSTRAP parameter is set to TRUE.
For example, when you install Oracle Universal Installer, Universal Installer sets the value of this parameter to to the temporary space required by both Universal Installer and the Java Runtime Environment (JRE).
By default, if the BOOTSTRAP_SIZE entry is not set, Universal Installer will assume 30MB for Windows computers and 54MB for UNIX computers. However, this value could vary from one major release to the other, based on the space required by newer versions of JRE.
If the shiphome contains advertisement images, the installation developers are expected to add the space taken by the images to this value.
OUI will check the temp space requirements before starting up and give an error if there is not enough space for OUI to run in bootstrap mode.
Set the version of the Oracle Universal Installer you are using.
Note: You must set the Universal Installer version correctly in order for the BOOTSTRAP parameter to work. |
Use this parameter to control whether or not Universal Installer considers the build number of the component when determining whether or not to overwrite a previous version or the same version of a component.
Use this parameter when you want your users to specify the location of an Oracle Applications top (APPL_TOP) directory. When this parameter is set to true, the File Locations page will include fields for selecting an APPL_TOP directory.
To show advertisements during an install, you must specify each image as a separate variable.
A sample ORAPARAM.INI file is shown below.
[Oracle] DISTRIBUTION=TRUE #Set DISTRIBUTION to TRUE if the ORAPARAM.INI file is on a distribution media. A distribution media can be a CD-ROM or the Web. SOURCE=../stage/products.jar #Location of the products.jar file. This location is relative to the directory where oraparam.ini exists. LICENSE_LOCATION= #Location of a text file for License information. This location is relative to the directory where oraparam.ini exists. #After you click the Next button on the Welcome page, the Oracle Universal Installer will ask for license acceptance. If this file exists, the Oracle Universal Installer will let the user proceed only after license is accepted. JRE_LOCATION=../stage/Components/oracle/swd/jre/1.1.6.2.1o/2/DataFiles/Expanded /ojre #Relative location to the Java Runtime Environment (JRE) which will be used by the Oracle Universal Installer OUI_LOCATION=../stage/Components/oracle/swd/oui/1.5.1.4.2/1/DataFiles/Expanded #Relative location to the Oracle Universal Installer files DEFAULT_HOME_NAME="OUIHome" #The default name for the Oracle Home. This parameter is used only if the install takes place on a machine with no previous Oracle installations. This parameter is used only on Windows platforms. HLP_LOCATION= #For future use only EWT_LOCATION= #For future use only NLS_ENABLED=TRUE #Set NLS_ENABLED to FALSE to disable the translations. The Oracle Universal Installer displays in English even if you run on a non-English system. JRE_MEMORY_OPTIONS=-ms16m -mx32m #Set these to increase the initial heap size for JRE. NO_BROWSE= #list directories which you do not want to browse. These are typically large directories which will take a long time to list. # =/net, /nfs OUI_VERSION = <1.7.0.1.0> Set the version of the Oracle Universal Installer you are using. Note: you must set the version correctly in order for the bootstrap to work. USE_BUILD_NUMBER=True When this parameter is set to true, Oracle Universal Installer will consider the build number of the component when determining whether or not to overwrite a previous version or the same version of a component. APPLTOP_STAGE=True Use this parameter when you want your users to specify the location of an Oracle Applications top (APPL_TOP) directory. When this parameter is set to true, the File Locations page will include fields for selecting an APPL_TOP directory. [IMAGES] FILE1=images/installAd0.gif FILE2=images/installAd1.gif
Make sure the correct version of the JRE is used from the PATH.
If Java cannot run applications from a Sun machine on an NCD X terminal (the Oracle Universal Installer does not start), remove the following file:
$JAVA_HOME/lib/font.properties
X terminal emulators which were tested with the Oracle Universal Installer are listed below:
Refection X 6.2+: Select Settings/Window Manager/ Default Local Window Manager/ Reflection Window Manager. You may also have to select "X terminal desktop."
Reflection X 6.0: Select Connection/New XDMCP Connection/Connection Settings/Direct method/ type host destination and press connect.
If you are deleting an Oracle Home manually without using the Oracle Universal Installer, the products remain registered with the Oracle Universal Installer. You must then simulate a de-install so that all Oracle Universal Installer references are removed.
If the install is canceled:
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|