PlaneShift
Support => Linux Specific Issues => Topic started by: LigH on October 10, 2005, 05:56:35 pm
-
I just downloaded the PlaneShift installer selfexecutor and tried to install it under SuSE 9.3 Pro german, by opening a console and starting it as a shell script; this is the result:
bash: ./PlaneShift_CBV0.3.011.linux.x86-2.run: /bin/sh: bad interpreter: Keine Berechtigung
(\"Keine Berechtigung\" ~ \"access denied\" or \"you don\'t have the required rights\").
I even started a root session (su) but this didn\'t help. The interpreter \"sh\" exists as /bin/sh. The file has the attributes \"u=rwx g=rwx o=r-x\".
Any other ideas where the reason could be?
-
this might be extreme but try this - make a backup copy of the file /bin/sh and then delete it
then make a symbolic link from bash to sh like link -s /bin/bash /bin sh or something like that. Then see if the error persists
-
:O
I only checked the existence, not the details...
\"/bin/sh\" is implemented as a symbolic link on \"/bin/bash\" already. Let\'s see if SuSE 9.3 supports the \"outdated\" interpreter natively at all - but I doubt a bit if it is available for online update.
__
P.S.: No, \"sh\" as a binary is not available for installation.
I\'ll try ith with Ubuntu now, too.
-
I use 9.3 pro and the installer works well (get a seg fault when trying to run the game but thats another issue.)
Haven\'t made any changes to bash all I did was chmod the installer to 777 and ran as user.
*oh and made sure that user was a member of the \"game\" group
-
chmod a+x PlaneShift_CBV0.3.011.linux.x86-2.run
Without that I get the same error message:
bash: ./PlaneShift_CBV0.3.011.linux.x86-2.run: Permission denied
EDIT: Well, \"/bin/sh\" is missing in the error message, but I might have a slightly different version of bash.
-
I just restarted linux (debian/kanotix) and it worked ...
-
@ lanser:
\"game\" group? What \"game\" group? I never created a group named \"game\". I didn\'t know that an installer prefers a group called \"game\" over being logged in as root when installing...
__
@ Bereror:
I already documented the attributes, they were sufficient (775 -- \"others\" shouldn\'t need write access).
__
In general:
Under Ubuntu, I was able to install the game (after installing the \"dialog application\"). And afterwards, I could play it under SuSE - next step: checking the nVidia driver installation under Ubuntu...
-
Originally posted by LigH
@ lanser:
\"game\" group? What \"game\" group? I never created a group named \"game\". I didn\'t know that an installer prefers a group called \"game\" over being logged in as root when installing...
On running the installer you get the following: (http://img118.imageshack.us/img118/8995/snapshot19cg.th.png) (http://img118.imageshack.us/my.php?image=snapshot19cg.png)
well I do anyway so I made sure that my $user is a member of games as well as chmod 777 :)
**edit: most wierd I\'ve just tried again and it will even run from a double click in Konqueror
-
I did not even get that far. SuSE Linux did not even start the installer shellscript part at all, it looks to me. And I ran the installer as user \"root\".
Or maybe, I could try to run the installer with some \"extra-verbose\" option to get a maximum of debugging messages?
-
I think people are getting confused between the various Linux installers going around. Platyna\'s one was a *.run, whereas Xordans new one is a *.bin.
I\'ve never tried Platyna\'s installer, but it seems to be unmaintained anyway (I guess it should still work until the next update though). Xordans is the new one to use, although at the moment I think it\'s too new - the CVS snapshot it is based on is a little unstable for most people.
The screenshot in lansers post is Xordans, which gives much more options (system wide install or not, game group options, etc).
-
Sorry if I confused the issue but my current set up uses Platyna\'s installer (because of the fore mentioned segfault) which i also chmoded to 777 before running as user :)
-
I don\'t know about \"the one\'s installer\" or \"the other one\'s installer\"; I downloaded the only installer I know, from the italian PlaneShift website.
-
That would be Platyna\'s old second version I prefer to use her first and Xordans is Here (http://www.planeshift3d.com/wbboard/thread.php?threadid=19389&boardid=41&styleid=2)
* pm and I\'ll email or host her first version
-
Ok I am a new linux user, i am using fedora core 3, kde.....i have Planeshift installed, but i dont have any idea as to how to type the commands in the terminal, if someone would help i would greatly appreciate it, (i am not a new PS player)
Orior de Atrum
-
sorry i mean ps downloaded, and i am trying to install
-
@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.
-
@ 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.
-
@ 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?
-
@ 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!