The server can no longer be started with the license

after a server attack (ddos + Server crashing)
the server can no longer be started with the license without the license it is possible but with the license the server crashes after a few seconds.

Serverlogs:

Log1:

2020-06-27 17:18:26.101187|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.12.1 (2020-03-27 10:38:47)
2020-06-27 17:18:26.101284|INFO |ServerLibPriv | |SystemInformation: Linux 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 Binary: 64bit
2020-06-27 17:18:26.101304|INFO |ServerLibPriv | |Using hardware aes
2020-06-27 17:18:26.101743|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 3, ©TeamSpeak Systems GmbH
2020-06-27 17:18:26.101767|INFO |DatabaseQuery | |dbPlugin version: 3.11.1
2020-06-27 17:18:26.101917|INFO |DatabaseQuery | |checking database integrity (may take a while)
2020-06-27 17:18:26.109374|INFO |SQL | |db_CreateTables() tables created
2020-06-27 17:18:26.124886|WARNING |Accounting | |Unable to open licensekey.dat, falling back to limited functionality
2020-06-27 17:18:26.124955|INFO |Accounting | |Licensing Information
2020-06-27 17:18:26.124964|INFO |Accounting | |licensed to : Anonymous
2020-06-27 17:18:26.124975|INFO |Accounting | |type : No License
2020-06-27 17:18:26.124985|INFO |Accounting | |starting date : Sat Feb 1 00:00:00 2020
2020-06-27 17:18:26.124992|INFO |Accounting | |ending date : Mon Feb 1 00:00:00 2021
2020-06-27 17:18:26.124999|INFO |Accounting | |max virtualservers: 1
2020-06-27 17:18:26.125005|INFO |Accounting | |max slots : 32
2020-06-27 17:18:26.472729|INFO | | |Puzzle precompute time: 336
2020-06-27 17:18:26.473012|INFO |FileManager | |listening on 0.0.0.0:30033, [::]:30033
2020-06-27 17:18:26.473331|INFO |VirtualSvrMgr | |executing monthly interval
2020-06-27 17:18:26.473386|INFO |VirtualSvrMgr | |reset virtualserver traffic statistics
2020-06-27 17:18:26.487288|INFO |Query | |listening for query on 0.0.0.0:10011, [::]:10011
2020-06-27 17:18:26.487359|INFO | | |creating QUERY_SSH_RSA_HOST_KEY file: ssh_host_rsa_key
2020-06-27 17:18:26.611633|INFO | | |myTeamSpeak identifier revocation list was downloaded successfully - all related features are activated
2020-06-27 17:18:30.284106|INFO |Query | |listening for ssh query on 0.0.0.0:10022, [::]:10022
2020-06-27 17:18:30.284169|INFO |CIDRManager | |updated query_ip_whitelist ips: 127.0.0.1/32, ::1/128,
2020-06-27 17:18:40.399356|INFO |ServerMain | |Received signal SIGINT, shutting down.

Log2:

2020-06-27 17:18:59.016447|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.12.1 (2020-03-27 10:38:47)
2020-06-27 17:18:59.016550|INFO |ServerLibPriv | |SystemInformation: Linux 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 Binary: 64bit
2020-06-27 17:18:59.016568|INFO |ServerLibPriv | |Using hardware aes
2020-06-27 17:18:59.017042|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 3, ©TeamSpeak Systems GmbH
2020-06-27 17:18:59.017061|INFO |DatabaseQuery | |dbPlugin version: 3.11.1
2020-06-27 17:18:59.017212|INFO |DatabaseQuery | |checking database integrity (may take a while)
2020-06-27 17:18:59.041683|WARNING |Accounting | |Unable to open licensekey.dat, falling back to limited functionality
2020-06-27 17:18:59.041755|INFO |Accounting | |Licensing Information
2020-06-27 17:18:59.041762|INFO |Accounting | |licensed to : Anonymous
2020-06-27 17:18:59.041768|INFO |Accounting | |type : No License
2020-06-27 17:18:59.041777|INFO |Accounting | |starting date : Sat Feb 1 00:00:00 2020
2020-06-27 17:18:59.041783|INFO |Accounting | |ending date : Mon Feb 1 00:00:00 2021
2020-06-27 17:18:59.041788|INFO |Accounting | |max virtualservers: 1
2020-06-27 17:18:59.041792|INFO |Accounting | |max slots : 32
2020-06-27 17:18:59.377487|INFO | | |Puzzle precompute time: 325
2020-06-27 17:18:59.377830|INFO |FileManager | |listening on 0.0.0.0:30033, [::]:30033
2020-06-27 17:18:59.408102|INFO |Query | |listening for query on 0.0.0.0:10011, [::]:10011
2020-06-27 17:18:59.408200|INFO |Query | |listening for ssh query on 0.0.0.0:10022, [::]:10022
2020-06-27 17:18:59.408229|INFO |CIDRManager | |updated query_ip_whitelist ips: 127.0.0.1/32, ::1/128,

