Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to execute Runinstaller

Alok_Behria
Advisor

Not able to execute Runinstaller

 

Hi All,

 

I am in process of installing 10gr2 on hpux itanium server. I've copied the setup file to target machine and did the unzip.

but , I am really surprised , I am not able to execute runinstaller.

 

-rw-rw-r--   1 orakrnqa   dba           5267 Jan 27  2006 welcome.html
drwxrwxr-x   9 orakrnqa   dba           4096 Jan 27  2006 doc
drwxr-xr-x   4 orakrnqa   dba           4096 Feb  7  2006 install
drwxr-xr-x   2 orakrnqa   dba           4096 Feb  7  2006 response
-rwxr-xr-x   1 orakrnqa   dba           1363 Feb  7  2006 runInstaller
drwxrwxr-x   8 orakrnqa   dba           8192 Feb  7  2006 stage
-rwxr-xr-x   1 orakrnqa   dba          44568 Mar 25 08:25 enterprise.rsp.10gr2
$ ./runInstaller
./runInstaller: /db/kronqa/export/csc/10gr2_setup/database/install/runInstaller: Execute permission denied.
$ /db/kronqa/export/csc/10gr2_setup/database/^C
$ ./db/kronqa/export/csc/10gr2_setup/database/install/runInstaller
ksh: ./db/kronqa/export/csc/10gr2_setup/database/install/runInstaller:  not found

 

5 REPLIES
Dennis Handly
Acclaimed Contributor

Re: Not able to execute runInstaller

What is the first line of runInstaller?  Is Oracle illegally using bash to install on HP-UX?

If so, you'll need to download/install bash.

Alok_Behria
Advisor

Re: Not able to execute runInstaller

 

thanks for the inputs, but i am really not sure , when you say, what is the first line ... ?? what do you need to know ? the default shell , this user uses is ksh. also, how could i know, if oracle illegely using bash here ??

accorind to me , it seems to me a permission issue , which i asked unix folks to give their check against ?

what do you think ?

 

thanks

 

 

Dennis Handly
Acclaimed Contributor

Re: Not able to execute runInstaller

>when you say, what is the first line ...? what do you need to know?

 

The first, "#!" line, of the script .../runInstaller.

 

>how could I know, if oracle illegally using bash here?

 

I told you, check what is on the #! line.  And there was a recent topic on it:

http://h30499.www3.hp.com/t5/Databases/Sql-Developer/m-p/4835547

 

>it seems to me a permission issue

 

That's the problem, it isn't an obvious permission issue and so you are getting a bogus message.  This is a syndrome that the shell doesn't exist.  Especially since you show the script is executable.

Alok_Behria
Advisor

Re: Not able to execute runInstaller

 

 

Yes, you seems to hit the right button. that is what seperate gretes from ordinary. going forward , do i need to change the shell of my user ?

 

#!/bin/sh

# The environment variable $SRCHOME cannot be set during the installation
unset SRCHOME

AWK=/bin/awk

BUNDLE=db
OCR_LOC=/var/opt/oracle/ocr.loc
LOCALONLY=local_only

 

Dennis Handly
Acclaimed Contributor

Re: Not able to execute runInstaller

> you seem to hit the right button.

#!/bin/sh

 

Oops, that's not bash all and /bin/sh should work fine.

And in any case, I was mistaken on the error message.  If your interpreter isn't there, you get a nice message:

interpreter "/bin/sh" not found

... Then:

sh: your-script-name:  not found.

(You also get this if you have a trailing CR because the file was copied from Windows.)

 

Experimenting with the script, you do get that "Execute permission denied." error if the shell doesn't have execute permission or is a directory.

 

So, what does this show: ll /bin/sh

 

>do I need to change the shell of my user?

 

That shouldn't matter.  But what is your shell?

 

>./runInstaller: /db/kronqa/export/csc/10gr2_setup/database/install/runInstaller: Execute permission denied.

 

Perhaps I'm confused on the error message?  Are there two runInstaller files?

What is your pwd?  Is it /db/kronqa/export/csc/10gr2_setup/database/install/?

 

What does this show:

ll /db/kronqa/export/csc/10gr2_setup/database/install/runInstaller