Tuesday, October 16, 2012

Environment variable: "PATH"

Environment variable: "PATH" - This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
info:Verification result for node:
info:expected value :1024
info:actual value :3

This test checks whether the length of the environment variable “PATH” does not exceed the recommended length
Ok the above problem causes problems when installing an Oracle 11g
 database on a machine which already has a lot of different software installed, at Seer Computing our Consultant’s machines have Oracle 9i, 10g as well as 11g installed.

So what is the solution to the above problem … the way we get round it is as follows (instructions for Windows XP machine).

1. When the failure occurs during installation of Oracle 11g, click on cancel, you will need to restart the installation from scratch
2. Go to Start -> Control Panel -> System -> Advanced -> Environment Variables (at bottom of the option)
3. Find the Path environment in the System Variables window and edit it, click on it and select all the values within it, paste these into a word document or something and save it. You might wish to see whats needed and what isnt but thats a different problem !
4. Clear the Path environment and simply add a single directory such as c:\app\
5. Start the installation of Oracle 11g again and sit there and wait while it chunders through the processing.
6. Return to the Environment Variables and paste the originals back after the new ones put in by the installation