Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

oracle9.2.0.1 install issue on AIX

Status
Not open for further replies.

nyck

Technical User
Mar 10, 2004
447
GB
I'm in the process of installing oracle9.2.0.1 server onto my AIX5.2 server and I'm having a very strange error message. I'm at the stage where its asking me to run a configuration script called root.sh, so I have cd'd to the area where I run this script and try to run it, but it keeps on failing with the following error message:-

/ora1/app/oracle/product/9.2.0.5/root.sh: test: Syntax error

Anyone got any ideas on this?

about two months ago I installed 9.2.0.7 on this particular server and had no issues what so ever!
 
Hi, nyck

Are you running this with root-level permissions?

Regards,


William Chadbourne
Oracle DBA
 
And what shell are you using (echo $SHELL)? ksh usually works fine for oracle-installations.
You may turn on trace (in ksh) with
Code:
set -x
and find out what statement causes the trouble. I guess it's the check for logfile, which should be no problem if commented out (the entire block of course).

Stefan
 
Hello,

Yes i am trying to run this as the root user, the root user is using the ksh. I must of installed oracle about 20 times in the last 3 months or so and I have never seen this error before!

I will give this another go tomorrow using set -x and I will get back to you with the results!
 
I have just tried this install again and I'm still getting the same issue:-
# set -x
# ./root.sh
+ ./root.sh
./root.sh: test: Syntax error

I have also tried running this on another AIX5.2 server and I get the same problem, but it works fine on AIX5.3. The strange thing is that I have installed oracle 9.2.0.5 & 9.2.0.7 on our AIX5.2 servers before and did not have this issue!
 
Can you post the line containing the test statement which is failing?

Alan Bennett said:
I don't mind people who aren't what they seem. I just wish they'd make their mind up.
 
This is the strange this as I have had a look through the root.sh file and cannot find anything that mentions test.

I think I'm going to log an oracle tar for this issue as it just does not make sense. If I can an answer on how to resolve this I will post it!
 
The test may not necessarily use 'test' in it's construction.

Alan Bennett said:
I don't mind people who aren't what they seem. I just wish they'd make their mind up.
 
Sorry, meant to put an example from one of our root.sh scripts:

if [ "x${LOG}" = "x" -o "${LOG}" = "" ]; then

The square brackets provide the 'test' condition.

Alan Bennett said:
I don't mind people who aren't what they seem. I just wish they'd make their mind up.
 
got it working!

I was able to run the script with the following syntax:-

. ./root.sh

All my other Oracle installs on HP & Sun work perfectly fine with ./root.sh

cheers for all the response on this annoying issue
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top