Rajesh Fowkar typed:
> 
> <snap>
> oracle@rajesh:/u01/app/oracle/product/8.1.5/bin > ./svrmgrl
> bash: ./svrmgrl: Permission denied
> oracle@rajesh:/u01/app/oracle/product/8.1.5/bin > bash svrmgrl
> svrmgrl: svrmgrl: cannot execute binary file
> <snap>
> 
Check the permissions of the file svrmgrl. Very likely that it doesn't 
have execute permission.

If the file is a shell script, it can be executed by bash (by the 
command "bash filename") even if it doesn't have execute permission. 
(Just needs read permissions). But bash cannot do the same for 
binaries.

I think the files on your CD aren't marked as executables. Or as 
someone else pointed out, your fstab entry for cdrom doesn't allow 
execution from it. (If you have the option "user" in our fstab line, 
you have to explicitly specify the "exec" option also in order to 
execute binaries from the CD - Check out "man mount" for details)

Kala

-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to