oracle安装时ins-32035,安装11.2.0.1数据库软件报[FATAL] [INS-32035] Unable to create

在尝试静默安装Oracle 11.2.0.1数据库软件时遇到[FATAL] [INS-32035]错误,无法在指定位置创建新的中央库存目录。解决方案包括清理oraInventory目录,编辑oraInst.loc文件,并在命令行中删除INVENTORY_LOCATION参数。通过这些步骤可以解决11.2.0版本的静默安装bug。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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版本数据库软件的脚本:

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

In this Document

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值