Skip to main content
oraclePatching, Installations & Upgrade

Oracle Client Silent installation and Issues

By February 20, 2013October 7th, 2016No Comments9 min read

Oracle Client Silent installation and Issues

Silent installation avoids to monitor any installation because no graphical output is displayed and even no inuput is required from user either. This can be accomplished by providing the installer with response file by using the option of “-silent” flag in the command line. The response file is a text and contains several variables such as Hostname, Group names, Oracle Home location so on.. We can automate the installation and configuration of Oracle software either fully or partially by specifying response file whenever we start Oracle installer. OUI runs in interactive mode, Which it prompts you to provide information via Graphical User interface screens. If you prefer to use silent installation again they classified into two ways.

1) Silent mode using response file OUI won’t displays any screens, Of course it displays information from the CLI. To use silent mode we should use “-silent” parameter with the response file.
2) Interactive mode OUI displays screens fo which did not supply information in the resonse file. To use interactive method run installer without the “-silent” parameter but include the response file or any other parameters whichever applicable. You can find response file in sub directory of software dump under “client/response/client_install.rsp“. you can copy this file with new name and you can edit. Response file contains below fields and all are not mandatory fields. But ensure you have mentioned ORACLE_HOME, Base, Inventory Locations so on..

$ cat /opt/apps/Software/client/response/client_install.rsp
 oracle.install.responseFileVersion=/oracle/install/rspfmt_clientinstall_response_schema_v11_2_0
 ORACLE_HOSTNAME=oracle-ckpt
 UNIX_GROUP_NAME=oinstall
 INVENTORY_LOCATION=/u01/app/oracle/oraInventory
 SELECTED_LANGUAGES=en
 ORACLE_HOME=/u00/app/oracle/product/11.2.0/client
 ORACLE_BASE=/u00/app/oracle
 oracle.install.client.installType=Administrator
 oracle.install.client.customComponents="oracle.sqlj:11.2.0.3.0","oracle.rdbms.util:11.2.0.3.0","oracle.javavm.client:11.2.0.3.0","oracle.sqlplus:11.2.0.3.0","oracle.dbjava.jdbc:11.2.0.3.0","oracle.ldap.                               client:11.2.0.3.0","oracle.rdbms.oci:11.2.0.3.0","oracle.precomp:11.2.0.3.0","oracle.xdk:11.2.0.3.0",                               "oracle.network.aso:11.2.0.3.0","oracle.assistants.oemlt:11.2.0.3.0","oracle.oraolap.mgmt:11.2.0.3.0"                               ,"oracle.network.client:11.2.0.3.0","oracle.network.cman:11.2.0.3.0","oracle.network.listener:11.2.0.                               3.0","oracle.ordim.client:11.2.0.3.0","oracle.odbc:11.2.0.3.0","oracle.has.client:11.2.0.3.0","oracle                               .dbdev:11.2.0.3.0","oracle.rdbms.scheduler:11.2.0.3.0"
$
Some more optional fields are bleow. 
 oracle.install.client.schedulerAgentHostName=
 oracle.install.client.schedulerAgentPortNumber=
 oracle.installer.autoupdates.option=
 oracle.installer.autoupdates.downloadUpdatesLoc=
 AUTOUPDATES_MYORACLESUPPORT_USERNAME=
 AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
 PROXY_HOST=
 PROXY_PORT=
 PROXY_USER=
 PROXY_PWD=
 PROXY_REALM=

Silent Installation using Response File

bash-3.2$ ./runInstaller -silent -responseFile /opt/apps/Software/client/response/client_install.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB.   Actual 804 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 8146 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-19_12-10-33AM. Please wait ...
You can find the log of this install session at:
 /u00/app/oraInventory/logs/installActions2013-02-19_12-10-33AM.log
The installation of Oracle Client was successful.
Please check '/u00/app/oraInventory/logs/silentInstall2013-02-19_12-10-33AM.log' for more details.
Successfully Setup Software.
bash-3.2$

Silent Installation without Response File

As discussed either we can go with or without response file, If you prefer without response file, You can add required fields along with the runInstaller as below.

./runInstaller -silent  -force FROM_LOCATION=/u00/app/oracle/client/stage/products.xml UNIX_GROUP_NAME=dba ORACLE_HOME=/u00/app/oracle/product/11.2.0.3/client ORACLE_HOME_NAME="OHOME2" ORACLE_BASE=/u00/app/oracle oracle.install.client.installType="Administrator"

During silent installation you can monitor the log files, Log file location you can get from the installation information.

INFO: Moved to state <finish>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating state <finish>
WARNING: Validation disabled for the state finish
INFO: Completed validating state <finish>
INFO: Terminating all background operations
INFO: Terminated all background operations
INFO: Successfully executed the flow in SILENT mode
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is 0
INFO: Shutdown Oracle Client Installer
INFO: Unloading Setup Driver

