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來避免。