November 24, 2024, 11:16:04 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Problem with mathematica 5.2 installation(bad interpreter: Permission denied)  (Read 11481 times)

Offline sspadhee

  • Linux Noob !
  • *
  • Posts: 9
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.
« Last Edit: June 05, 2007, 04:18:47 PM by Ricky »

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
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.

Offline sspadhee

  • Linux Noob !
  • *
  • Posts: 9
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 ?

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
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)

Offline sspadhee

  • Linux Noob !
  • *
  • Posts: 9
no it didn't  worked. it is showing same error.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
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

Offline sspadhee

  • Linux Noob !
  • *
  • Posts: 9
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.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381

Copy it to drive and then try and let me know.
What error you are getting when trying to run "fdisk -l"

Offline sspadhee

  • Linux Noob !
  • *
  • Posts: 9
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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
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!