• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Completed ts3 and tea parallel?

hardwii

New member
so i have a running instance of ts3 and wanted to try tea
but i cannot get it to work.
i have to stop ts3 to get tea to work and/or the other way round.
ts3 and tea have its own users!
is there any whay to fix this?

when the ts3 runs and i start tea too its up for approx 5 sec and then it just stops.

debian 9 64 Bit

[2018-08-31 22:16:53] [DEBUG] Log successfully started!
[2018-08-31 22:16:53] [INFO] GEN | Starting TeaSpeak-Server v1.2.14-beta [Build: 1535729953]
[2018-08-31 22:16:53] [INFO] GEN | Starting music providers
[2018-08-31 22:16:53] [DEBUG] [Music] Provider load order:
[2018-08-31 22:16:53] [DEBUG] [Music] [0] providers/000ProviderFFMpeg.so
[2018-08-31 22:16:53] [DEBUG] [Music] [1] providers/001ProviderYT.so
[2018-08-31 22:16:53] [INFO] [Music] [FFMPEG] Resolved ffmpeg with version "ffmpeg version 3.2.12-1~deb9u1 Copyright (c) 2000-2018 the FFmpeg developers"
[2018-08-31 22:16:53] [INFO] [Music] Loaded successfully provider FFMpeg
[2018-08-31 22:16:55] [INFO] [Music] [YT-DL] Resolved youtube-dl with version 2017.05.18.1
[2018-08-31 22:16:55] [INFO] [Music] Loaded successfully provider YouTube
[2018-08-31 22:16:58] [DEBUG] GEN | Created a new async thread pool!
[2018-08-31 22:16:58] [DEBUG] GEN | Loaded client from database. Database id: 1 Unique id: serveradmin
[2018-08-31 22:16:58] [DEBUG] GEN | Push back group -> 1 - Guest Server Query
[2018-08-31 22:16:58] [DEBUG] GEN | Push back group -> 2 - Admin Server Query
[2018-08-31 22:16:58] [DEBUG] GEN | Push back group -> 3 - Server Admin
[2018-08-31 22:16:58] [DEBUG] GEN | Push back group -> 4 - Normal
[2018-08-31 22:16:58] [DEBUG] GEN | Push back group -> 5 - Guest
[2018-08-31 22:16:58] [DEBUG] GEN | Push back group -> 6 - Channel Admin
[2018-08-31 22:16:58] [DEBUG] GEN | Push back group -> 7 - Operator
[2018-08-31 22:16:58] [DEBUG] GEN | Push back group -> 8 - Guest
[2018-08-31 22:16:58] [DEBUG] GLOBL | Instance admin group id 2
[2018-08-31 22:16:58] [DEBUG] GLOBL | Server guest group id 1
[2018-08-31 22:16:58] [DEBUG] GLOBL | Server music group id 1
[2018-08-31 22:16:58] [INFO] GEN | Got 4 saved channels
[2018-08-31 22:16:58] [DEBUG] GEN | Deleting old bans
[2018-08-31 22:16:58] [INFO] FILE | Starting server on 0.0.0.0:30333
[2018-08-31 22:16:58] [INFO] QUERY | Starting server on 0.0.0.0:10333
[2018-08-31 22:16:58] [DEBUG] QUERY | Event base executed (0x7fe6114bf200)
[2018-08-31 22:16:58] [INFO] GEN | Generating server puzzles...
[2018-08-31 22:16:58] [INFO] GEN | Puzzles generated! Time required: 332ms
[2018-08-31 22:16:59] [INFO] GLOBL | Required 672ms to preload the startup cache. Cache needs 0mb
[2018-08-31 22:16:59] [DEBUG] 1 | Importing server keypair
[2018-08-31 22:16:59] [INFO] 1 | Got 4 saved channels
[2018-08-31 22:16:59] [DEBUG] 1 | Push back group -> 9 - Server Admin
[2018-08-31 22:16:59] [DEBUG] 1 | Push back group -> 10 - Normal
[2018-08-31 22:16:59] [DEBUG] 1 | Push back group -> 11 - Guest
[2018-08-31 22:16:59] [DEBUG] 1 | Push back group -> 12 - Channel Admin
[2018-08-31 22:16:59] [DEBUG] 1 | Push back group -> 13 - Operator
[2018-08-31 22:16:59] [DEBUG] 1 | Push back group -> 14 - Guest
[2018-08-31 22:16:59] [DEBUG] 1 | [Property] Changing client property 'client_nickname' for 1 (New value: serveradmin, SQL: UPDATE `clients` SET `lastName` = :value WHERE `serverId` = :serverId AND `cldbid` = :cldbid)
[2018-08-31 22:16:59] [DEBUG] GEN | Query permission manager
[2018-08-31 22:16:59] [DEBUG] 1 | Loaded client from database. Database id: 1 Unique id: serveradmin
[2018-08-31 22:16:59] [DEBUG] 1 | - 1 ([cspacer01]┏╋━━━━━━◥◣◆◢◤━━━━━━╋┓)
[2018-08-31 22:16:59] [DEBUG] 1 | - 2 ([cspacer02] TeaSpeak Server)
[2018-08-31 22:16:59] [DEBUG] 1 | - 3 ([cspacer03]┗╋━━━━━━◥◣◆◢◤━━━━━━╋┛)
[2018-08-31 22:16:59] [DEBUG] 1 | - 4 ([cspacer04]Default Channel)
[2018-08-31 22:16:59] [INFO] 1 | Starting server
[2018-08-31 22:16:59] [ERROR] 1 | Failed to bind to :::9997 (98 => Address already in use)
[2018-08-31 22:16:59] [INFO] 1 | Started server on 0.0.0.0:9997.
[2018-08-31 22:16:59] [INFO] 1 | Starting web server on 0.0.0.0:9997
 

