11.2静默安装碰到的错误

11.2的静默安装改变了很多,简单记录一下碰到的错误。

 

 

在11.1及以前的版本中,静默安装只需要提供必须的参数即可,但是在11.2中responseFile似乎需要所有的参数,即使是那些根本不使用的。

最开始尝试只给出下面的参数:

oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME=Oracle111
UNIX_GROUP_NAME=dba
INVENTORY_LOCATION=/opt/oracle/oraInventory
SELECTED_LANGUAGES=en,zh_CN
ORACLE_HOME=/opt/oracle/product/11.2.0/db
ORACLE_BASE=/opt/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.EEOptionsSelection=false
oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.2.0,oracle.oraolap:11.2.0.2.0,oracle.rdbms.dm:11.2.0.2.0,oracle.rdbms.dv:11.2.0.2.0,orcle.rdbms.lbac:11.2.0.2.0,oracle.rdbms.rat:11.2.0.2.0
oracle.install.db.DBA_GROUP=dba

尝试静默安装报错:

[oracle@Oracle111 database]$ ./runInstaller -silent -noconfig -responseFile /data1/database/response/myinstall.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 7328 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 8191 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-02-16_10-55-12PM. Please wait ...[oracle@Oracle111 database]$ [FATAL] [INS-10105] The given response file /data1/database/response/myinstall.rsp is not valid.
   CAUSE: Syntactically incorrect response file. Either unexpected variables are specified or expected variables are not specified in the response file.
   ACTION: Refer the latest product specific response file template
   SUMMARY:
       - cvc-complex-type.2.4.b: The content of element 'properties' is not complete. One of '{"":oracle.install.db.CLUSTER_NODES, "":oracle.install.db.isRACOneInstall, "":oracle.install.db.racOneServiceName, "":oracle.install.db.OPER_GROUP, "":oracle.install.db.config.starterdb.type, "":oracle.install.db.config.starterdb.SID, "":oracle.install.db.config.starterdb.globalDBName, "":oracle.install.db.config.starterdb.characterSet, "":oracle.install.db.config.starterdb.memoryLimit, "":oracle.install.db.config.starterdb.enableSecuritySettings, "":oracle.install.db.config.starterdb.installExampleSchemas, "":oracle.install.db.config.starterdb.memoryOption, "":oracle.install.db.config.starterdb.storageType, "":oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation, "":oracle.install.db.config.starterdb.fileSystemStorage.dataLocation, "":oracle.install.db.config.starterdb.password.ALL, "":oracle.install.db.config.starterdb.password.SYS, "":oracle.install.db.config.starterdb.password.DBSNMP, "":oracle.install.db.config.starterdb.password.SYSMAN, "":oracle.install.db.config.starterdb.password.SYSTEM, "":oracle.install.db.config.starterdb.control, "":oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL, "":oracle.install.db.config.starterdb.automatedBackup.enable, "":oracle.install.db.config.starterdb.automatedBackup.osuid, "":oracle.install.db.config.starterdb.automatedBackup.ospwd, "":oracle.install.db.config.asm.diskGroup, "":oracle.install.db.config.asm.ASMSNMPPassword, "":SECURITY_UPDATES_VIA_MYORACLESUPPORT, "":DECLINE_SECURITY_UPDATES, "":MYORACLESUPPORT_USERNAME, "":MYORACLESUPPORT_PASSWORD, "":PROXY_PORT, "":PROXY_HOST, "":PROXY_USER, "":PROXY_PWD, "":COLLECTOR_SUPPORTHUB_URL, "":AUTOUPDATES_MYORACLESUPPORT_USERNAME, "":AUTOUPDATES_MYORACLESUPPORT_PASSWORD, "":oracle.installer.autoupdates.option, "":oracle.installer.autoupdates.downloadUpdatesLoc}' is expected.

A log of this session is currently saved as: /tmp/OraInstall2011-02-16_10-55-12PM/installActions2011-02-16_10-55-12PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.

于是尝试将所有不需要的参数留空,再次执行,仍然报错:

[oracle@Oracle111 database]$ ./runInstaller -silent -noconfig -responseFile /data1/database/response/myinstall.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 7326 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 8191 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-02-16_11-00-06PM. Please wait ...[oracle@Oracle111 database]$ [SEVERE] - My Oracle Support Username/Email Address Not Specified
A log of this session is currently saved as: /tmp/OraInstall2011-02-16_11-00-06PM/installActions2011-02-16_11-00-06PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.

不提供metalink帐号居然无法静默安装,Oracle现在的策略还真是有点意思。

随便输入一个用户名,再次运行:

[oracle@Oracle111 database]$ ./runInstaller -silent -noconfig -responseFile /data1/database/response/myinstall.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 7326 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 8191 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-02-16_11-04-50PM. Please wait ...[oracle@Oracle111 database]$ [SEVERE] - This is an invalid email address. The email address must contain one "@" symbol and at least one dot("."). If you have a My Oracle Support account, specify the email address you use to log in to My Oracle Support, for example, johndoe@mycompany.com
A log of this session is currently saved as: /tmp/OraInstall2011-02-16_11-04-50PM/installActions2011-02-16_11-04-50PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.

Oracle还去检查了语法是否正确,安装语法输入oracle@oracle.com,再次尝试安装:

[oracle@Oracle111 database]$ ./runInstaller -silent -noconfig -responseFile /data1/database/response/myinstall.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 7326 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 8191 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-02-16_11-09-29PM. Please wait ...[oracle@Oracle111 database]$

安装的命令退出了,但是从后台看,安装进程还在,不知道停在了什么地方。

看了11.2的responseFile方式很不靠谱,最终使用命令行的方式安装完成:

