View Full Version : Teamspeak 3
hoser1970
12-22-2009, 02:11 PM
Anyone get this working on their server yet? I've got it installed, but can't connect. I had TS2 working just fine.
jknorr
12-23-2009, 06:57 PM
I tried to install it this morning, but I get a "segmentation fault" I cannot seem to find much on this error.
BrainStormXX
12-25-2009, 10:58 AM
Hmm... i am not so far...
Trying with Putty. In the Wiki they said something about a token key thing i must get after the installation... but there is nothing.
Is it possible to write a little guide...???
Here's the steps I took to get this working on my account:
# Download it
wget http://ftp.4players.de/pub/hosted/ts3/releases/beta-9/teamspeak3-server_linux-amd64-3.0.0-beta9.tar.gz
# Uncompress/Unpackage it
tar -xvzf teamspeak3-server_linux-amd64-3.0.0-beta9.tar.gz
# Move to the directory it unpackaged it to
cd teamspeak3-server_linux-amd64
# Edit the default setup
vi sql/defaults.sql
You need to edit lines 9-11 of this file:
insert into bindings (ip, type) values ("0.0.0.0", 0);
insert into bindings (ip, type) values ("0.0.0.0", 1);
insert into bindings (ip, type) values ("0.0.0.0", 2);
Needs to be changed to:
insert into bindings (ip, type) values ("<your dedicated IP here>", 0);
insert into bindings (ip, type) values ("<your dedicated IP here>", 1);
insert into bindings (ip, type) values ("<your dedicated IP here>", 2)
Save the file and exit, then run:
./ts3server_linux_amd64
It will set you up with a default configuration that, when invoked, will bind to your dedicated IP address correctly. It will also create an admin login and password.
The last thing you need to do is contact BH support and have them open up these ports for your dedicated IP:
30033 TCP IN
10011 TCP IN
9987 UDP IN
Once that is done, you *should* be able to connect. I must admit that I didn't really read the instructions and I don't use Teamspeak, so let me know if you run in to any problems.
BrainStormXX
12-26-2009, 01:13 PM
Hmm... dont working. At the end i became this messages:
2009-12-26 20:09:42.430429|INFO |ServerLibPriv | | Server Version: 3.0.0-beta9 [Build: 9527]
2009-12-26 20:09:42.430825|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, (c)TeamSpeak Systems GmbH
2009-12-26 20:09:42.430870|INFO |DatabaseQuery | | dbPlugin version: 3.6.21
2009-12-26 20:09:43.393828|WARNING |Accounting | | Unable to find valid license key, falling back to limited functionality
2009-12-26 20:09:43.895045|ERROR |Accounting | | failed to register accounting service
2009-12-26 20:09:43.895644|ERROR |ServerLibPriv | | Server() error while starting servermanager, error: instance check error
Any idea what i did wrong???
Edit: I asked the support for a root access and get this answer:
verio.com has vps (root access) hosting, so I would get their account to test ts3
:) Realy nice... but how did you get this thing working???
killemall
12-26-2009, 08:59 PM
this is pathetic, 2nd edit. haha.
So I closed putty but now the teamspeak server stoped. food for thought?
Thanks
When you run it, 'nohup' it and add an ampersand to the end of the command (backgrounds it and causes it to fork off from your terminal):
nohup ./ts3server_linux_amd64 > ts3.log &
Doing that you'll be able to log out without it dying.
jknorr
12-28-2009, 02:37 PM
I have followed all instructions and now have a ts3 process running, though I cannot access the web interface. I have called Bluehost and I have confirmed that all needed ports are open.
Elbulus
12-28-2009, 06:25 PM
I have followed all instructions and now have a ts3 process running, though I cannot access the web interface. I have called Bluehost and I have confirmed that all needed ports are open.
At the moment there is no web interface, it's all done from within the client See the following thread: http://forum.teamspeak.com/showthread.php?t=46779
People are working on a web interface but it's gonna be a while as they keep releasing a new BETA of TS3 everyday at the moment.
Heres a link to a Work in Progress webinterface: http://forum.teamspeak.com/showthread.php?t=48163
Also if you ever get the segmentation error and your uploading from an FTP client make sure it's uploading in binary as this can mess it up, if your using wget , then try unpacking the archive again just to make sure
jknorr
12-28-2009, 07:24 PM
Thank you, and yes, I did my original upload via FTP, and the current one through wget.
raidien
12-28-2009, 09:49 PM
Have had mine up and running since beta2, but just registered for the non-profit license today. Since installing, I've been getting the following error:
2009-12-29 04:23:12.200795|DEVELOP | | | TS3ANetwork::Connect failed error: 110
2009-12-29 04:23:12.200933|ERROR |Accounting | | Unable to connect to accounting server
2009-12-29 04:23:12.201466|ERROR |ServerLibPriv | | Server() error while starting servermanager, error: unable to connect to accounting server
Found out the issue is that the server tries to connect to the authorization server on port 2008, and can't with the current firewall setup. Aside from the other ports mentioned by Adam, if you plan on using the license, you will need to have this port opened as well.
Source: http://forum.teamspeak.com/showthread.php?t=47616#3
30033 TCP IN
10011 TCP IN
9987 UDP IN
2008 TCP OUT
GTA-SA-OLLI
12-29-2009, 02:08 PM
hey guys, iīve a little problem, i started the server with the & parameter but if i closed putty, the server shutdown after 1-2 min, but the process is currently running.
somebody an idea ?
raidien
12-29-2009, 04:04 PM
I use a modified script and have cron attempt to start it every 5 minutes... so if the server crashes, longest it will be down is 5 mins...
#!/bin/bash
TS3_DIR="/path/to/teamspeak/directory"
TS3_SERVER_NAME="ts3server_linux_amd64"
TS3_INI_FILE="ts3server.ini"
case "$1" in
start)
TS3_ALREADY_RUNNING=`ps -ef|grep -v grep|grep "${TS3_SERVER_NAME}"|wc -l`
if [ ${TS3_ALREADY_RUNNING} -lt 1 ]; then
cd ${TS3_DIR}
${TS3_DIR}/${TS3_SERVER_NAME} inifile=${TS3_DIR}/${TS3_INI_FILE}
fi
;;
stop)
killall ${TS3_SERVER_NAME}
;;
*)
echo "Usage: 'basename $0' {start|stop}">&2
exit 42
;;
esac
exit 0
here is the command I have setup in cron:
/path/to/teamspeak/script/tss3_script.sh start >/dev/null 2>&1
UPDATE:
found the original source I based it off of: http://forum.teamspeak.com/showthread.php?t=46598
Also, you will want to make sure that if you go with the ini file, that you leave a blank line at the end... I had trouble and couldn't figure it out for a while, but that was the cause...
GTA-SA-OLLI
12-30-2009, 04:54 AM
i found a nice script to start/stop the server, but it requires, that iīve root accses, but i didnīt have it. could i use this script without root ?
http://forum.teamspeak.com/showthread.php?t=46989
raidien
12-30-2009, 07:02 AM
the script you are referring to requires root access so that you can add a "teamspeak" user, and add it to the rc.d (startup) script list...
you should be able to replace the USER (bluehost username) and USERG (user group in shell) parameters in the script to your current bluehost login, and whatever group you are assigned to.
since you won't have access to the startup (rc.d) folder, you can put the script a folder (make sure to change the path in the script to your ts directory) and you will still need to set a cron job to start it...
the reason you want to use cron is because then it creates a background process for it, so when you close your ssh window it stays connected... and then reconnects if it fails...
GTA-SA-OLLI
12-30-2009, 09:03 AM
thx for your help but iīm a noob ^^, so could you write me a little tutorial for running ts3 if putty are closes ? and i didnīt have root accses
Lupus
01-18-2010, 09:27 AM
Ok, here is what I have done
I updated your script so that it pointed to my teamspeak directory:
#!/bin/bash
TS3_DIR="/home/<username>/teamspeak3-server_linux-amd64"
TS3_SERVER_NAME="ts3server_linux_amd64"
TS3_INI_FILE="ts3server.ini"
case "$1" in
start)
TS3_ALREADY_RUNNING=`ps -ef|grep -v grep|grep "${TS3_SERVER_NAME}"|wc -l`
if [ ${TS3_ALREADY_RUNNING} -lt 1 ]; then
cd ${TS3_DIR}
${TS3_DIR}/${TS3_SERVER_NAME} inifile=${TS3_DIR}/${TS3_INI_FILE}
fi
;;
stop)
killall ${TS3_SERVER_NAME}
;;
*)
echo "Usage: 'basename $0' {start|stop}">&2
exit 42
;;
esac
exit 0
Saved that file as tss3_script.sh
I placed this in my Teamspeak directory
Then I went to C panel and put in a new Cronjob:
/home/<username>/teamspeak3-server_linux-amd64/tss3_script.sh start >/dev/null 2>&1
I set it to run every five minutes of every hour of every day of every weekday of every month.
I did this last night. My TS server is still down (I can open putty and start the server manually and then connect, as long as putty is open)
Any ideas?
Lupus
01-18-2010, 11:36 AM
hey guys, iīve a little problem, i started the server with the & parameter but if i closed putty, the server shutdown after 1-2 min, but the process is currently running.
somebody an idea ?
I've got the same issue. According to process manager, the following is running:
./ts3server_linux_amd64
But as soon as I close putty, I get disconnected and can't seem to reconnect. Any ideas?
raidien
01-18-2010, 04:19 PM
did you also create a BlueHost ticket to open the ports mentioned previously in this topic? They will need to be opened for teamspeak to work. Also, check the log folder (in the teamspeak directory) to see what you can find in there... it may give you an indication as to why it isn't starting.
Lupus
01-18-2010, 05:17 PM
I have opened all the ports needed for the server, including the one needed for licensing. As long as my shell is focused on the TS server, I can connect with the client. Once I exit or logout my client drops connection.
*edit*
Ok, I got past the closing of putty by using screen thanks to some direction from a friend of mine, and it seems to be running ok for now. The next step is to figure out a daemon to keep it running if and when it crashes or the server restarts.
*2nd edit*
Ok, shut down all the screens and got it up and running using nohup. Now I still need that script and cron job. . . hmm. . .
So, I got the server installed, it says it's running, and got BH to unblock my ports. I am still unable to connect to the server though. I'm not really sure where the issue is.
All I get from my TS client is
<20:22:29> Trying to connect to server on 74.220.193.208:9987
<20:22:35> Failed to connect to server
Doesn't seem to be any errors in the logs.
2010-03-11 02:19:56.893626|INFO |Accounting | | type : Non-profit
2010-03-11 02:19:56.894221|INFO |Accounting | | starting date : Tue Dec 22 23:00:00 2009
2010-03-11 02:19:56.894496|INFO |Accounting | | ending date : Wed Dec 22 23:00:00 2010
2010-03-11 02:19:56.894759|INFO |Accounting | | max virtualservers: 10
2010-03-11 02:19:56.895013|INFO |Accounting | | max slots : 512
2010-03-11 02:19:57.064587|INFO |FileManager | | listening on 74.220.193.208:30033
2010-03-11 02:19:57.552277|INFO |VirtualServer | 1| listening on 74.220.193.208:9987
2010-03-11 02:19:57.552757|INFO |Query | | whitelist ips: 127.0.0.1,
2010-03-11 02:19:57.553510|INFO |Query | | listening on 74.220.193.208:10011
Can anyone lend any advice my way?
working now... the ports weren't open yet.
hoser1970
03-11-2010, 04:17 PM
I had it working since this post, but now nobody can connect???
It seems to be crashing a lot for me. ran fine for almost a month, but since they did their kernel update or whatever to my server. My TS server will not stay up for long.
HigPup
04-08-2010, 09:02 PM
Any help would be apprieciated on this:
TeamSpeak Server 3.0.0-beta21 [Build: 10608]
(c)TeamSpeak Systems GmbH
Logging started
2010-04-09 03:00:44.855328|INFO |ServerLibPriv | | Server Version: 3.0.0-beta21 [Build: 10608], Linux
2010-04-09 03:00:44.855642|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, (c)TeamSpeak Systems GmbH
2010-04-09 03:00:44.855695|INFO |DatabaseQuery | | dbPlugin version: 3.6.21
2010-04-09 03:00:44.855979|INFO |DatabaseQuery | | checking database integrity (may take a while)
2010-04-09 03:00:44.878028|INFO |SQL | | pruning old database log entries where timestamp is older than 90 days
2010-04-09 03:00:45.821266|INFO |Accounting | | Licensing Information
2010-04-09 03:00:45.821812|INFO |Accounting | | type : Non-profit
2010-04-09 03:00:45.822139|INFO |Accounting | | starting date : Thu Apr 8 00:00:00 2010
2010-04-09 03:00:45.822445|INFO |Accounting | | ending date : Fri Apr 8 00:00:00 2011
2010-04-09 03:00:45.822741|INFO |Accounting | | max virtualservers: 10
2010-04-09 03:00:45.823031|INFO |Accounting | | max slots : 512
2010-04-09 03:00:45.847070|ERROR |FileManager | | bind() failed: 98
2010-04-09 03:00:45.847526|ERROR |FileManager | | bind failed on 67.20.120.172:30033
2010-04-09 03:00:45.958873|ERROR |VirtualServer | 1| bind failed on 67.20.120.172:9987
2010-04-09 03:00:45.959317|ERROR |VirtualSvrMgr | | loading VirtualServer(1) failed to start, error: unable to bind network port
2010-04-09 03:00:46.013328|INFO |VirtualServer | 1| stopped
2010-04-09 03:00:46.013936|INFO |CIDRManager | | updated query_ip_whitelist ips: 127.0.0.1,
2010-04-09 03:00:46.014361|ERROR |Query | | 67.20.120.172:10011 unable to bind error: 98:Address already in use
2010-04-09 03:00:46.014637|ERROR |Query | | bind failed on 67.20.120.172:10011
Anyone have any ideas on what is wrong? I see the bindings are failing. I double checked with BH and they said the ports are open.
Higpup
HigPup
04-08-2010, 09:10 PM
Got it working don't really know how. I reinstalled it and now it works.
Mike862
04-11-2010, 08:52 AM
It seems to be crashing a lot for me. ran fine for almost a month, but since they did their kernel update or whatever to my server. My TS server will not stay up for long.
I've been running Teamspeak 2 for a couple years on my Bluehost account, but lately it doesn't stay running :(
Guess its time to start shopping for new host.
I've been running Teamspeak 2 for a couple years on my Bluehost account, but lately it doesn't stay running :(
Guess its time to start shopping for new host.
Yeah when they changed their CPU throttling it seemed to have messed with that. I have been running TS2, vent, and TS3 servers (not at the same time mind you) over the last 5 years without any issues. Now it seems to crash at intervals that are not regular.
If anyone has any idea on how to make a script that automatically restarts the service when it crashes I'd be happy.
lordvague
04-26-2010, 08:48 AM
Looks to me like it is checking for a license on the program maybe. Have you checked at the teamspeak site for any info on the error? I would say that is the first step.
Looks to me like it is checking for a license on the program maybe. Have you checked at the teamspeak site for any info on the error? I would say that is the first step.
As I said in my previous post, it seems as though the process is being killed after the shell is logged out of regardless of making it run in the background or not. I got no help from the people on the TS forums though. So, yeah.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.