静默安装11.2.0.1数据库软件报[FATAL] [INS-32035] Unable to create


11.2.0.1静默安装数据库软件报错:

[FATAL] [INS-32035] Unable to create a new central inventory directory : /u01/app/oraInventory.

CAUSE: The central inventory location provided is not empty.

ACTION: Please provide another location for the inventory, or clean up the current location.


解决:

rm -rf /u01/app/oraInventory/*

vi /etc/oraInst.loc

inventory_loc=/u01/app/oraInventory

inst_group=oinstall


chown oracle:oinstall /etc/oraInst.loc

chmod 664 /etc/oraInst.loc

该问题其实就是Oracle的bug bug 9015869  


另外给出静默安装11.2.0.1版本数据库软件的脚本:


 
/soft/database_11201/runInstaller -silent -force -noconfig -IgnoreSysPreReqs -ignorePrereq \
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0 \
oracle.install.option=INSTALL_DB_SWONLY \
DECLINE_SECURITY_UPDATES=true \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=/u01/app/oraInventory \
SELECTED_LANGUAGES=en,zh_CN \
ORACLE_HOME=/u01/app/oracle/product/11.2.0.1/dbhome_1 \
ORACLE_BASE=/u01/app/oracle \
oracle.install.db.InstallEdition=EE \
oracle.install.db.isCustomInstall=false \
oracle.install.db.DBA_GROUP=dba \
oracle.install.db.OPER_GROUP=dba \
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \
ORACLE_HOSTNAME=OCPLHR





11.2.0 Silent Install Fails With INS-32035 Error (文档 ID 1062929.1)


In this Document


Symptoms

Changes

Cause

Solution

References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

SYMPTOMS

You are attempting to do a silent install of Database 11.2.0 and receive an error similar to the following...

[FATAL] [INS-32035] Unable to create a new central inventory at the specified location. 
CAUSE: The central inventory location provided is not empty. 
ACTION: Please provide another location for the inventory, or clean up the current location.

CHANGES

An interactive GUI install works fine, but silent install fails with INS-32035 error.  You are using a response file OR passing the parameters on the command line to runInstaller.

CAUSE


There is an 11.2.0 bug with silent install,  bug 9015869  , when the parameter INVENTORY_LOCATION is used to override the default location.

SOLUTION

To resolve the issue, ensure you have a valid oraInst.loc file (/etc/oraInst.loc or /var/opt/oracle/oraInst.loc depending on your OS platform) and omit the INVENTORY_LOCATION parameter from the command line or response file. For example, if you were using a command similar to the following... 

./runInstaller -silent -debug -force \ 
FROM_LOCATION=/stage/products.xml \ 
oracle.install.option=INSTALL_DB_SWONLY \ 
UNIX_GROUP_NAME=oinstall \ 
INVENTORY_LOCATION=/u01/app/oraInventory \ 
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 \ 
ORACLE_HOME_NAME="OraDb11g_Home1" \ 
ORACLE_BASE=/u01/app/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


...then modify the command to... 

./runInstaller -silent -debug -force \ 
FROM_LOCATION=/stage/products.xml \ 
oracle.install.option=INSTALL_DB_SWONLY \ 
UNIX_GROUP_NAME=oinstall \ 
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 \ 
ORACLE_HOME_NAME="OraDb11g_Home1" \ 
ORACLE_BASE=/u01/app/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

REFERENCES

BUG:9015869  - SILENT INSTALLATION NOT WORKING WITH OR WITHOUT RESPONSE FILE




About Me

........................................................................................................................

● 本文作者:小麦苗,部分内容整理自网络,若有侵权请联系小麦苗删除

● 本文在itpub( http://blog.itpub.net/26736162 )、博客园( http://www.cnblogs.com/lhrbest )和个人weixin公众号( xiaomaimiaolhr )上有同步更新

● 本文itpub地址: http://blog.itpub.net/26736162

● 本文博客园地址: http://www.cnblogs.com/lhrbest

● 本文pdf版、个人简介及小麦苗云盘地址: http://blog.itpub.net/26736162/viewspace-1624453/

● 数据库笔试面试题库及解答: http://blog.itpub.net/26736162/viewspace-2134706/

● DBA宝典今日头条号地址: http://www.toutiao.com/c/user/6401772890/#mid=1564638659405826

........................................................................................................................

● QQ群号: 230161599 (满) 、618766405

● weixin群:可加我weixin,我拉大家进群,非诚勿扰

● 联系我请加QQ好友 646634621 ,注明添加缘由

● 于 2018-10-01 06:00 ~ 2018-10-31 24:00 在魔都完成

● 最新修改时间:2018-10-01 06:00 ~ 2018-10-31 24:00

● 文章内容来源于小麦苗的学习笔记,部分整理自网络,若有侵权或不当之处还请谅解

● 版权所有,欢迎分享本文,转载请保留出处

........................................................................................................................

小麦苗的微店 https://weidian.com/s/793741433?wfr=c&ifr=shopdetail

小麦苗出版的数据库类丛书 http://blog.itpub.net/26736162/viewspace-2142121/

小麦苗OCP、OCM、高可用网络班 http://blog.itpub.net/26736162/viewspace-2148098/

小麦苗腾讯课堂主页 https://lhr.ke.qq.com/

........................................................................................................................

使用 weixin客户端 扫描下面的二维码来关注小麦苗的weixin公众号( xiaomaimiaolhr )及QQ群(DBA宝典)、添加小麦苗weixin, 学习最实用的数据库技术。

........................................................................................................................

欢迎与我联系

 

 



来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26736162/viewspace-2217928/,如需转载,请注明出处,否则将追究法律责任。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值