PDA

View Full Version : Server Installs but cannot launch, warning: n00b


orbital
19-01-2004, 03:20
Downloaded server, did the bzip2 thing, did the tar -xvf thing, entered the directory and did a chmod 755 *.

Trying to start the server...

If I do a './tss.minimal_startscript start' :
I get...
-----
-bash: ./tss.minimal_startscript: /bin/bash: bad interpreter: No such file or directory
----

If I do a './server_linux' or './server_linux start'
I get...
----
-bash: ./server_linux: cannot execute binary file
----

thank you guys in advance, from reading previous posts u all seem pretty cool with the newb helpin so its appreciated =)

Dummer Sack
19-01-2004, 14:47
You are sure that you are in the correct directory wher you do that commands?
Because it seems that bash cannot find the files.
Do cd /path/to/ts/server/install/directory before you type the commands.

Ah, and it is just ./server_linux not ./server_linux start.
But it still is ./tss.minimal_startscript start.

orbital
21-01-2004, 02:31
Originally posted by Dummer Sack
You are sure that you are in the correct directory wher you do that commands?

Yes I went back and checked to make sure and same problem exists.

Ah, and it is just ./server_linux not ./server_linux start.
But it still is ./tss.minimal_startscript start.

Tried both ways and still nothing. :confused:

Dummer Sack
21-01-2004, 14:51
-bash: ./tss.minimal_startscript: /bin/bash: bad interpreter: No such file or directory

Ah I did not read careful enough.
The first line of tss.minimal_startscript is:
#!/bin/bash

But is seems that your bash is not installed in /bin since it cannot find /bin/bash

Type which bash to see where it is installed and enter the full path in the first line of tss.minimal_startscript.

Exaple if bash is in /usr/bin/:
#!/usr/bin/bash

orbital
22-01-2004, 22:44
Originally posted by Dummer Sack
Example if bash is in /usr/bin/:
#!/usr/bin/bash

OK cool, changed the line to #! /usr/local/bin/bash after 'which bash' returned the correct directory.

However, now when I execute with ./tss.minimal_startscript start I get the following error...
---
(orbital@toxic) $ ./tss.minimal_startscript start
ELF binary type "0" not known.
./tss.minimal_startscript: line 9: ./server_linux: cannot execute binary file
---
I have bad luck. :(

Dummer Sack
23-01-2004, 00:28
Don't make a space behind the #!.
You are on x86 linux?
What linux distro/kernel version do you have (uname -a should give you the neccessary info)?

orbital
24-01-2004, 11:46
Originally posted by Dummer Sack
What linux distro/kernel version do you have (uname -a should give you the neccessary info)?

This maybe da prob. Its FreeBSD 5.1, and after reading the 10 pages of the FreeBSD post I gather there is still no compatibility with 5.1 currently, please correct me if I'm wrong. So I give up until a new server version is released. Thank you for your help :)

Dummer Sack
24-01-2004, 14:22
Yes, I think the problem is FreeBSD 5.1.

As far as I know the ts server is not running on 5.1 even if you install linux_base-8 and brandelf the binary.

But you can try. Install linux_base-8 and do:
brandelf -t Linux server_linux

Also check out this thread (http://www.teamspeak.org/forums/showthread.php?s=&postid=44682) and this thread (http://www.teamspeak.org/forums/showthread.php?s=&threadid=4124) (though this is for an older FreeBSD).
Maybe it helps.

smorcube
27-01-2006, 01:02
OK i had the same problem with FreeBSD 6.0, and I have found the solution =)

Just a note, i do not know if this question is answered in another thread, i haven't looked in the forum, this page just turned up in google so... Anyways:

First, you have to change the ELF type of the server_linux executable. cd into your server_linux directory and execute this command:

"brandelf -t Linux server_linux"

For me, this was not enough. I am not to 100% what the following command does, but i think it loads "linux" into the kernel. Anyways, execute this and your teamspeak startshell will work:

"kldload linux"

I am not sure if only the last command was necessary for me. I don't really care though... GL!!