Oracle 12c 客户端安装程序错误 [英] Oracle 12c client installer error

查看:132
本文介绍了Oracle 12c 客户端安装程序错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在完全干净的 Windows Server 2012 副本上安装 Oracle 客户端 12.1.0.2.0(32 位),但遇到了问题.

I'm trying to install Oracle client 12.1.0.2.0 (32-bit) on a completely clean copy of windows Server 2012, and I'm hitting a problem.

安装程序运行良好,直到进入最后一部分 - 网络配置助手.将出现一条错误消息并指出[INS-20802] Oracle Net Configuration Assistant 失败.".这是生成的日志文件的相关部分(如果需要,我可以发布整个内容,但这是发生实际错误的部分):

The installer runs fine until it gets to the final part - the net configuration assistant. An error message appears and says "[INS-20802] Oracle Net Configuration Assistant failed.". Here's the relevant part of the log file that is generated (I can post the entire thing if requested, but here's the bit with the actual error occurs):

INFO: Read: UnsatisfiedLinkError exception loading native library: oranjni12
INFO: Stderr Read: java.lang.UnsatisfiedLinkError: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
WARNING: Skipping line: UnsatisfiedLinkError exception loading native library: oranjni12
INFO: Read: java.lang.UnsatisfiedLinkError: C:\app\ORACLE_USER\product\12.1.0\client_1\BIN\oranjni12.dll: Can't find dependent libraries
INFO: Stderr Read:  at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
INFO: Stderr Read:  at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
INFO: Stderr Read:  at oracle.net.ca.NetCALogger.getOracleHome(NetCALogger.java:230)
INFO: Stderr Read:  at oracle.net.ca.NetCALogger.initOracleParameters(NetCALogger.java:215)
INFO: Stderr Read:  at oracle.net.ca.NetCALogger.initLogger(NetCALogger.java:130)
INFO: Stderr Read:  at oracle.net.ca.NetCA.main(NetCA.java:433)
WARNING: Skipping line: java.lang.UnsatisfiedLinkError: C:\app\ORACLE_USER\product\12.1.0\client_1\BIN\oranjni12.dll: Can't find dependent libraries
INFO: Read: 
WARNING: Skipping line: 
INFO: Read: Error: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
WARNING: Skipping line: Error: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
INFO: Read: Oracle Net Services configuration failed.  The exit code is 1
WARNING: Skipping line: Oracle Net Services configuration failed.  The exit code is 1
INFO: Completed Plugin named: Oracle Net Configuration Assistant

以下是我尝试过的一些方法:

Here are a few things I have tried:

  • 关闭防火墙
  • 断开网络连接(紧抓不放!)
  • 以管理员身份运行安装程序
  • 从 Oracle 重新下载客户端安装程序,以防它以某种方式损坏

这些都没有任何区别.过去,我已在 Windows Server 2012 PC 上成功安装了此确切版本的客户端,并且运行良好...

None of these things made any difference. I have successfully installed this exact version of the client on a Windows Server 2012 PC in the past and it worked fine...

有没有其他人遇到过这个问题?

Has anyone else encountered this issue?

推荐答案

事实证明,Oracle 12.1.0.2.0 客户端需要先安装 MSVC 2010 可再发行组件.

It turns out that the Oracle 12.1.0.2.0 client needs the MSVC 2010 redistributable to be installed first.

我从这里得到它:https://www.microsoft.com/en-gb/download/details.aspx?id=5555

安装后,Oracle 客户端安装程序运行良好!在 Oracle 文档中的任何地方都找不到它,而且错误消息根本没有帮助...

Once installed the Oracle client installer runs fine! Couldn't find this anywhere in the Oracle documentation, and the error message is not helpful at all...

这篇关于Oracle 12c 客户端安装程序错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