Log3:

2020-06-27 17:18:59.407993|INFO |VirtualServerBase|1 |listening on 0.0.0.0:9987, [::]:9987
2020-06-27 17:19:23.450776|INFO |VirtualServer |1 |client (id:3) was added to servergroup ‘Server Admin’(id:6) by client ‘server’(id:0)
2020-06-27 17:19:23.451142|INFO |VirtualServer |1 |client ‘FreeZ’(id:3) used privilege key ‘mx9BXB64OiE0sPQrUHwa8Bkc9BZB1RypAcCBg3Fo’ and was added to servergroup ‘Server Admin’(id:6)

Do you have an entry at licensepath = licensekey.dat in the ts3server.ini?

if yes, then remove the entry licensepath = licensekey.dat from the ts3server.ini and your problem should be solved. Under licensepath = only a path comes in if you put your license e.g. in another folder. That is why it is called path.

I don’t have ts3server.ini and accordingly no licensepath

still important to know
I have reinstalled the entire server on debian 10 (buster) + reinstall the Ts3 Server

If the Problem now solved?

Normally when server had suddenly stopped, Staff reccomended waiting 2-3 hours before turning server back on, cause when server is not stopped as it should, it may bug out.

I would recommend waiting a bit and then trying.

no same problem

didn’t do anything

Navigate into your TeamSpeak root directory and execute the command:

ls -all

Post the results here.

[email protected]:/home/teamspeak3/teamspeak3-server_linux_amd64$ ls -all
total 21432
drwxr-xr-x 9 teamspeak3 teamspeak3 4096 Jun 29 01:21 .
drwxr-xr-x 3 teamspeak3 root 4096 Jun 29 01:20 …
-rw-r–r-- 1 teamspeak3 teamspeak3 70610 Mar 27 11:41 CHANGELOG
drwxr-xr-x 3 teamspeak3 teamspeak3 4096 Mar 27 11:43 doc
drwx------ 4 teamspeak3 teamspeak3 4096 Jun 27 19:48 files
-rwxr-xr-x 1 teamspeak3 teamspeak3 947368 Mar 27 11:56 libts3db_mariadb.so
-rwxr-xr-x 1 teamspeak3 teamspeak3 2174344 Mar 27 11:56 libts3db_sqlite3.so
-rwxr-xr-x 1 teamspeak3 teamspeak3 1096144 Mar 27 11:56 libts3_ssh.so
-rw-r–r-- 1 teamspeak3 teamspeak3 68142 Mar 27 11:43 LICENSE
drwx------ 2 teamspeak3 teamspeak3 4096 Jun 29 01:22 logs
-rw-r–r-- 1 teamspeak3 teamspeak3 0 Jun 27 19:18 query_ip_blacklist.txt
-rw-r–r-- 1 teamspeak3 teamspeak3 14 Jun 27 19:18 query_ip_whitelist.txt
drwxr-xr-x 2 teamspeak3 teamspeak3 4096 Mar 27 11:57 redist
drwxr-xr-x 2 teamspeak3 teamspeak3 4096 Mar 27 11:41 serverquerydocs
drwxr-xr-x 5 teamspeak3 teamspeak3 12288 Mar 27 11:41 sql
-rw-r–r-- 1 teamspeak3 teamspeak3 3243 Jun 27 19:18 ssh_host_rsa_key
-rwxr-xr-x 1 teamspeak3 teamspeak3 13496464 Mar 27 11:57 ts3server
-rw-r–r-- 1 teamspeak3 teamspeak3 0 Jun 27 18:44 .ts3server_license_accepted
-rwxr-xr-x 1 teamspeak3 teamspeak3 117 Mar 27 11:41 ts3server_minimal_runscript.sh
-rw-r–r-- 1 root root 6 Jun 29 01:21 ts3server.pid
-rw-r–r-- 1 teamspeak3 teamspeak3 3715072 Jun 29 01:21 ts3server.sqlitedb
-rw-r–r-- 1 teamspeak3 teamspeak3 32768 Jun 29 17:28 ts3server.sqlitedb-shm
-rw-r–r-- 1 teamspeak3 teamspeak3 259936 Jun 29 17:28 ts3server.sqlitedb-wal
-rwxr-xr-x 1 teamspeak3 teamspeak3 2654 Mar 27 11:41 ts3server_startscript.sh
drwxr-xr-x 2 teamspeak3 teamspeak3 4096 Mar 27 11:57 tsdns

