AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / dba / 问题 / 102022
Accepted
user1578653
user1578653
Asked: 2015-05-21 03:02:39 +0800 CST2015-05-21 03:02:39 +0800 CST 2015-05-21 03:02:39 +0800 CST

Oracle 12c 客户端安装程序错误

  • 772

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

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

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

以下是我尝试过的几件事:

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

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

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

oracle installation
  • 3 3 个回答
  • 27106 Views

3 个回答

  • Voted
  1. Best Answer
    Balazs Papp
    2015-05-22T00:34:00+08:002015-05-22T00:34:00+08:00

    install/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
    

    这是不正确的,因为您需要 32 位版本 (x86)。

    现在,如果您检查 stage/ext/bin,则有一个文件 vcredist_x86.exe,显然没有 x64,因为它是一个 32 位安装程序。尝试编辑 oraparam.init 并将上面的行修复为:

    MSVCREDIST_LOC=vcredist_x86.exe
    

    另一种可能性是您需要手动安装 Microsoft C++ 2010 Redistributable:http: //www.microsoft.com/en-us/download/confirmation.aspx?id=5555

    • 4
  2. nieve
    2015-07-31T01:27:42+08:002015-07-31T01:27:42+08:00

    如果有人会在安装了 oracle express 的 Windows 7 上收到此错误 - 卸载 express 为我解决了这个问题。

    • 0
  3. Hyon
    2015-10-20T13:38:55+08:002015-10-20T13:38:55+08:00

    在安装 Oracle 客户端(任何版本)时,我们通过安装具有 .NET Framework 3.5 和 4.0 功能的 IIS 来准备服务器。如果没有 .NET Framework 3.5,Oracle Net Config Assist 似乎会失败。我相信 C++ 2010 Redistribution 包含在 3.5 中。同样对于 12 位、32 位,我们需要修复 install/oraparam.ini,就像前面的人说的那样。

    • 0

相关问题

  • Oracle 中的数据库备份 - 导出数据库还是使用其他工具?

  • ORDER BY 使用文本列的自定义优先级

  • 舒服的sqlplus界面?[关闭]

  • 如何在数据库中找到最新的 SQL 语句?

  • 如何使用正则表达式查询名称?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    连接到 PostgreSQL 服务器:致命:主机没有 pg_hba.conf 条目

    • 12 个回答
  • Marko Smith

    如何让sqlplus的输出出现在一行中?

    • 3 个回答
  • Marko Smith

    选择具有最大日期或最晚日期的日期

    • 3 个回答
  • Marko Smith

    如何列出 PostgreSQL 中的所有模式?

    • 4 个回答
  • Marko Smith

    列出指定表的所有列

    • 5 个回答
  • Marko Smith

    如何在不修改我自己的 tnsnames.ora 的情况下使用 sqlplus 连接到位于另一台主机上的 Oracle 数据库

    • 4 个回答
  • Marko Smith

    你如何mysqldump特定的表?

    • 4 个回答
  • Marko Smith

    使用 psql 列出数据库权限

    • 10 个回答
  • Marko Smith

    如何从 PostgreSQL 中的选择查询中将值插入表中?

    • 4 个回答
  • Marko Smith

    如何使用 psql 列出所有数据库和表?

    • 7 个回答
  • Martin Hope
    Jin 连接到 PostgreSQL 服务器:致命:主机没有 pg_hba.conf 条目 2014-12-02 02:54:58 +0800 CST
  • Martin Hope
    Stéphane 如何列出 PostgreSQL 中的所有模式? 2013-04-16 11:19:16 +0800 CST
  • Martin Hope
    Mike Walsh 为什么事务日志不断增长或空间不足? 2012-12-05 18:11:22 +0800 CST
  • Martin Hope
    Stephane Rolland 列出指定表的所有列 2012-08-14 04:44:44 +0800 CST
  • Martin Hope
    haxney MySQL 能否合理地对数十亿行执行查询? 2012-07-03 11:36:13 +0800 CST
  • Martin Hope
    qazwsx 如何监控大型 .sql 文件的导入进度? 2012-05-03 08:54:41 +0800 CST
  • Martin Hope
    markdorison 你如何mysqldump特定的表? 2011-12-17 12:39:37 +0800 CST
  • Martin Hope
    Jonas 如何使用 psql 对 SQL 查询进行计时? 2011-06-04 02:22:54 +0800 CST
  • Martin Hope
    Jonas 如何从 PostgreSQL 中的选择查询中将值插入表中? 2011-05-28 00:33:05 +0800 CST
  • Martin Hope
    Jonas 如何使用 psql 列出所有数据库和表? 2011-02-18 00:45:49 +0800 CST

热门标签

sql-server mysql postgresql sql-server-2014 sql-server-2016 oracle sql-server-2008 database-design query-performance sql-server-2017

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve