Author Topic: Install error: "/bin/sh: bad interpreter"  (Read 2463 times)

Wired_Crawler

  • Hydlaa Citizen
  • *
  • Posts: 429
    • View Profile
(No subject)
« Reply #15 on: October 17, 2005, 06:01:56 pm »
@LigH: regarding the problem from Your original post: the error \"bad interpreter: access denied\" usually appears, when you try to start shell script from filesystem, which was mounted with \"noexec\" option (for example cdrom on some distros is mounted with \"noexec\" for security reasons). You can check options of mounted filesystems simply by running \"mount\" comand without parameters. It can be also becaus of other kind of policies set in the system. Try to move the file to other filesystem (/home, /usr) and try again.

@CelticAngel: I hope You know, how to start terminal emulator in graphics environment (it can be found somewhere in the menu tree).

If You are a new linux user I recommend installing Midnight Commander, a tool similar to Norton Commander (for DOS) or Total Commander (for Windows), It is very useful program. In Fedora, after opening terminal window:
- type mc (press enter). If You get \"command not found\" message, You should install MC as follows:
 - If You are not root, type \"su -\" (press enter) then give root (administrator) password.
 - now You are root. Type \"yum install mc\" (press enter), wait a while and accept the choice You will be given.
- Now You have Midnight Commander available. As an ordinary (not root) user type \"mc\" (press enter)
- navigate to Planeshift installation file using arrows and enter.
- check, if Planeshift.....bin file has \"execute\" rights set (the filename in mc panel should be green and it should have star mark at the left side)
- if the file is not executable, highlight it and type: chmod a+x
- the file is now ready to execute. Highlight in and press enter. The installer should start.
"Close the world, txEn eht nepO."

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
(No subject)
« Reply #16 on: October 17, 2005, 06:40:49 pm »
@ Wired_Crawler:

That is well possible - indeed...

Oh, if I just knew all the possible mounting options, which do exist at all, which may depend on the partition type, which are useful... The manual is a bit too short on that topic for me.

Gag Harmond
Knight and Ambassador
The Royal House of Purrty

Rolf Blacksmith

  • Hydlaa Resident
  • *
  • Posts: 167
    • View Profile
(No subject)
« Reply #17 on: October 17, 2005, 07:34:36 pm »
@ LigH:

Where did you install Planeshift?

Open a console, go to the directory containing Planeshift, and type \"ls -l planeshift\". What does this command return?
Typing and grammatic errors may be safely ignored, they come without charge ...

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
(No subject)
« Reply #18 on: October 17, 2005, 08:44:41 pm »
@ Rolf:

The installer could not be executed. So the application could not be installed at all.
__

@ Wired_Crawler:

That partition was mounted using the \"user\" option in /etc/fstab - and according to the manual, it implies the option \"noexec\" unless overridden...

I wanted the game to be installed on a shared data partition, formatted with ext2, mounted to /data2 on both Linux systems, and even readable and writable using an ext2ifs driver under Windows (just for testing - no vital data there).

I now changed the entry in /etc/fstab to the following options:

/dev/hdf11           /data2               auto       user,auto,exec,rw     0 0

Now I will try again if the installer will be executed at all.
...

P.S.: Indeed, it worked well now!
« Last Edit: October 17, 2005, 08:52:14 pm by LigH »

Gag Harmond
Knight and Ambassador
The Royal House of Purrty