Oracle silent installation is straightforward though it always change a little with every major release. Here I show you tricks and tips during Oracle 11gR2 silent installation.
Steps /no tricks here/
1#Create the oraInst.loc file.
2#Prepare a response file.
3#Run Oracle Universal Installer in silent or response file mode.
4#If you completed a software-only installation, then run Net Configuration Assistant and Database Configuration Assistant in silent or response file mode if required.
Command /2 tricks/
directory_path/runInstaller -silent [-noconfig] -responseFile absolute_path/response_file
It is case-sensitive !
Real story /tips and tricks/
Oracle 11gR2 Enterprise edition database home installation on Linux (RHEL5) x86_64.
1) Customize value in response file
important note: copy from Oracle sample file: <oracle_installation_dir>/database/response/db_install.rsp
2) Silent installation
./runInstaller -silent -noconfig -responseFile /u01/download/db11ginstall.rsp
Starting Oracle Universal Installer... Checking Temp space: must be greater than 120 MB. Actual 22753 MB Passed Checking swap space: must be greater than 150 MB. Actual 3817 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-06-17_09-02-07PM. Please wait .. $ You can find the log of this install session at: /oracle/OraInventory/logs/installActions2011-06-17_09-02-07PM.log The following configuration scripts need to be executed as the "root" user. #!/bin/sh #Root scripts to run /oracle/product/11.2.0/template/root.sh To execute the configuration scripts: 1. Open a terminal window 2. Log in as "root" 3. Run the scripts 4. Return to this window and hit "Enter" key to continue Successfully Setup Software.
/ * tricks and tips */
Trick 1 # If oracle home is not empty and we didn’t use runInstaller *** -force option, it will die with following messages
CAUSE: The chosen installation conflicted with software already installed in the given Oracle home.
ACTION: Install into a different Oracle home.
Trick 2 # If system are not satisfied with Oracle installation requirement, it will show following messages.
CAUSE: Some of the optional prerequisites are not met. See logs for details. /oracle/OraInventory/logs/…log
ACTION: Identify the list of failed prerequisite checks from the log: /oracle/OraInventory/logs/….log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
[WARNING] [INS-13014] Target environment do not meet some optional requirements.
Trick 3 # If DECLINE_SECURITY_UPDATES is not set to FALSE, Oracle will try to set up OCM (Oracle configuration management with metalink credential), it will die with following messages.
[SEVERE] – Email Address Not Specified
Trick 4 # If DBA and OS group is not specified properly, it may die with following messages
CAUSE: User is not a member of one or more of the chosen OS groups.
ACTION: Please choose OS groups of which user is a member.
Silent installation is still easy with patience.
Update at Sept 9, 2013
For Oracle 126.96.36.199 silent installation, I record response file and it shows off following related parameters.