PDA

View Full Version : Cannot start server


Degas
25-10-2004, 15:48
First of all, I'm forced to run on FreeBSD 4.8-RELEASE. I've read everything I can find on making TeamSpeak work in that environment. I really haven't seen anything to help. None of the solutions seem to apply.

I created a directory in home/<username>/ and named it "teamspeak2". I uploaded the latest Linux server version into that folder. I extracted using bzip2 and installed with the "tar -xvf..." command. All went as expected, and the /home/<username>/teamspeak2/tss2_rc2 directory was created with all directories and files present.

Here is the actual copied text from PUTTY (after the install, trying to start server):
-bash-2.05b$ ls
ts2_server_rc2_20201.tar tss2_rc2
-bash-2.05b$ cd tss2_rc2
-bash-2.05b$ ls
INSTALL manual.html
INSTALL.mysql mysql_sql
Manual server_linux
README sqlite.so
changelog.txt sqlite_sql
httpdocs tcpquerydocs
libsqlmy.so teamspeak2-server_startscript
-bash-2.05b$ ./teamspeak2-server_startscript start
-bash: ./teamspeak2-server_startscript: /bin/bash: bad interpreter: No such file or directory

This tells me that the path set out in the startscript for the /bash file is not correct, so I decided to find out where that file is on my server
-bash-2.05b$ which bash
/usr/local/bin/bash
OK, I opened up the script and checked. The first line points to "#! /bin/bash". When I changed it to read "#! /usr/local/bin/bash", and copied the changed script into the /tss2_rc2 directory, I got the following error message:
-bash-2.05b$ ./teamspeak2-server_startscript start
: bad interpreter: No such file or directorylocal/bin/bash
-bash-2.05b$
I went into the server and checked that path, and there IS a bash file there. This is my first problem, it would seem.

Next, I decided to see if I could start the server using "./server_linux". You will see the results below:
-bash-2.05b$ ./server_linux
ELF interpreter /compat/linux/lib/ld-linux.so.2 not found
Abort trap
-bash-2.05b$

Unless I'm mistaken, I've got two problems here. First, the startscript isn't finding the /bash file. Second, linux compatibilities don't seem to be correct, or not working or something.

I knew going in that trying to get Teamspeak working on FreeBSD was going to be a pain. I guess there is some consolation in knowing I was right ;)

Can anyone point me toward the beginnings of a solution to these problems? The sticky'd thread above about getting TS to work in FreeBSD is almost 2 years old and is severely out-dated. I can't find anything to help in there...especially since it refers to an out-dated version of the Linux Server software!

Thanks in advance...

NghtHawk
27-10-2004, 16:54
It might be as simple as changing directories before you start the server. Did you change to /home/<username>/teamspeak2/tss2_rc2 ?

Degas
28-10-2004, 14:29
Thanks for the reply. Yeah, I was in the correct directory, otherwise it would have returned an error "no such file" when I typed in "./teamspeak2-server_startscript start".

There is a clue here I'm too incompetent to read. That's the change in the error syntax when I go into the startscript and change the first line. You'll notice that, with an unchanged first line in the default startscript, the error reads:

-bash: ./teamspeak2-server_startscript: /bin/bash: bad interpreter: No such file or directory

When I change that first line from "#! /bin/bash" to read "#! /usr/local/bin/bash" and try to start the server the error message changes to read:

-bash-2.05b$ ./teamspeak2-server_startscript start
: bad interpreter: No such file or directorylocal/bin/bash

I've tried it with and without the space and the beginning "/", and I just can't get it to work, dangit :mad:

I'm just about to the point where I'm going to go looking for someone I can hire to get this thing installed.

Degas
28-10-2004, 14:48
Progress, by gawd!!

My mistake was in trying to edit the startscript in Wordpad instead of Notepad. When I changed the first line to read "#! /usr/local/bin/bash" using Notepad, the error message changed to something brand new:

-bash-2.05b$ ./teamspeak2-server_startscript start
starting the teamspeak2 server
ELF interpreter /compat/linux/lib/ld-linux.so.2 not found
./teamspeak2-server_startscript: line 92: 79354 Abort trap ./server_linux -PID=tsserver2.pid

It's now time to start searching these forums for those error messages.

Degas
04-11-2004, 14:13
Still no luck on this issue. Can anyone point me in the right direction?

NghtHawk
04-11-2004, 20:29
Install or re-install linux_base-8 in /usr/ports/emulators.

Randall_James
05-11-2004, 14:54
when you say "Forced" to run FreeBSD is that because you are renting server space on the web?

Degas
07-11-2004, 15:40
Exactly, Randall. In order for TS to work, you have to be able to open UDP ports. Shared servers are not an option, because no one will open UDP ports into a shared server. So your only option is either a dedicated server or one of the new "virtual" servers. Virtual Servers are a fairly new development in hosting. You actually share hardware with others, but you are in what is called a "jailed" server. This means you have what amounts to a dedicated server at a substantially reduced cost. My current plan is 10 GB storage and 100 GB throughput for 20 USD/month.

The downside of that is that it runs on FreeBSD 4.8-RELEASE. Trying to run that server is NOT user-friendly. FreeBSD is open-source. Which means it's free. Which means it's not supported very well. But more and more hosting companies are using FreeBSD simply because it's, well, Free ;) Linux has gotten squirrely, not to mention greedy. With Fedora and Debian, they're moving into "Pay me for this software!" mode.

It doesn't appear that the people at Teamspeak are interested in developing a port of their software for FreeBSD, or even in helping out those of us trying to make it work in that environment.

I guess they are too busy trying to make money under their new "business model", where they charge license fees to companies like Online Stomping Ground, who rent Teamspeak servers. I can't say I blame them for that...this world is all about the money, unfortunately. I just wish they wouldn't have left us non-commercial users eating their dust by the side of the road :(

CBA
13-01-2005, 20:17
Hmm anyone has this fixed ?
I've got the same problem :)

-SBC-Viper
14-01-2005, 05:32
I'am having the same prob to except running Fedora

CaptViper
14-01-2005, 06:54
i keep seeing every saying to type in a command to activate the server i have extracted the file and i have the folder tss2_rc2 in my directory but where do i type in those commands to start the server i know the command but where do i put them in at in the Address bar, FTP program where i am using windows 98 and i am trying to get the server running on my Web Site Server

please can someone help me?