代码改变世界

Windows平台安装Oracle11.2.0.4客户端报错INS-30131

2020-07-29 06:39  AlfredZhao  阅读(1164)  评论(0编辑  收藏  举报

之前为解决EXP-00003错误给出了安装Oracle11.2.0.4的解决方案,自己测试是没问题的,客户自己安装反馈遇到报错INS-30131,MOS有一篇文章:

  • E1: DB: Error INS-30131 While Installing Oracle 32 or 64 Bit Client 12.1.2.0 with Windows OS (Doc ID 2100301.1)

虽然MOS提到的版本是12.1.2.0,但是实际验证客户安装11.2.0.4版本客户端遇到的也是一样的问题。
MOS提供的solution如下:

Follow these steps to complete the installation.

1. Enable administrative share for C$ ( Consult your Windows System Administrator for this) Refer Microsoft document http://support.microsoft.com/kb/314984 for details.
2. Verify if the share is enabled using below steps:

- 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 of 32 Bit Oracle Client
4. Remove the administrative share again

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 -ignorePrereq -J"-Doracle.install.db.validate.supportedOSCheck=false"

总结就是两种解决方案:
方案一是启用c$的共享,安装完毕后可以取消。
方案二属于Workaround,即通过ignorePrereq参数进行安装,需注意安装客户端和服务端的参数有区别。

实际客户环境,通过方案一,启用c$的共享后即可顺利安装。