安装oracle无法访问临时位置,Oracle 11.2.0.4 和 12c 安装 INS-30131 临时位置权限解决...

Oracle 11.2.0.4 和 12c 安装 INS-30131 临时位置权限解决

6ee5639a40442445944d63b514b2dd02.png

好久没安装数据库,今天在Windwos上安装11.2.0.4版本的数据库,遇到了这个看来闻名遐迩的错误:

5bbbc25a07901c51b069945f795e4871.png

[INS-30131]"错误"请确保当前用户具有访问临时位置所需的权限"

这个错误的文档描述也非常明确:

[INS-30131] Initial setup required for the execution of installer validations failed

Cause: Failed to access the temporary location

Action: Ensure that the current user has required permissions to access the temporary location.

要确保对于安装的临时目录有权限。但是事实上Windows上,很多人给出的解决方法是增加磁盘的 C$ 共享。

但是在我的环境没效果,而我已知临时目录没有问题。那么在命令行进入安装软件目录,通过命令行启动安装程序,设置 ignorePrereq 检查,此时数据库软件可以启动安装,是否会出现错误,就看忽略的检查是否关键,对于本案例中的临时空间问题,数据库无误安装:

F:\database>dir

Directory of F:\database

2017-07-03 09:21

2013-10-25 09:09 29,747 readme.html

2013-10-25 09:06

2013-10-25 09:06 345,480 setup.exe

2017-07-03 12:57

2013-10-25 09:09 500 welcome.html

3 File(s) 377,291 bytes

3 Dir(s) 88,050,397,184 bytes free

F:\database>setup.exe -ignorePrereq -ignorePrereq -J"-Doracle.install.db.validate.supportedOSCheck=false"

这样的办法,简单粗暴,但是有时候很有效。

By eygle on 2017-07-03 16:06 |

Comments (0) |

FAQ | 3255 |