centos静默安装oracle11g报错,求帮助

时间:2022-04-29 07:42:10
安装指令为:
 ./runInstaller -silent –responseFile /home/oracle/response/db_install.rsp –ignorePrereq

错误提示为:

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 6653 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 999 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-03-19_11-09-47AM. Please wait ...[oracle@localhost database]$ The command line arguments '–responseFile', '/home/vagrant/database/response/db_install.rsp', '–ignorePrereq' are not valid options. Type 'oui -help' at the command line for instructions on appropriate command line usage.
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
        For windows. setup.exe 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.

  -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.

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.

日志为:
Using paramFile: /tmp/database/install/oraparam.ini
Checking Temp space: must be greater than 120 MB.   Actual 1509 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 999 MB    Passed

The commandline for unzip:
/tmp/database/install/unzip -qqqo ../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles/\*.jar -d /tmp/OraInstall2016-03-19_08-32-55AM 
Using the umask value '022' available from oraparam.ini
Execvp of the child jre : the cmdline is /tmp/OraInstall2016-03-19_08-32-55AM/jdk/jre/bin/java, and the argv is 
/tmp/OraInstall2016-03-19_08-32-55AM/jdk/jre/bin/java
-Doracle.installer.library_loc=/tmp/OraInstall2016-03-19_08-32-55AM/oui/lib/linux
-Doracle.installer.oui_loc=/tmp/OraInstall2016-03-19_08-32-55AM/oui
-Doracle.installer.bootstrap=TRUE
-Doracle.installer.startup_location=/tmp/database/install
-Doracle.installer.jre_loc=/tmp/OraInstall2016-03-19_08-32-55AM/jdk/jre
-Doracle.installer.nlsEnabled="TRUE"
-Doracle.installer.prereqConfigLoc= 
-Doracle.installer.unixVersion=3.10.0-229.14.1.el7.x86_64
-mx150m
-cp
/tmp/OraInstall2016-03-19_08-32-55AM::/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/instcommon.jar:/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/emocmutl.jar:/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/cvu.jar:/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/orai18n-mapping.jar:/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/jsch.jar:/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/orai18n-utility.jar:/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/prov_fixup.jar:/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/installcommons_1.0.0b.jar:/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/ssh.jar:/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/OraPrereq.jar:/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/instdb.jar:/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/OraPrereqChecks.jar:/tmp/OraInstall2016-03-19_08-32-55AM/ext/jlib/remoteinterfaces.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/OraInstaller.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/oneclick.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/xmlparserv2.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/share.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/OraInstallerNet.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/emCfg.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/emocmutl.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/OraPrereq.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/jsch.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/ssh.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/remoteinterfaces.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/http_client.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatch.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchactions.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchprereq.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchutil.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/OraCheckPoint.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/InstImages.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/InstHelp.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/InstHelp_de.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/InstHelp_es.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/InstHelp_fr.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/InstHelp_it.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/InstHelp_ja.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/InstHelp_ko.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/InstHelp_pt_BR.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/InstHelp_zh_CN.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/InstHelp_zh_TW.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/oracle_ice.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/help4.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/help4-nls.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/ewt3.jar:/tmp/OraInstall2016-03-19_08-32-55AM/oui/jlib/ewt3-swingaccess.jar:/tmp/OraInstall2016-03-19_0
-scratchPath
/tmp/OraInstall2016-03-19_08-32-55AM
-sourceLoc
/tmp/database/install/../stage/products.xml
-sourceType
network
-timestamp
2016-03-19_08-32-55AM
-silent
–responseFile
/home/oracle/response/db_install.rsp
–ignorePrereq


求大神帮助

4 个解决方案

#1


ignorePrereq改成ignoreSysPrereqs试试

#2


谢谢你!我改成这样就行了./runInstaller -silent -force -responseFile /home/vagrant/database/response/db_install.rsp

#3


楼主你安装成功没有?

#4


Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-05-05_01-51-10PM. Please wait ...[oracle@localhost database]$ [SEVERE] - Email Address Not Specified  为什么我执行过后就停在这里了?

#1


ignorePrereq改成ignoreSysPrereqs试试

#2


谢谢你!我改成这样就行了./runInstaller -silent -force -responseFile /home/vagrant/database/response/db_install.rsp

#3


楼主你安装成功没有?

#4


Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-05-05_01-51-10PM. Please wait ...[oracle@localhost database]$ [SEVERE] - Email Address Not Specified  为什么我执行过后就停在这里了?