靜默安裝11.2.0.1資料庫軟體報[FATAL] [INS-32035] Unable to create

lhrbest發表於2018-10-29


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  


另外給出靜默安裝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,   , 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

 - 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寶典今日頭條號地址:

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

● 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

● 文章內容來源於小麥苗的學習筆記,部分整理自網路,若有侵權或不當之處還請諒解

● 版權所有,歡迎分享本文,轉載請保留出處

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

小麥苗的微店

小麥苗出版的資料庫類叢書 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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章