Oracle client installation error - path too long

后端 未结 12 832
温柔的废话
温柔的废话 2021-01-01 09:49

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          


        
相关标签:
12条回答
  • 2021-01-01 10:04

    You can try to run install as administrator.

    Hope it helps

    0 讨论(0)
  • 2021-01-01 10:05

    You could check on the ignore all check box on top right and that should enable the next button to continue further.

    0 讨论(0)
  • 2021-01-01 10:05

    Simple,

    Check path size, if unnecessary things are there removing that, if not, save it as it is. And restart oracle installation process.

    http://hashtutorial.com/plsql-tutorial/plsql-environment-setup/

    0 讨论(0)
  • 2021-01-01 10:07

    But, if you don't have unnecessary paths / repeating paths and you can't shorten it(beware! if you delete some necessary paths it can affect corresponding services!), go by removing some paths before oracle installation and return them after the installation.

    Or, you can manually ADD the oracle path string in the system PATH variable(add it at the start of the string, not at the end) for your oracle installation. As example, if you're installing Oracle 11g R2 in the path "c:\ora" then typically the path string for this will be, C:\ora\product\11.2.0\dbhome\BIN -for server and C:\ora\product\11.2.0\client_1\BIN -for client. :)

    0 讨论(0)
  • 2021-01-01 10:08

    In my case, I couldn't install an 11.2.0.4 32 bit client or the 12.2.0.1 64 bit client also, due to this error. After much investigation, I discovered there appears to be a bug when installing it on Windows 10 Enterprise 1703 as hinted at by this issue:

    https://dba.stackexchange.com/questions/176774/environment-variable-path-exceeding-recommended-length

    In my case, as I was using automation to install this, I ended up recreating my virtual machine as Windows 10 Enterprise LTSC and no longer have this error. In my case, it had nothing to do with the actual path as I had shortened to the point where barely anything was left and it was not enough to resolve the issue.

    0 讨论(0)
  • 2021-01-01 10:17

    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:

    • 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.

    Good luck!

    Extra screenshot

    0 讨论(0)
提交回复
热议问题