This content has been marked as final. Show 7 replies
Please post the complete error message.
Make sure you run RapidWiz as root user and verify that the permission of the stage area directory is set to 777.
Thanks very much for your response. The full message is below
**./rapidwiz: /media/EXTERNAL/Stage11i/startCD/Disk1/rapidwiz/bin/runWizard.sh: /bin/sh: bad interpreter: Permission denied**
Did you verify the permission on the stage area directory as requested in my previous reply?
Thanks very much for your help, I did set the permission onthe stage area to 777 using the chmod command or if you have any other way you think might help please state clearly .
I still believe it is something with the permission.
What is the default shell of the user? What if you change it, do you get the same error?
user464343 wrote:I'm reaching a little, but: is this truly an external mount point (network mount, like samba or NFS)? Is there any chance that the network volume is mounted read-only, or with the noexec flag set (check /etc/fstab)? If a volume is mounted noexec or read-only, then having execute permissions on individual files won't help at all.
./rapidwiz: */media/EXTERNAL/*Stage11i/startCD/Disk1/rapidwiz/bin/runWizard.sh: /bin/sh: bad interpreter: Permission denied
If this is an NFS mount, is it exported with all_squash or root_squash? These last two options have the effect of mapping requests issued by root to the user 'nobody', often with unexpected/undesirable results.
Not Sure if this issue is still open.
Recently I faced the same issue while executing/running ./rapidwiz (from stage area ) from External usb disk with ext2 file system. Basically I was trying to install R12.0.4 on OEL 5 Platform,
I was getting the same error PERMISSION DENIED /bin/sh bad interpreter. I started experimenting many different things to start with chmod,chown ...and also having a manual entry in /etc/fstab for the external drive but nothing worked out.
After hour's(3-4)of googling around I could finally fix it OLAH ...
Firstly if some one see's the similar issue (assuming the similar senario as well ...stage created on External usb HD)
1) Check the out put of the "mount" command.
If it is /media/usbdisk (rw, noexec,nosuid) * -- this the culprit ** you would never be able to run/execute any program or executable within this disk.
2) Fix it -- use below command.
mount -0 remount rw /media/usbdisk .
3) And upon re-running " mount" cmd, u'll see below output.
**/media/usbdisk (rw) -- observe we don't c the noexec, nosuid from first run.
--uh!! Phew !!
And the installation start ...with no issue's ... I hope this will be usefull for other novie like me ..:-)