Troubleshooting and Fixes

We will see some issues, troubleshooting and how to resolve them. Installed client software in multiple systems and gathered issues from all the systems and listed below.

WARNING: [WARNING] [INS-08109] Unexpected error occurred while validating inputs at state ‘inventoryPage’.

bash-3.2$ ./runInstaller -silent  -force FROM_LOCATION=/opt/apps/Software/client/stage/products.xml UNIX_GROUP_NAME=dba ORACLE_HOME= /u00/app/oracle/product/11.2.0.3/client ORACLE_HOME_NAME="OHOME2" ORACLE_BASE=/u00/app/oracle oracle.install.client.installType="Administrator"
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB.   Actual 645 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 8145 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-18_09-28-21PM. Please wait...
WARNING: [WARNING] [INS-08109] Unexpected error occurred while validating inputs at state 'inventoryPage'.
CAUSE: No additional information available.
ACTION: Contact Oracle Support Services or refer to the software manual.

Fix:-

You should have “oraInst.loc” file under /etc and also ensure you mentioned the location of inventory and the installation group.

inventory_loc=/u01/app/oracle/oraInventory
inst_group=oinstall

[INS-32025] The chosen installation conflicts with software already installed in the given Oracle home.

bash-3.2$ ./runInstaller -silent -responseFile /opt/apps/Software/client/response/client_install.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB.   Actual 142 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 8146 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-18_11-44-39PM. Please wait ...bash-3.2$ [FATAL] [INS-32025] The chosen installation conflicts with software already installed in the given Oracle home.
   CAUSE: The chosen installation conflicted with software already installed in the given Oracle home.
   ACTION: Install into a different Oracle home.
[WARNING] [INS-32008] Oracle base location cant be same as the user home directory.
   CAUSE: The specified Oracle base is same as the user home directory.
   ACTION: Provide an Oracle base location other than the user home directory.
bash-3.2$

Fix:

If you are trying to install the oracle client software in the same location, where it was already installed previously. It can be because the de-installation was not successful or not cleaned properly. In such case you have to use “-force” option to avoid.

bash-3.2$ ./runInstaller -silent -force -responseFile /opt/apps/Software/client/client_install.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB.   Actual 389 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 8145 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-18_10-16-50PM. Please wait ...bash-3.2$
You can find the log of this install session at:
 /u00/app/oraInventory/logs/installActions2013-02-18_10-16-50PM.log
bash-3.2$ The installation of Oracle Client was successful.
Please check '/u00/app/oraInventory/logs/silentInstall2013-02-18_10-16-50PM.log' for more details.
Successfully Setup Software.
bash-3.2$

After using “-force” option, Now it was successful.

[WARNING] [INS-13014] Target environment do not meet some optional requirements.

bash-3.2$ ./runInstaller -silent  -force FROM_LOCATION=/opt/apps/Software/client/stage/products.xml UNIX_GROUP_NAME=dba ORACLE_HOME=/u00/app/oracle/product/11.2.0.3/client ORACLE_HOME_NAME="OHOME2" ORACLE_BASE=/u00/app/oracle oracle.install.client.installType="Administrator"
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB.   Actual 385 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 8145 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-18_10-09-37PM. Please wait ...bash-3.2$ [WARNING] [INS-13014] Target environment do not meet some optional requirements.
   CAUSE: Some of the optional prerequisites are not met. See logs for details. /u00/app/oraInventory/logs/installActions2013-02-18_10-09-37PM.log
   ACTION: Identify the list of failed prerequisite checks from the log: /u00/app/oraInventory/logs/installActions2013-02-18_10-09-37PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
SEVERE: The inventory /u00/app/oraInventory cannot be read since it is being written to by another session. Please close all the other(write) sessions for accessing inventory.
INFO: Ending the inventory Session

Fix:

The above installation failed because of the inventory location not available because it is already begin accessed by other process (or) you have started other any installations during the same time.

OUI-10207:There is not enough disk space on the OUI swap area /tmp/OraInstall2013-02-18_11-52-40PM.

 bash-3.2$ ./runInstaller -silent -force -responseFile /opt/apps/Software/client/response/client_install.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB.   Actual 142 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 8146 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-18_11-52-40PM. Please wait ...b
SEVERE:OUI-10207:There is not enough disk space on the OUI swap area /tmp/OraInstall2013-02-18_11-52-40PM. Please make at least 10MB of space available and retry.
[FATAL] [INS-10008] Session initialization failed
   CAUSE: An unexpected error occured while initializing the session.
   ACTION: Contact Oracle Support Services or refer logs
   SUMMARY:

Fix:

Here installation was failed because of insufficient disk space on “/tmp” location, check for any old logs which already installed and clean up them, Then you must able to install further.

Will add more if any generic issues found. 🙂

 — Happy Reading —

 

Leave a Reply