Oracle client installation error - path too long(Oracle 客户端安装错误 - 路径太长)
本文介绍了Oracle 客户端安装错误 - 路径太长的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试安装 Oracle 11g 第 2 版(客户端).但它给出了这样的错误:
I'm trying to install Oracle 11g Release 2 (client). But it gives an error like that :
Environment variable: "PATH" - This test checks whether the length of the
environment variable "PATH" does not exceed the recommended length.
Expected Value: 1023
Actual Value : 1028
List of errors: - PRVF-3929 : Adding the Oracle binary location to the PATH
environment variable will exceed the OS length limit of [ "1023" ] for the
variable on the node "KamalNuriyev-PC" -
Cause: The installer needs to update the PATH environment variable to
include the value "%ORACLE_HOME%/bin;". However, doing so will
cause PATH to exceed the maximum allowable length that this
operating system allows. - Action: Ensure that the sum of the
lengths of your current PATH environment variable and that of
"%ORACLE_HOME%/bin;" does not exceed the operating system limit.
Restart the installer after correcting the setting for
environment variable.
推荐答案
此限制基于较旧的 Windows 限制,其中环境变量的长度很重要.此限制在 Oracle 安装中仍然存在.
This limitation is based on older Windows restrictions, where length of environmental variables was important. This limitation is still there in the Oracle installation.
解决这个问题:
- 第 1 步:将路径"变量的值复制到文本编辑器(例如:记事本)并将该值保存为备份.
- 第 2 步:减小此路径的大小,使其少于 1023 个字符.最后删除路径变量.在 oracle 安装过程中,您通常不需要它们中的任何一个.将这些删除的值保存在单独的文本文件中,因为您稍后需要再次添加它们!
- 第 3 步:再次启动 oracle 安装.
- 第 4 步:Oracle 安装后:再次添加那些删除的路径值在路径末尾.
- Step 1: Copy the value of your 'path' variable to a text-editor (Ex.: notepad) and save this value as backup.
- Step 2: Reduce the size of this path to less that 1023 characters. Remove path variables at the end. You will mostly not need any of them during the oracle installation. Keep those removed values in a separate text-file, because you need to add them again later!
- Step 3: Start the oracle installation again.
- Step 4: After Oracle installation: Add those removed path values again at the end of the path.
祝你好运!
这篇关于Oracle 客户端安装错误 - 路径太长的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
编程基础网
本文标题为:Oracle 客户端安装错误 - 路径太长
基础教程推荐
猜你喜欢
- 如何使用 mysql.connector 禁用查询缓存 2022-01-01
- SQL:使用来自具有相同列名的两个表中的数据... 2021-01-01
- 在 SQL 中连接多个表 2021-01-01
- SSMS 中的权限问题:“对象 'extended_properties'、数据库 'mssqlsystem_resource'、... 错误 229)上的 SELECT 权限被拒绝" 2022-01-01
- 无法解决整理冲突 2021-01-01
- SQL 效率:WHERE IN 子查询 vs. JOIN 然后 GROUP 2021-01-01
- 是否可以执行按位分组功能? 2021-01-01
- 需要 MySQL 5.1 中的抽象触发器来更新审计日志 2021-01-01
- SQL Server 实例在登录协商期间返回无效或不受支持的协议版本 2021-01-01
- 将 SQL Server DateTime 列迁移到 DateTimeOffset 2021-01-01
