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
-
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.
-
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.
-
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 ?
-
Modify your following line
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
to
/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)
-
no it didn't worked. it is showing same error.
-
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
fdisk -l
May be you can add "user" also..
/dev/VolGroup00/LogVol00 / ext3 defaults,user,exec 1 1
-
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.
-
Copy it to drive and then try and let me know.
What error you are getting when trying to run "fdisk -l"
-
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
-
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!