重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3522|回复: 0
打印 上一主题 下一主题

[Oracle] windows上使用dbca配置时报错errors with oranjni12.dll

[复制链接]
跳转到指定楼层
楼主
发表于 2020-10-13 18:32:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在Windows上安装oracle12c使用dbca进行配置或使用Net Configuration Assistance配置监听时,出现报错:errors with oranjni12.dll: Can't find dependent libraries
通过参考官方文档
1599940.1,可以寻求可行的解决方法
现象:

While installing database 12c release 1 , Installation fails when launching the Net Configuration Assistance.
With the following error :INFO: Read: UnsatisfiedLinkError exception loading native library: oranjni12
ADVERTENCIA: Skipping line: UnsatisfiedLinkError exception loading native library: oranjni12
INFO: Read: java.lang.UnsatisfiedLinkError: C:\app\oracle\product\12.1.0\dbhome_1\BIN\oranjni12.dll: Can't find dependent libraries
ADVERTENCIA: Skipping line: java.lang.UnsatisfiedLinkError: C:\app\oracle\product\12.1.0\dbhome_1\BIN\oranjni12.dll: Can't find dependent libraries
INFO: Stderr Read: java.lang.UnsatisfiedLinkError: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
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)



可能的原因:
1.A Newer Version than Microsoft Visual C++ 2010 stops the installer
2.oraparam.ini in staging directory has following wrong entry
   MSVCREDIST_LOC=vcredist_x64.exe
   An unpublished bug 19150620 is logged .

解决方法:
1.若是1原因引起的,安装较低版本的Microsoft Visual C++
Install the Microsoft Visual C++ 2010 Redistributable Package (x64) or Microsoft Visual C++ 2010 SP1 Redistributable Package
For Oracle Database 32-bit Client installation on 64-bit windows server,
"Microsoft Visual C++ 2010 x86 Redistributable " package is needed ( x86 in package name denoted 32-bit version and x64 denoted 64-bit version of package )
From the link :http://www.microsoft.com/en-us/download/confirmation.aspx?id=5555
Retry the Installation.

2.若是2原因引起的,需要修改文件里的参数
edit and modify <stage dir path>/client/install/oraparam.ini file under staging directory
MSVCREDIST_LOC=vcredist_x64.exe
to
MSVCREDIST_LOC=vcredist_x86.exe
restart the installation




分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-6-26 11:04 , Processed in 0.095771 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表