TeamSpeak 3 Server Update Linux 2019

Einmal im Jahr (ist das immer im August?) verweigert ein TeamSpeak 3 Server seinen Dienst.

Wenn man den Server manuell startet, bekommt man nur den Fehler Failed loading default license file! angezeigt:

teamspeak@server:~$ export LD_LIBRARY_PATH=/home/teamspeak/teamspeak3-server_linux_amd64/
teamspeak@server:~$ export TS3SERVER_LICENSE=accept
teamspeak@server:~$ cd /home/teamspeak/teamspeak3-server_linux_amd64/
teamspeak@server:/home/teamspeak/teamspeak3-server_linux_amd64$ /home/teamspeak/teamspeak3-server_linux_amd64/ts3server inifile=ts3server.ini license_accepted=1
2019-08-09 06:49:52.281962|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.3.1 (2018-08-20 08:19:20)
2019-08-09 06:49:52.282109|INFO |ServerLibPriv | |SystemInformation: Linux 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 Binary: 64bit
2019-08-09 06:49:52.282140|INFO |ServerLibPriv | |Using hardware aes
2019-08-09 06:49:52.282897|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2019-08-09 06:49:52.282947|INFO |DatabaseQuery | |dbPlugin version: 3.11.1
2019-08-09 06:49:52.283341|INFO |DatabaseQuery | |checking database integrity (may take a while)
2019-08-09 06:49:52.305859|WARNING |Accounting | |Unable to open licensekey.dat, falling back to limited functionality
2019-08-09 06:49:52.306023|CRITICAL|Accounting | |Failed loading default license file!

Den Fehler beheben

Die Fehlerbehebung ist denkbar einfach.

Dafür muss nur ein Update des TeamSpeak Servers durchgeführt werden. Bei mir ist der TeamSpeak Server nach /home/teamspeak/teamspeak3-server_linux_amd64 installiert.

cd /tmp
wget https://files.teamspeak-services.com/releases/server/3.9.1/teamspeak3-server_linux_amd64-3.9.1.tar.bz2
tar xfv teamspeak3-server_linux_amd64-3.9.1.tar.bz2
cp -r /tmp/teamspeak3-server_linux_amd64/* /home/teamspeak/teamspeak3-server_linux_amd64
chown teamspeak:teamspeak /home/teamspeak/teamspeak3-server_linux_amd64 -R

Danach sollte der Server einmal manuell gestartet werden um zu überprüfen, ob alles geklappt hat.

teamspeak@server:~$ export LD_LIBRARY_PATH=/home/teamspeak/teamspeak3-server_linux_amd64/
teamspeak@server:~$ export TS3SERVER_LICENSE=accept
teamspeak@server:~$ cd /home/teamspeak/teamspeak3-server_linux_amd64/
teamspeak@server:/home/teamspeak/teamspeak3-server_linux_amd64$ /home/teamspeak/teamspeak3-server_linux_amd64/ts3server inifile=ts3server.ini license_accepted=1
2019-08-09 14:25:17.351143|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.9.1 (2019-07-02 13:17:23)
2019-08-09 14:25:17.351290|INFO    |ServerLibPriv |   |SystemInformation: Linux 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 Binary: 64bit
2019-08-09 14:25:17.351328|INFO    |ServerLibPriv |   |Using hardware aes
2019-08-09 14:25:17.352151|INFO    |DatabaseQuery |   |dbPlugin name:    SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2019-08-09 14:25:17.352225|INFO    |DatabaseQuery |   |dbPlugin version: 3.11.1
2019-08-09 14:25:17.352495|INFO    |DatabaseQuery |   |checking database integrity (may take a while)
2019-08-09 14:25:17.363393|INFO    |SQL           |   |database updated successfully to revision: 30
2019-08-09 14:25:17.366076|INFO    |SQL           |   |database updated successfully to revision: 31
2019-08-09 14:25:17.367368|INFO    |SQL           |   |database updated successfully to revision: 32
2019-08-09 14:25:17.368027|INFO    |DatabaseQuery |   |database busy, waiting for finishing index tasks, may take some time!
2019-08-09 14:25:57.395156|WARNING |Accounting    |   |Unable to open licensekey.dat, falling back to limited functionality
2019-08-09 14:25:57.395640|INFO    |Accounting    |   |Licensing Information
2019-08-09 14:25:57.395687|INFO    |Accounting    |   |licensed to       : Anonymous
2019-08-09 14:25:57.395707|INFO    |Accounting    |   |type              : No License
2019-08-09 14:25:57.395729|INFO    |Accounting    |   |starting date     : Tue Jan  1 00:00:00 2019
2019-08-09 14:25:57.395749|INFO    |Accounting    |   |ending date       : Fri Jan 31 00:00:00 2020
2019-08-09 14:25:57.395766|INFO    |Accounting    |   |max virtualservers: 1
2019-08-09 14:25:57.395782|INFO    |Accounting    |   |max slots         : 32
2019-08-09 14:25:57.499123|INFO    |              |   |myTeamSpeak identifier revocation list was downloaded successfully - all related features are activated
2019-08-09 14:25:57.893536|INFO    |              |   |Puzzle precompute time: 478
2019-08-09 14:25:57.894442|INFO    |FileManager   |   |listening on 0.0.0.0:30033, [::]:30033
2019-08-09 14:25:57.907805|INFO    |VirtualServer |1  |listening on 0.0.0.0:9987, [::]:9987
2019-08-09 14:25:57.907999|INFO    |Query         |   |listening for query on 0.0.0.0:10011, [::]:10011
2019-08-09 14:25:57.908265|INFO    |Query         |   |listening for query ssh on 0.0.0.0:10022, [::]:10022
2019-08-09 14:25:57.908319|INFO    |Query         |   |creating QUERY_SSH_RSA_HOST_KEY file: ssh_host_rsa_key
2019-08-09 14:25:58.928851|INFO    |CIDRManager   |   |updated query_ip_whitelist ips: 127.0.0.1/32, ::1/128,

Spätestens im Januar 2020 ending date : Fri Jan 31 00:00:00 2020 muss dann das nächste Update eingespielt werden.

Nun noch den Server mit STRG+C beenden und neu starten:

systemctl start teamspeak3-server.service

Noch keinen eigenen TeamSpeak 3 Server? So geht's!.