I don’t know what that brings you because as I said I have problems with my license
and without a licenset Is everything ok

(with license the server crashes after seconds)

Just trying to make sure you don’t accidentally set the wrong user/permissions for the license file.
But as I can see the license file currently is not inside the folder.

I’m not exactly sure why the server Received signal SIGINT, shutting down.

If you have opened up the required ports (for accounting) and there’s no second instance running using your license there should no issue.

Do you stop the server via. the start script or just killing the process?
Is the issue still happening if you stop the server via. the start script, put the license file in and start the server again?

1 Like
  1. yes it is currently running without a license and I can only repeat myself “the server can no longer be started with the license without the license it is possible”

  2. Ports free //respectively the server was reinstalled

yes and I tried and I used the script

Download the latest server version for your desktop PC (probably Windows), copy your license file into the root directory of TeamSpeak and start the application.
(or at least on a different machine than your server)

Don’t forget to allow TeamSpeak to pass the firewall and open the required ports.

Report back if the application crashes, too.

As Fake mentioned it before
There is no licensekey.dat file in needed place and that is all the reason why no license is used.

Please show us a log where the server is “crashing” with the license. All logs didn’t show any crash.

1 Like

the reason is “Received signal SIGTERM, shutting down.” and “too many slots hosted, shutting down!”

but I’ve never used over 128 & 2Servers

I dont know if this help, but you can look here: https://forum.teamspeak.com/threads/61393-too-many-slots-hosted-shutting-down!?

But now one server tries to run with more than 128 slots or the license is running on another server.
Please follow the link Rikku posted.

Received signal SIGTERM has nothing to do with us.
It’s comming from your operation system. Something (maybe a script) or you told the server process to stop.

2 Likes

Basically, the following solutions have been said (from Rikkus link)

  1. Server did not unregister at the accounting server. Wait 2-3 hours then try again.
  2. A server with the same license is running elsewhere. Shutdown that other server.

Option 2 can not be true
means option 1 that I should just wait while the ts server is offline?

No.

  • You reduce the slots of the server to fit your license.

Example how to do it with ServerQuery commands

login serveradmin yourpassword
use 1 -virtual serveredit virtualserver_maxclients=128
use 0
serverstart sid=1

  • You make sure license is not in use somewhere else.
1 Like

the problem is the server also crashes with 32 slots (if the license is in the directory)
so as I said as soon as i have the license in it = server crashes

So I wonder how that should be possible
“Server did not unregister at the accounting server. Wait 2-3 hours then try again.”

twitch instagram twitter facebook