千家信息网

Windows Server 2012安装Oracle 11204报错INS-30131

发表于:2024-09-22 作者:千家信息网编辑
千家信息网最后更新 2024年09月22日,现象之前安装了11201,卸载之后重装11204,一直报错INS-30131,按照网上办法MOS办法检查一遍,依然没有解决问题,在检查临时目录共享权限均无问题之后,通过如下Mos文档解决问题,忽略OS
千家信息网最后更新 2024年09月22日Windows Server 2012安装Oracle 11204报错INS-30131

现象

之前安装了11201,卸载之后重装11204,一直报错INS-30131,按照网上办法MOS办法检查一遍,依然没有解决问题,在检查临时目录共享权限均无问题之后,通过如下Mos文档解决问题,忽略OSCheck。

解决

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)

APPLIES TO:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Generic Windows

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 \\\c$ should work

- dir \\\c$ should work

- 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:

setup.exe -ignorePrereq -J"-Doracle.install.client.validate.clientSupportedOSCheck=false"

For server installs, run the installer with following arguments:

setup.exe -ignorePrereq -J"-Doracle.install.db.validate.supportedOSCheck=false"

解决

setup.exe -ignorePrereq -J"-Doracle.install.db.validate.supportedOSCheck=false"

最后吐槽一下Windows Server,由于对windows了解甚少,所以每次用Windows时都会状况频发,还是Unix Linux好,报错很直观,有什么问题都可以解决,Windows

呃呃呃呃emmm.....

0