【INS-30131】Initial setup required for the execution of installer validations failed
报错:
[FATAL] [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.
Unix : "[ INS-30131 ] the Initial Setup That Is Required to Run the Installation Program Validation Was Not Successful" Error While Installing Oracle Database/Client. (Doc ID 2092409.1)
SYMPTOMS
While installing 11.2 on Unix/Linux platform below errors appear:
"INS-30131 initial setup required for the execution of installer validations failed"
If You are getting this error on Windows Platform, Follow the below note:
Note 1569962.1 Windows:"[ INS-30131 ] the Initial Setup That Is Required to Run the Installation Program Validation Was Not Successful " Error While Installing Oracle Database
CAUSE
For Unix
/tmp has not enough space or no permission to write or OS pre-requirements are not met.
SOLUTION
Make Sure that downloaded software is not corrupt as per below note:
Note 549617.1 How To Verify The Integrity Of A Patch/Software Download? [Video]
Also the media software should be unzipped in the same server where installation will be performed, If still issue persist , please follow below procedure:
For Unix
A) Verify if all OS pre-requirements are met as per Installation guide.
B) Verify /tmp is not Full
1. Verify /tmp file system is not full
$ df /tmp
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
Global 655360 0 100% 3677 43% /tmp
2. Clear out space from /tmp and make sure enough space is available.
3. Verify that Oracle user from which installation is getting done has permissions to write in /tmp location
4. Retry Installation
C) Verify the Mount option of /tmp and Software Media File System
1. Mount the source filesystem (where software media exist) and the filesystem on which /tmp resides with the same ACL options.
or
2. Copy the installation software to /tmp and retry the installation.
Windows : "[ INS-30131 ] the Initial Setup That Is Required to Run the Installation Program Validation Was Not Successful " Error While Installing Oracle Database/Client (Doc ID 1569962.1)
SYMPTOMS
While installing 11.2 or 12c on Windows platform below errors appear:
SEVERE: [FATAL] [INS-30131] The initial setup that is required to run the installation program validation was not successful.
CAUSE: Access to the temp directory was not successful.
ACTION: Ensure that the current user has the necessary permissions to access the temp directory.
C:>net use\hostname\c$, but got this error: System error 53 has occurred
If you are getting this error on Unix Platform, Follow the below note:
Note 2092409.1 Unix : "[ INS-30131 ] the Initial Setup That Is Required to Run the Installation Program Validation Was Not Successful" Error While Installing Oracle Database/Client.
CAUSE
This error can be caused by below reason:
1) Admin Share in C$ is not enabled
2) Security settings are preventing access to TEMP location
3) Corrupt software media
SOLUTION
Make Sure that downloaded software is not corrupt as per below note:
Note 549617.1 How To Verify The Integrity Of A Patch/Software Download? [Video]
Also the media software should be unzipped in the same server where installation will be performed, If still issue persist , please follow below procedure:
**A) Verify if c$ Admin share is enabled
1. Enable administrative share for C$ (Please check with your System Admin to do this or See Microsoft document http://support.microsoft.com/kb/314984)
2.** Check that it is ok:
- net use \
- dir \
- the current user (i.e. user in administrator group) should have all privileges on the default share
3. Retry the installation**
4.** Remove the administrative share again
B) Check if Windows services "OracleRemExecService" is running
Check if Windows services "OracleRemExecService" is running , this service gets created during installtion of 32 bit 64 client , if its running then follow below process:
Remove the OracleRemExecService before doing the Oracle Client 12c Release 1 32-bit or 64-bit installation on the same Microsoft Windows x64 (64-bit) server after installing the Oracle Client 64-bit or 32-bit software .
- Go to the Windows 'Services'
- Stop OracleRemExecServiceV2
( This service is having a intelligence .Once someone tries to stop it this service gets deleted.
This is due to the fact ,that this service is not running from the Oracle Home like other oracle services ,but from temp .
For example : C:\Users\AppData\Local\Temp\oraremservicev2\RemoteExecService.exe
)
- Then try to install the Oracle Client 32-bit or 64-bit on the same Microsoft Windows x64 (64-bit) server
C) Check if Windows Service “Server” is not running
Check if Windows Service “Server” is started on the system, if not started then start it and try again installation.
D) Following Workaround is available to install database/client software if administrative shares is not enabled :
For client installs, run the installer with following arguments:
1 | setup.exe -ignorePrereq -J"-Doracle.install.client.validate.clientSupportedOSCheck=false" |
For server installs, run the installer with following arguments:
1 | setup.exe -ignorePrereq -J"-Doracle.install.db.validate.supportedOSCheck=false" |
其它
[INS-30131]lnitial setup required for the execution of installer validation failed
如果遇到上面的错误,可以尝试如下几种方式:
- /tmp空间是否足够,或是否有权限读写
- 如下检查是否通过: ./runcluvfy.sh stage -pre crsinst -n szxcld101,szxcld102 -fixup -verbose
- 到 /tmp目录下删除所有文件,可能是有其他进程锁定了某个文件或目录,导致异常。
- 将Oracle的整个安装目录设置为775权限 。
好久没安装数据库,今天在Windwos上安装11.2.0.4版本的数据库,遇到了这个看来闻名遐迩的错误:
[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
install
2013-10-25 09:09 29,747 readme.html
2013-10-25 09:06response
2013-10-25 09:06 345,480 setup.exe
2017-07-03 12:57stage
2013-10-25 09:09 500 welcome.html
3 File(s) 377,291 bytes
3 Dir(s) 88,050,397,184 bytes freeF:\database>setup.exe -ignorePrereq -ignorePrereq -J"-Doracle.install.db.validate.supportedOSCheck=false"
这样的办法,简单粗暴,但是有时候很有效。