静默安装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.

解决方法:

vim /etc/oralnst.loc
inventory_loc=/data/u01/app/oracle/inventory
inst_group=oinstall

还有另一种错误,就是你已经加入了上边的文件内容,但是安装时还是报同样的错误。解决方法如下:

进入到oracle安装目录cd /u01/oracle/
ls查看下目录下有没有一个oralnventory文件(我估计这个文件是刚开始执行的时候然后保存下来的或者是以前安装时未删除干净的)

如果有将这个文件目录删除掉rm -rf oraInventory/

然后将/etc/oralnst.loc更改

[root@oracle ~]# cat  /etc/oralnst.loc
inventory_loc=/data/u01/app/oracle/inventory
inst_group=oinstall

执行下

 source /etc/oralnst.loc

重新安装oracle

su - oracle
cd /data/u01/software/database
./runInstaller -silent -responseFile /home/oracle/response/db_install.rsp -ignorePrereq
发布了858 篇原创文章 · 获赞 114 · 访问量 17万+

猜你喜欢

转载自blog.csdn.net/weixin_40816738/article/details/104464283