Use Runinstaller's executeprereqs option to verify that the OS meets the installation requirements for Oracle DB software

Source: Internet
Author: User
Tags memory usage disk usage


The following experiments are based on Oracle 11.2.0.4
[Email protected] database]$./runinstaller-help
Preparing to launch Oracle Universal Installer from/tmp/orainstall2015-02-15_07-23-12am. Please wait ... [[email protected] database]$ Usage:runinstaller [-options] [(<CommandLineVariable=Value>) *]where  Options include:-clusterware Oracle.crs,<crs version> version of Cluster Ready services installed. -crslocation <Path> used only for cluster installs, specifies the "Path to the" CRS home location.  Specifying this overrides CRS information obtained from central inventory. -invptrloc <full Path of orainst.loc> Unix only. To point-a different inventory location. The Orainst.loc file contains:inventory_loc=<location of central inventory>inst_group=<>-jreLoc < Location> Path where Java Runtime environment is installed.  OUI cannot be run without it. -loglevel <level> to filter log messages that has a lesser priority level than <level>. Valid options Are:severe, warning, info, conFig, fine, finer, finest, Basic, general, detailed, trace.  The use of basic, general, detailed, trace is deprecated.  -paramfile <location of file> specify location of the Oraparam.ini file to is used by OUI.  -responsefile <Path> Specifies the response file and Path to use.  -attachhome for attaching homes to the OUI inventory. -CFS indicates that the Oracle home specified are on cluster file system (shared). This was mandatory when '-local ' was specified so, Oracle Universal Installer can register the home appropriately into T  He inventory.  -clone for making a Oracle Home copy match its current environment.  -debug for getting the debug information from OUI.  -detachhome for detaching homes from the OUI inventory without deleting inventory directory inside Oracle home.  -enablerollingupgrade used in cluster environment, to enable upgrade of a product on a subset of nodes (on which The product was Installed).  -executesysprereqs Execute System pre-requisite checks and exit.  -force allowing silent mode installation into a non-empty directory.  -HELP displays above usage.  -ignoresysprereqs for ignoring the results of the system pre-requisite checks.  -local performs the operation on the local node irrespective of the cluster nodes specified.  -printdiskusage Log Debug information for disk usage.  -printmemory Log Debug information for memory usage.  -printtime Log Debug information for time usage. -relink for performing relink actions on the Oracle home Usage:-relink-maketargetsxml <location of M aketargetsxml> [-makedepsxml <location of Makedepsxml>] [Name=value]-silent for silent mode operations  The inputs can be a response file or a list of command line variable value pairs. -waitforcompletion Installer'll wait for completion instead of spawning the Java ENgine and exiting.  -suppressprecopyscript suppress the execution of precopy script.  -acceptuntrustedcertificates Accept untrusted certificates from a secure site.  -suppresspostcopyscript suppress the execution of postcopy script.  -noconfig does not execute config tools. -noconsole for suppressing display of messages to console.  Console is not allocated.  -formcluster to install the Oracle clusterware in order to form the cluster. -REMOTECP <Path> Unix specific option.  Used cluster installs, specifies the path to the remote copy program on the local cluster node. -remoteshell <Path> Unix specific option.  Used cluster installs, specifies the path to the remote shell program on the local cluster node.  -executeprereqs to execute only the prerequisite checks.  -ignoreprereq to ignore running the prerequisite checks. -ignoreinternaldrivererror to ignore any internAl driver errors.  -downloadupdates to download updates only. -showprogress to show the installation progress on the console. This option is supported only in case of silent installation. Command line Variables Usage command line Variables is specified using <name=value>;  For example: [Session: | Compname: | compname:version:]variablename= "valueofvariable"] Session/installer variables is specified using: [Session:]varname=value ex 1:session:oracle_home_name= "Orahome" ex 2:oracle_home_na Me= "Orahome" The lookup order is session:varname and then just varName.   The session prefix is used to avoid ambiguity. Component variables is specified using: [Compinternalname:[version:]]varname Ex 1:oracle.comp1:1.0.1:varname = "Varvalue" Ex 2:oracle.comp1:varname= "Varvalue" The lookup order is compInternalName:Version:varName and then Compint Ernalname:varname, then just varName.

