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)
Rikku
June 27, 2020, 5:48pm
2
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
Rikku
June 27, 2020, 6:55pm
5
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.
ts3@Debian-104-buster-64-minimal:/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)
FakE:
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?
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ā
Ports free //respectively the server was reinstalled
FakE:
Is the issue still happening if you stop the server via. the start script, put the license file in and start the server again?
yes and I tried and I used the script
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
Rikku
June 30, 2020, 4:37pm
17
I dont know if this help, but you can look here: TeamSpeak - Official TeamSpeak Community Forum ?
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)
Server did not unregister at the accounting server. Wait 2-3 hours then try again.
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.ā
It doesnāt crash!
It denies to start because to many slots are set in server.
You have to change the slots as said in my last post.
Happens when user kill the process and do not stop it as intended. The server has no chance to unregister all of itās slots and virtual servers when it just got killed. And accounting hold these for 2-3hours when no such command to unregister came from server.
1 Like
What should i do? i changed the slots to 32 but as I said it crashes automatically (with license and server restart)
to restart the server i use ./ts3server_startscript.sh restart
or should the server not be started while the license is in the directory (2-3 hours) ?
Please post the last log of server 0.
1 Like