Tremulous Forum
General => Troubleshooting => Topic started by: Smokey on May 15, 2006, 03:55:53 am
-
im trying to run a trem server on my box..
i have the .run file in /root/trem/
here is error i get:
root@arena-zone [~]# cd trem
root@arena-zone [~/trem]# ./tremulous-1.1.0-installer.x86.run
-bash: ./tremulous-1.1.0-installer.x86.run: Permission denied
root@arena-zone [~/trem]# ./tremulous-1.1.0-installer.x86.run
Verifying archive integrity... All good.
Uncompressing Tremulous 1.1.0...............................................................................................................................................................
./tremulous-1.1.0-installer.x86.run: ./setup.sh: /bin/sh: bad interpreter: Permission denied
root@arena-zone [~/trem]#
-
Ok, the installer is claiming your /bin/sh shell is not there, or incorrectly setup. I seriously doubt this is the case, but check anyway.
What happens when you just type /bin/sh at the command line? (You should get a bash prompt back, type 'exit', and you'll return to your previous shell.)
/bin/sh is usually a link to /bin/bash. You might try 'ls -l /bin/sh' to confirm this. The correct output will show something that looks like one of these lines:
lrwxrwxrwx 1 root root 4 2006-02-18 01:22 /bin/sh -> bash
-rwxr-xr-x 1 root bin 94560 2002-06-02 12:13 /bin/sh
Although, I suspect your system would have failed to boot correctly if this wasn't setup right (the boot system is based on shell scripts, which usually reference /bin/sh instead of /bin/bash for compatibility reasons, eg., FreeBSD uses /bin/ash as the main interpreter which is backwards compatible with /bin/sh, like bash, but not fully compatible with bash, so you'd write in the common subset, and use /bin/sh as the interpreter to be cross platform).
Jeff
-
Ok, going in order.
I checked and it IS there.
When i type /bin/sh i get:
root@arena-zone [~]# /bin/sh
sh-2.05b# exit
exit
When i type ls -l /bin/sh i get:
root@arena-zone [~]# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 May 12 19:53 /bin/sh -> bash*
root@arena-zone [~]#
Ok... i rebooted my server..and its running CentOS
-
so..any other fixes?
-
try
./tremulous-1.1.0-installer.x86.run --keep
enter the newly created directory and look for setup.sh
execute it.
same error?
check file permissions
What filesystem is /root using?
Maybe some mount-flags disable the execution.
Post your /etc/fstab.
what architecture is your OS using?
-
ahh fixed!!! i had to remount /tmp without noexec
-
Why do people use noexec anyway? It's not like it improves anything and just causes compatibility issues like this.
-
grrr
lqqqqqqqqqqqqqqqqqqq Request qqqqqqqqqqqqqqqqqqqqk
x Installation complete! x
x Would you like to start now? x
x x
tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq u
x < Yes > < No > x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq j
/usr/local/bin/tremulous: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory
root@arena-zone [/usr/games/trem]#
root@arena-zone [/usr/games/trem]#
-
/usr/local/bin/tremulous: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory
root@arena-zone [/usr/games/trem]#
root@arena-zone [/usr/games/trem]#
If you're running a dedicated server use tremded instead of tremulous.
If you want this to be a client, either install SDL, or use the binary I made compiled statically to libSDL here:
http://tjw.org/tremulous/static-SDL/
-
there is no tremded file for some reason...
-
Oh, I think that's one of the checkboxes you see in the installer. It is not checked by default.