Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux Software => Linux Installation Support => Topic started by: sspadhee on June 05, 2007, 04:06:59 PM

Title: Problem with mathematica 5.2 installation(bad interpreter: Permission denied)
Post by: sspadhee on June 05, 2007, 04:06:59 PM
Dear Friends,
I have just  installed Fedora Core 6 in my system. For last few days I am trying to install Mathematica 5.2  in it. I am jumping to the folder where MathInstaller file is there and when running the command ./MathInstaller I get the following error message

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

I am doing all  this as root, still I am not able to install Mathematica. I searched in google for help. In one website there is a indication that this may occure due to improper mounting of cd. I tryed to use  mount  and unmount command in shell, both of which are not recognizable in FC6. I have already wasted lot of time in it. PLEASE HELP.  Until unless I install Mathematica in FC6 I can't work then I have to switch to Windows XP which I HATE the most.
Title: Re: Problem with mathematica 5.2 installation(bad interpreter: Permission denied)
Post by: Ricky on June 05, 2007, 04:21:08 PM
Can you give output of your
cat /etc/fstab
may be disk is set to "noexec"
In short, see that the partition in which your files shall get copied / executed is having "noexec" directive, remove that.
Title: Re: Problem with mathematica 5.2 installation(bad interpreter: Permission denied
Post by: sspadhee on June 05, 2007, 04:51:57 PM
output of cat /etc/fstab

raptor@Srikant ~]$ cat /etc/fstab
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
sysfs                   /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

[raptor@Srikant ~]$

how to proceed next ?
Title: Re: Problem with mathematica 5.2 installation(bad interpreter: Permission denied)
Post by: Ricky on June 05, 2007, 10:02:51 PM
Modify your following line
Code: [Select]
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1to
Code: [Select]
/dev/VolGroup00/LogVol00 /                       ext3    defaults,exec        1 1
Then tell me if it solves or not (you may have to remout or simply restart system)
Title: Re: Problem with mathematica 5.2 installation(bad interpreter: Permission denied
Post by: sspadhee on June 06, 2007, 04:50:17 AM
no it didn't  worked. it is showing same error.
Title: Re: Problem with mathematica 5.2 installation(bad interpreter: Permission denied)
Post by: Ricky on June 06, 2007, 09:52:52 AM
Where are  mathmatica installation files are residing ?
copy them on root partition and then execute if they are on other partition.
Also give me output of
Code: [Select]
fdisk -l
May be you can add "user" also..
Code: [Select]
/dev/VolGroup00/LogVol00 /                       ext3    defaults,user,exec        1 1
Title: Re: Problem with mathematica 5.2 installation(bad interpreter: Permission denied
Post by: sspadhee on June 06, 2007, 10:04:13 AM
Dear Ricky,
the  fdisk -l command is not working in FC6 , is there any other command for it ? My Mathematica installation folder is in cd drive only. Shall I copy them to root folder then try ? let me try to  "user" and get back to you.

Thanks for your help.
Title: Re: Problem with mathematica 5.2 installation(bad interpreter: Permission denied
Post by: Ricky on June 06, 2007, 10:17:04 AM

Copy it to drive and then try and let me know.
What error you are getting when trying to run "fdisk -l"
Title: Re: Problem with mathematica 5.2 installation(bad interpreter: Permission denied
Post by: sspadhee on June 06, 2007, 03:47:42 PM
Hi Ricky,
Thanks, thanks and thanks a million, it worked. I copyed the whole folder to root home folder and the ./MathInstaller command worked. I am now working in mathematica.

If you have time can you please explain what was the error. I am not a new user to Linux, but I have the root pw now. I realy want to understand Linux properly. Can you please suggest the best way to approach so that I will not waste 3 days for installation of any essential software.

Follwing is the error I got for "fdisk -l"
bash: fdisk: command not found

Thanking you again I remain
Srikant
Title: Re: Problem with mathematica 5.2 installation(bad interpreter: Permission denied)
Post by: Ricky on June 06, 2007, 04:31:18 PM
Your CD device filesystem was not having execution right, hence it was file on it so was giving error.
I was earlier thinking that it is residing on hardisk.

try running with root!