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

查看:277
本文介绍了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.

解决此问题:

Work around this:

  • 第1步:将"path"变量的值复制到文本编辑器(例如:记事本)中,并将该值另存为备份.
  • 第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天全站免登陆