[[email protected] database]$./runinstaller-executeprereqs-silent-responsefile./response/db_install.rsp
Starting Oracle Universal Installer ... Checking Temp space:must be greater than MB.   Actual 3042 MB    passedchecking swap space:must be greater than.   Actual 2047 MB    passedpreparing to launch Oracle Universal Installer from/tmp/orainstall2015-02-15_07-24-28am. Please wait ... [Email protected] database]$ [FATAL] [INS-10101] The given response file./RESPONSE/DB_INSTALL.RSP is not found.   Cause:the Given response file is either not accessible or does not exist.   Action:give a correct response file location. (note:relative path is not supported) ^c
[Email protected] database]$

Note that the response file above uses a relative path, and the result is an error, which means that the response file cannot use a relative path.

[Email protected] database]$ pwd
/u02/database
[Email protected] database]$ LS-LRT
Total 60
Drwxr-xr-x. 2 Oracle Oinstall 4096 Sshsetup
-rwxr-xr-x. 1 Oracle Oinstall 3267 Runinstaller
Drwxr-xr-x. 2 Oracle Oinstall 4096 rpm
Drwxr-xr-x. 2 Oracle Oinstall 4096 response
-rw-r--r--. 1 Oracle Oinstall 30016 readme.html
Drwxr-xr-x. Oracle Oinstall 4096-stage
-rw-r--r--. 1 Oracle Oinstall welcome.html
Drwxr-xr-x. 4 Oracle Oinstall 4096 Install
[Email protected] database]$./runinstaller-executeprereqs-silent-responsefile/u02/database/response/db_ Install.rsp
Starting Oracle Universal Installer ...   Checking Temp space:must be greater than MB.   Actual 3042 MB passedchecking swap space:must be greater than. Actual 2047 MB passedpreparing to launch Oracle Universal Installer from/tmp/orainstall2015-02-15_07-25-26am. Please wait ...   [[email protected] database]$ [WARNING] [INS-13014] Target environment do not meet some optional requirements. Cause:some of the optional prerequisites is not met. See logs for details. /u01/app/orainventory/logs/installactions2015-02-15_07-25-26am.log action:identify The list of failed prerequisite Checks from the log:/u01/app/orainventory/logs/installactions2015-02-15_07-25-26am.log.  Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and Fix it manually. [[email protected] database]$ 
[Email protected] ~]# More/u01/app/orainventory/logs/installactions2015-02-15_07-25-26am.log
Omit Intermediate output info:------------------List of failed Tasks------------------info: **************************************** Info:physical Memory:this is a prerequisite condition to test whether the system have at least 1GB (1048576.0KB) of Total physical Memory.INFO:Severity:IGNORABLEINFO:OverallStatus:VERIFICATION_FAILEDINFO:-----------------End of    Failed Tasks List----------------WARNING: [WARNING] [INS-13014] Target environment do not meet some optional requirements. Cause:some of the optional prerequisites is not met. See logs for details. /u01/app/orainventory/logs/installactions2015-02-15_07-25-26am.log action:identify The list of failed prerequisite Checks from the log:/u01/app/orainventory/logs/installactions2015-02-15_07-25-26am.log.  Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and Fix It Manually.INFO:Advice is continueinfo:adding exitstatus success_with_warnings to the exit status Setinfo:fiNding the most appropriate exit status for the current Applicationinfo:exit status is 6info:list of warnings encountered In this Application:INFO:PREREQS_FAILED_WITH_WARNINGINFO:Shutdown Oracle Database 11g Release 2 Installerinfo:unloadin G Setup Driver
[Email protected] ~]#

You can see that there is not enough memory.


Use Runinstaller's executeprereqs option to verify that the OS meets the installation requirements for Oracle DB software

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.