使用runInstaller 的executePrereqs选项来验证os是否符合oracle db software的安装要求

以下实验基于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 to 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 have 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 oraparam.ini file to be 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 is on cluster file system (shared). This is mandatory when '-local' is specified so that Oracle Universal Installer can register the home appropriately into the inventory.

  -clone
        For making an 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 maketargetsxml> [-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 will 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
        Do 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 only for cluster installs, specifies the path to the remote copy program on the local cluster node.

  -remoteshell <Path>
        Unix specific option. Used only for 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 are specified using <name=value>; for example:
    [ session: | compName: | compName:version: ]variableName=" valueOfVariable"]

   Session/Installer variables are specified using:
          [session:]varName=value
    Ex 1: session:ORACLE_HOME_NAME="OraHome"
    Ex 2: ORACLE_HOME_NAME="OraHome"
    The lookup order is session:varName then just varName. The session prefix is used to avoid ambiguity.

   Component variables are 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, then compInternalName: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 120 MB.   Actual 3042 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 2047 MB    Passed
Preparing 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 do not exist.
   ACTION: Give a correct response file location. (Note: relative path is not supported)
^C

[[email protected] database]$

注意上面的响应文件使用了相对路径,结果是报错的,也就是说响应文件不能使用相对路径。

[[email protected] database]$ pwd

/u02/database

[[email protected] database]$ ls -lrt

total 60

drwxr-xr-x.  2 oracle oinstall  4096 Aug 27  2013 sshsetup

-rwxr-xr-x.  1 oracle oinstall  3267 Aug 27  2013 runInstaller

drwxr-xr-x.  2 oracle oinstall  4096 Aug 27  2013 rpm

drwxr-xr-x.  2 oracle oinstall  4096 Aug 27  2013 response

-rw-r--r--.  1 oracle oinstall 30016 Aug 27  2013 readme.html

drwxr-xr-x. 14 oracle oinstall  4096 Aug 27  2013 stage

-rw-r--r--.  1 oracle oinstall   500 Aug 27  2013 welcome.html

drwxr-xr-x.  4 oracle oinstall  4096 Aug 27  2013 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 120 MB.   Actual 3042 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 2047 MB    Passed
Preparing 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 are 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

省略中间的输出
INFO: ------------------List of failed Tasks------------------
INFO: *********************************************
INFO: Physical Memory: This is a prerequisite condition to test whether the system has at least 1GB (1048576.0KB) of total physical memory.
INFO: Severity:IGNORABLE
INFO: OverallStatus:VERIFICATION_FAILED
INFO: -----------------End of failed Tasks List----------------
WARNING: [WARNING] [INS-13014] Target environment do not meet some optional requirements.
   CAUSE: Some of the optional prerequisites are 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 f
ile or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
INFO: Advice is CONTINUE
INFO: Adding ExitStatus SUCCESS_WITH_WARNINGS to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is 6
INFO: List of warnings encountered in this Application:
INFO: PREREQS_FAILED_WITH_WARNING
INFO: Shutdown Oracle Database 11g Release 2 Installer
INFO: Unloading Setup Driver

[[email protected] ~]#

可以看到是内存不够。

时间: 2024-08-24 08:43:28

使用runInstaller 的executePrereqs选项来验证os是否符合oracle db software的安装要求的相关文章

OS X 10.11系统下cocoaPods安装注意事项

本文读者需具备的知识:cocoaPods相关概念及常用命令. 今天初次使用cocoaPods(下面我就称其为可可豆好了),为其在OS X 10.11系统下的安装折腾了半天,衰x10^n... 先反省一下关键点:[1]版本兼容性:[2]解决问题的思路!!! 系统更新(因为代码中使用了XCode 7的新特性,而XCode需要10.11系统)后,一上来: sudo gem install cocoapods  //不要sudo应该也可以 然后,提示需要ruby2.2.2以上的ruby版本……(而在10

Cent OS 6.5 Mysql-5.6.19 编译安装

今天来写写MySQL 5.6.19的编译安装,现在5.6版本的安装比较发杂一点了,不扯了开始吧! 安装环境 OS:Cent OS 6.5 软件:Mysql 5.6.19 下载软件 http://mirrors.sohu.com/mysql/MySQL-5.6/Mysql-5.6.19.tar.gz 安装前环境配置    #yum install -y lrzsz (这个软件可以上传文件)    #rz                  (找到你刚才下载的mysql)    #yum groupi

OS X 10.9 Mavericks下如何安装Command Line Tools(命令行工具)

OS X 10.9 Mavericks正式发布,免费更新,立即去更新看看效果. 不过升级后安装命令行工具(Command Line Tools)时发现官网没有clt的下载安装包了,原来改了,使用命令在线安装. 打开终端,输入命令:xcode-select --install 选择“安装”,然后同意安装协议. OS X 10.9 Mavericks下如何安装Command Line Tools(命令行工具)

cent os 6.5+ambari+HDP集群安装

1. 搭建一个测试集群,集群有4台机器,配置集群中每一台机器的/etc/hosts文件: [[email protected] .ssh]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 172.28.3.40 nn n

全新安装免费的OS X Mavericks 10.9正式版--安装U盘制作指南

承诺大家的教程来了,这个教程是介绍如何在Mac下制作安装正版USB启动安装程序,原教程出自Tonymacx86.我只是加入了自己的理解,用自己的方式给大家讲这个过程.这里要把所有的成绩归功于Tonymacx86教程运用的软件是UniBeast+MultiBeast的组合来完成.因为这个论坛暂时不支持附件的加载,所有我直接给了原网站的下载地址 点它====>tonymacx86下载 要装之前要看看自己的硬件能不能很好的找到驱动,这里我自己的配置贴 Hackintosh(黑苹果来袭) 仅供大家参考,

教程 打造OS X Mavericks原版 EFI Clover 引导安装

自从 Mavericks 10.9 发布DP版到现在的GM版以来,以前Clover引导原版InstallESD.dmg方式安装原版的方法已经不能使用,而且已经不能引导安装了,所以从GM版发布以前,终于有网友解决这个问题,不过需要一个Mac环境,需要准备工具和系统,软件等:1.Mavericks GM版APP应用程序 2.EFI Clover 工具 3. U盘 8G或大于8GU盘一个,安装需要到的硬盘GUID分区硬盘分区上. 第一步:提取 createinstallmedia文件,打开原版 安装

js验证手机号码是否符合标准

网上看到一段验证130-139,150-159,180-189段手机号码的正则匹配,摘抄了过来,方便后续使用,代码如下: var reg = /^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1}))+\d{8})$/;      if(!reg.test($("#phone").val()))      {          alert('请输入有效的手机号码!');          return false;      } else{ //执行自己的逻

MAC OS X10.10下Caffe无脑安装(CPU ONLY)

最近心血来潮,想趁着实习之前一周空闲的时间玩玩各种 Deep Learning 的热门工具(Caffe, Theano 之类),结果却深陷安装和配置环境的痛苦当中...安装Caffe花费了我两天时间,在各种文档教程中绕了不少圈子.据不完全统计,对我比较有帮助的一些参考资料如下: Caffe官方文档:http://caffe.berkeleyvision.org/install_osx.html 最初照着弄的资料:http://blog.csdn.net/surgewong/article/det

验证xml是否符合指定xsd

xml是常用的一种数据文件格式,它的定义文件为Xml schema definition(XSD),那么怎么验证一个xml是否符合它的schema定义呢? 本文给出C#的代码实现. 样例XML 存储在xml.xml文件中 <?xml version="1.0" encoding="utf-8" ?> <xml> <age>10</age> <date>2018-01-01</date> <