Oracle 客户端安装错误 - 路径太长 [英] Oracle client installation error - path too long

查看:61
本文介绍了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 客户端安装错误 - 路径太长的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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