Windows Server 2012安裝Oracle 11204報錯INS-30131

你好我是李白發表於2020-06-05

現象

之前安裝了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 )

2. Check that it is ok:

- net use \\<hostname>\c$ should work

- dir \\<hostname>\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.....


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31439444/viewspace-2696420/,如需轉載,請註明出處,否則將追究法律責任。

相關文章