Oracle12c client安裝報錯[INS-20802] Oracle Net Configuration Assistant failed完美解決

Doc ID 2082662.1

1.錯誤碼

Installation Of Oracle Client 12.1.0.2.0 (32-bit) Fails With An Error Message "[INS-20802] Oracle Net Configuration Assistant failed

2.問題描述

在window 7安裝Oracle Client12C的時候遇到INS-20802 Oracle Net Configuration Assistant失敗的問題,百度了很多都沒有說到好的解決方案。

後來上MetaLink上查到Doc ID 2082662.1。完美的解決了這一問題。

Symptoms

 

installActions.log says

INFO: Read: java.lang.UnsatisfiedLinkError: C:\app\oracle\product\12.1.0\client_1\BIN\oranjni12.dll: Can't find dependent libraries
WARNING: Skipping line: java.lang.UnsatisfiedLinkError: C:\app\oracle\product\12.1.0\client_1\BIN\oranjni12.dll: Can't find dependent libraries

WARNING: Skipping line: Oracle Net Services configuration failed.  The exit code is 1
INFO: Completed Plugin named: Oracle Net Configuration Assistant

Cause

Oracle 12c Installer setup has Wrong value in file install/oraparam.ini for MSVCREDIST_LOC

From oraparam.ini

#MSVCREDIST_LOC flag will provide the name of the exe that is being shipped in stage/ext/bin
MSVCREDIST_LOC=vcredist_x64.exe
即Installer識別了錯誤的值,我們打開install/oraparam.ini這個文件可以看到MSVCREDIST_LOC=vcredist_x64.exe
實際上我們的文件是vcredist_x86.exe,所以導致了這個問題。

Solution

Installation of Oracle Net Configuration Assitant requires Microsoft C++ 2010 Redistributable (vcredist_x86.exe). If RTL is missing then Installation will fails with error message [INS-20802] Oracle Net Configuration Assitant failed"

Oracle 12C 32 bit client Installer should install the RTL automatically during the installation. However the oraparam.ini has wrong value for MSVCREDIST_LOC(Instead of vcredist_x86.exe) so installer fails to install RTL that is reason for installation of configuation Assitant to fail.

Follow the below instructions to resolve the issue.

1. Install Microsoft C++ 2010 Redistributable (vcredist_x86.exe) from the Installer location X:\client32\stage\ext\bin

意思就是先去軟件目錄:\client32\stage\ext\bin下安裝vcredist_x86.exe這個先。

2. Now click on retry

重新安裝就完美了。

Note : For avoiding the issue during the installation, edit the value for MSVCREDIST_LOC=vcredist_x86.exe in oraparam.ini
這裡也可以直接編輯MSVCREDIST_LOC=vcredist_x86.exe來避免。

转载于:https://www.cnblogs.com/guilingyang/p/5418368.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值