LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /bin/sh: bad interpreter: Permission denied (https://www.linuxquestions.org/questions/linux-newbie-8/bin-sh-bad-interpreter-permission-denied-842514/)

nbeayni 11-05-2010 05:35 AM

/bin/sh: bad interpreter: Permission denied
 
hello all,

I am installing Oracle 11g on Oracle Enterprise Linux 5.0 32 bit (virtual machine)
i did all the mandatory steps, i am trying to run the installer but i am facing the below:

bash: ./runInstaller: /bin/sh: bad interpreter: Permission denied


your help is appreciated.

knowing that the run isntaller is found in an iso file, in which i linked the VMwarre CD/DVD drive to it

alli_yas 11-05-2010 06:55 AM

Hi

Firstly, as what user are you trying to run the script? Make sure the user you're logged in as has write and execute permissions on the containing directory and the script itself.


If that doesn't solve the problem:
How did you copy the Oracle installation over to your OEL VM? Try running:

Code:

# dos2unix runInstaller
This should solve the problem.

Skaperen 11-05-2010 08:18 AM

From within the directory where "runinstaller" is found, try this command and report its results:

ldd runinstaller

nbeayni 11-05-2010 08:19 AM

no it was not solved any other solutions ?

nbeayni 11-05-2010 08:21 AM

not a dynamic executable
this what i got when i run : ldd runInstaller


All times are GMT -5. The time now is 07:33 AM.