[oracle@Oracle111 database]$ ./runInstaller -silent -debug -force \
> FROM_LOCATION=/data1/database/stage/products.xml \
> oracle.install.option=INSTALL_DB_SWONLY \
> UNIX_GROUP_NAME=oinstall \
> INVENTORY_LOCATION=/opt/oracle/oraInventory \
> ORACLE_HOME=/opt/oracle/product/11.2.0/db \
> ORACLE_HOME_NAME="Oracle111" \
> ORACLE_BASE=/opt/oracle \
> oracle.install.db.InstallEdition=EE \
> oracle.install.db.isCustomInstall=false \
> oracle.install.db.DBA_GROUP=dba \
> oracle.install.db.OPER_GROUP=dba \
> DECLINE_SECURITY_UPDATES=true

最后检查了一下metalink,发现oracle还居然在专门的文档ID 883714.1描述了这个问题,错误原因是:

'My Oracle Support' Account user name and password were not specified in the response file.

而解决方法居然就是:

Specify the My Oracle Support Account User name and password in your response file

不过从Oracle对于metalink帐号要求越来越严格,也可以看出Oracle策略的趋势。

 

时间: 2024-10-12 06:04:18

11.2静默安装碰到的错误的相关文章

centos-oracle11g静默安装监听错误。native library: njni11

问题描述 oracle11g静默安装监听错误.native library: njni11 环境是 CentOS-6.5 64,oracle 11g 金币不足,不好意思 oracle@oraData bin]$ netca /silent/responsefile /opt/software/database/response/netca.rsp UnsatisfiedLinkError exception loading native library: njni11java.lang.Unsa

关于在Windows中安装Oracle碰到ORA-12638错误的解决方法

oracle|window|错误|解决 今天应邀安装一个Windows上的Oracle9i数据库 不想居然碰到了一些问题 1.安装完Oracle9201软件 2.安装完Oracle9205 patchset 3.dbca创建数据库,创建过程中碰到ORA-12638错误,凭证检索失败,创建数据库失败 4.由于保存了创建脚本,所以决定用脚本执行,看看错在哪儿 5.dbca先删除了刚才创建了半半拉拉的数据库 6.运行脚本,在connect system/change_on_install as sys

Linux 静默安装CentOS 6.6系统上安装Oracle 11gR2(11.2.0.4)

本文档是Oracle Database 11.2.0.4 for CentOS 6.6 Server(x86_64平台)的静默安装指南. 所有操作无需使用图形界面. 静默安装能减少安装出错的可能性, 也能大大加快安装速度. # 后跟命令表示以操作系统下root用户操作; $ 后跟命令表示以操作系统下oracle用户操作;  1.0 安装前检查 内存大小要求  Oracle 11.2 建议内存是在2GB或者更多. 运行以下命令: #  grep MemTotal /proc/meminfo Mem

10g,11g中数据库静默安装中的细小差别

数据库软件的安装根据工作需要主要有以下几种方式,使用oui是普遍的图形界面方式,还有两种是不依赖图形界面的,一种为静默安装,另外一种为克隆安装. 静默安装的时候核心就在于响应文件,在安装目录database/response下提供了几个响应文件,是oracle提供的模板. 比如安装数据库软件的模板db_install.rsp,dbca的模板dbca.rsp,配置监听的netca.rsp [ora11g@oel1 response]$ ll total 76 -rw-rw-r-- 1 ora11g

【oracle】静默安装 oracle 11gr2

[序言] oracle 提供了静默安装方法在不适用图形界面的情况下安装 oracle 软件 ,创建db,配置netca,快速完成oracle 的部署.  在以下情形中可以使用静默安装    a OUI 的 GUI 界面远程交互比较慢 .    b 数据库服务器无法使用图形界面访问.    c 批量部署oracle (标准环境统一情况下可以使用oracle 的relink ,这样更加快速). 本文主要讲述基本安装步骤,不涉及oracle 安装完成之后的运维规范: 监控,备份,定时日志清理,基础运维

Android常用代码之APK root权限静默安装

本文主要介绍程序如何利用root权限静默安装(卸载)APK,如何自动选择普通安装(卸载)还是静默安装(卸载). 1.root权限静默安装(卸载)调用 引入TrineaAndroidCommon@Github(欢迎star和fork^_^)作为你项目的library(如何拉取代码及添加公共库),或自己抽取PackageUtils.installSlient(PackageUtils.uninstallSilent)函数进行调用,系统授权管理会弹出对话框让用户选择是否允许应用获得root权限.允许的

Centos5.10中 64位静默安装oracle10g 升级10.2.0.5.12方法

同步时间 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime crontab -e 0-59/10 * * * * /usr/sbin/ntpdate us.pool.ntp.org | logger -t NTP ntpdate  us.pool.ntp.org hwclock -w 设置本地DVD 为源: mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdrom #添加本地源 cat >>/etc/yum.

【oracle】静默安装oracle软件和数据库之三

对于静默安装netca ,出现如下错误: oracle@RAC:/home/oracle/10201_database>netca -silent -responsefile /home/oracle/10201_database/netca.rsp ****DISPLAY environment variable not set!     Oracle Net Configuration Assistant is a GUI tool     which requires that DISPL

Oracle 12cR1 RAC 在VMware Workstation上安装(下)—静默安装

Oracle 12cR1 RAC 在VMware Workstation上安装(下)-静默安装 1.1  静默安装 1.1.1  静默安装grid 安装之前使用脚本进行校验,确保所有的failed选项都可以忽略. ./runcluvfy.sh stage -pre crsinst -n raclhr-12cR1-N1,raclhr-12cR1-N2 -fixup -verbose   1.1.1.1  新建/etc/oraInst.loc文件 在2个节点上新建/etc/oraInst.loc,文