Operating System - HP-UX
1833881 Members
1641 Online
110063 Solutions
New Discussion

Re: Passing Multiple parameters to set a Oracle Environment Variable

 
Jai Harikrishnan
Occasional Advisor

Passing Multiple parameters to set a Oracle Environment Variable

Hi All,

During the course of Oracle Installation, one of the installation file had the following problem.

Results of execution of some of the lines from the file:

$ TOPLEVEL_COMPONENT = "oracle.server","8.1.7.0.0"}
(Executed Okay)
$ DEPENDENCY_LIST={ "oracle.rdbms","8.1.7.0.0", "oracle.options","8.1.7.0.0"}
sh: oracle.rdbms,8.1.7.0.0,: not found.
(Error)
$ DEPENDENCY_LIST={ "oracle.rdbms","8.1.7.0.0"}

sh: oracle.rdbms,8.1.7.0.0}: not found.
(Gave only two parameters for the env variable, but still error. Compare to the first one. I am stumped. )

Please Help!
6 REPLIES 6
Dave La Mar
Honored Contributor

Re: Passing Multiple parameters to set a Oracle Environment Variable

Jai -
Have you tried explicitly noting the full path to oracle?

Hang in there.
dl
"I'm not dumb. I just have a command of thoroughly useless information."
Jai Harikrishnan
Occasional Advisor

Re: Passing Multiple parameters to set a Oracle Environment Variable

Hi Dave,

How find the full path to Oracle
Here is the file attachment for reference.

Thanks a lot for responding!
Dave La Mar
Honored Contributor

Re: Passing Multiple parameters to set a Oracle Environment Variable

Jai -
Not real clear on what you are doing but ....
Our guys install using the oracle
login user i.d.
The environment variables are in set in the profile for oracle user.
Other than that, they simply run the installler program.

Best of luck.

dl
"I'm not dumb. I just have a command of thoroughly useless information."
Dave La Mar
Honored Contributor

Re: Passing Multiple parameters to set a Oracle Environment Variable

Jai -
On another note, it may be that the { } are cuasing you a headache with multiple vairable values separated by commas.

Try /"xxxx/",/"yyyyy/"

Or, if you need the curly braces, escape out those characters.

dl
"I'm not dumb. I just have a command of thoroughly useless information."
Wodisch
Honored Contributor

Re: Passing Multiple parameters to set a Oracle Environment Variable

Hi Jai,

don't know what you do there, but it's definitely NOT Bourne/Korn-/POSIX-shell syntax!
Syntactically what you do is:
VAR=value

Where "value" is a string, quoted if containing space(s), but must not have spaces around the assignment operator (=).
So your first example has a value of
oracle.server,8.1.7.0.0}

The second DOES have a space outside quotes, so it complains.

The third does have a space following the curly brace, so it's another shell-feature:
VAR=value command
where that variable (VAR) is set ONLY for for the environment of the command (and its value is "{", but the command is
oracle.rdbms,8.1.7.0.0}

which does NOT exist as a codefile on your system, of course.
Having installed literally dozens (more like hundreds) of Oracle8.1.7 servers, I have never encountered that problem, so you did something "different" from the usual install, I suspect...

What do you intent, any way?
What file are you talking about?
What environment variable have you set in the session where you try that installation?

Regards,
Wodisch
Jai Harikrishnan
Occasional Advisor

Re: Passing Multiple parameters to set a Oracle Environment Variable

Gurus,

Due to space restrictions, I was installing Oracle directly from the disk, and the Oracle installer was hanging at this file, not able to execute.

I just ran this file directly from the Unix command prompt as the installer was prompting to check the file. Nevertheless, when I tried installing Oracle from a staging area, this problem did not repeat.

I guess, this is an Oracle Bug, if installed directly from the CD.

Thanks Again!