mkll11one

TeaSpeak Team
Staff member
TeaTeam
[2018-08-31 22:16:59] [ERROR] 1 | Failed to bind to :::9997 (98 => Address already in use)

Try stop it. - or do this: killall -9 TeaSpeakServer && killall -9 ffmpeg
After that. try start the server again. ;)
 

hardwii

New member
thats not the problem, it stops itself :/ and i did choose that port myself bc 9987 is already used
i can only use ts3 OR tea not both at the same time

after ur mentioned log line the server stops completely
 
Last edited:

mkll11one

TeaSpeak Team
Staff member
TeaTeam
Why do you wanna to run both? if you wanna to run both. You need to change ports on Tea. ;) both can't be run on same ports ;)
 

hardwii

New member
bc i want to test tea first and ts3 has 9987 and tea should have 9997 but that is not the issue
 

DrN00bish

Well-known member
well the Failed to bind to :::9987 (98 => Address already in use) is in my log as well on current build (TeaSpeak-Server v1.2.14-beta [Build: 1535733553]). I suspect this isn't the reason for the error itself since my server continues running.

Your log- however- doesn't provide much information on any errors that should explain why the server doesn't continue to run... Have you tried changing the log-level? Also are you running the server in a separate screen so it doesn't close when your session runs out or your disconnect your ssh?
 

hardwii

New member
well the Failed to bind to :::9987 (98 => Address already in use) is in my log as well on current build (TeaSpeak-Server v1.2.14-beta [Build: 1535733553]). I suspect this isn't the reason for the error itself since my server continues running.
exactly

both ts have their own users, but they are not running in screen

would that make a difference?

also how do i change the log level?
 

DrN00bish

Well-known member
would that make a difference?
Not really in itself. I was just wondering if it was closing down the server when you close connection to the terminal (I did this many times myself so hopefully I could spare you for a headache on that account)

If it's running as a service it wouldn't make a difference. But you could try starting it in a screen then detach it and see if it makes any difference.

You can change loglevel in the config.yml file:
Code:
log:
  #The log level
  #Available types:
  #  0: Trace
  #  1: Debug
  #  2: Info
  #  3: Warn
  #  4: Error
  #  5: Critical
  #  6: Off
  level: 1
messages:
  #The terminal log level
  level: 2
Also adding the git reference for your ticket there: https://github.com/TeaSpeak/TeaSpeak/issues/384
 
Last edited:

hardwii

New member
i start both server with the xxx.sh start command , so it doesnt matter when i logout :)

but having both in a screen will not make any difference, exact same things happens :/

and in the log file ,even with a different log level , will not give more details on why.

could this be an system issue that if an identical process calls fot the same ressources, that the system denies it or gives the first priority?
 

DrN00bish

Well-known member
Well thing is.. I already have TS3 and TS running on same server which has been working fine for weeks so I'm a bit surprised you have any issues really. But since the log doesn't provide much of an answer it's a bit strange
 

hardwii

New member
oh okay ,

may i ask you how you set both up?

i mean with started you first and which start commands you used
 
Last edited:

DrN00bish

Well-known member
Uhmm that's a kind of massive question in details there. But in short I had one TS3 server running standard settings, another TS3 server running for some other guys while I installed and setup the TeaSpeak so I could move them one by one changing DNS settings and starting up servers on TeaSpeak so new clients started connecting there. It was a rather big operation but it was almost all under standard settings with the one difference that I ran them on MariaDB and different ports.

So I'm guessing one server ran with: ./ts3server_minimal_runscript.sh voice_ip=0.0.0.0 default_voice_port=9987 query_ip=0.0.0.0 query_ssh_ip=0.0.0.0 filetransfer_ip=0.0.0.0 query_protocols=raw serveradmin_password=somepass license_accepted=1 logappend=1 inifile=ts3server.ini
Second with command: ./ts3server_minimal_runscript.sh voice_ip=0.0.0.0 default_voice_port=27005 query_ip=0.0.0.0 query_port=27029 query_ssh_ip=0.0.0.0 query_ssh_port=27040 filetransfer_ip=0.0.0.0 filetransfer_port=47051 query_protocols=raw serveradmin_password=somepass license_accepted=1 logappend=1 inifile=ts3server.ini

The inifiles would look something like:
Code:
query_port=10011
query_ssh_port=10022
filetransfer_port=30033
query_ip_whitelist=query_ip_whitelist.txt
query_ip_blacklist=query_ip_blacklist.txt
dbplugin=ts3db_mariadb
dbpluginparameter=mariadb.ini
dbsqlpath=sql/
dbsqlcreatepath=create_mariadb/
logpath=logs
logquerycommands=1
mariadb.ini would look something like:
Code:
[config]
host=localhost
port=3306
username=someuser
password=somepass
database=this_DB
socket=/var/run/mysqld/mysqld.sock
When booting up TeaSpeak I had absolutely no problem besides the standard virtualserver that naturally didn't like me already using the port on the TS3 server but as soon as I added a new virtualserver and deleted the standard one it ran without headaches. And I just ran it with ./teastart_minimal.sh in a seperate screen untill I had copied and moved the running servers and checked that it wasn't giving too much trouble for connecting clients etc.

So in even shorter: I just had TS3 running and TS started up without more trouble than booting the virtualserver lol


Edit:
I realize the given examples don't exactly match up but I have deleted my files related to the TS3 server since then and this is something I threw together as an approx. Also note that I used the servers IP and not 0.0.0.0 as start commands
 
Last edited:

hardwii

New member
dude thank you very much.

i tested this now on a debian and ubuntu wsl app

on both it works flawless

i dont get why it wont work on my vserver :/