溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶(hù)服務(wù)條款》

安裝11.2.0.1數(shù)據(jù)庫(kù)軟件報(bào)[FATAL] [INS-32035] Unable to create

發(fā)布時(shí)間:2020-08-08 08:17:24 來(lái)源:ITPUB博客 閱讀:830 作者:記錄每一次錯(cuò)誤 欄目:關(guān)系型數(shù)據(jù)庫(kù)

11.2.0.1靜默安裝數(shù)據(jù)庫(kù)軟件報(bào)錯(cuò):

[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

該問(wèn)題其實(shí)就是Oracle的bug  bug 9015869     。


另外給出靜默安裝11.2.0.1版本數(shù)據(jù)庫(kù)軟件的腳本:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
   
/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


向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI