XLS202
February 4, 2020, 1:23pm
1
Hello,
I have the problem that one of the my server crashes after a while. My other Servers are running without any problems. I think this has something to do with the error in the last line, but I am not sure.
This is the Log: 2020-02-03 17:12:32.407135|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.11.0 - Pastebin.com (Sorry I can’t get the text correctly formatted in the forum.)
And I did a post in the old forum: TeamSpeak - Official TeamSpeak Community Forum
XLS202
Please ensure that /dev/shm is properly mounted
1 Like
XLS202
February 4, 2020, 1:37pm
3
The output from “df -h” is:
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 25M 6.3G 1% /run
/dev/md2 438G 258G 158G 63% /
tmpfs 32G 4.0K 32G 1% /dev/shm
tmpfs 5.0M 20K 5.0M 1% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/md1 488M 70M 392M 16% /boot
/dev/sda1 3.6T 1.7T 1.8T 50% /mnt/4TB
tmpfs 6.3G 0 6.3G 0% /run/user/1000
so I think its properly mounted. And 3 other Servers don´t have a problem.
Maybe you updated the server incompletely.
Make sure to overwrite all server files in order to update the server.
1 Like
XLS202
February 4, 2020, 2:01pm
5
A week ago I completely deleted and reinstalled the server. So this should not be the problem.
qeinz
May 19, 2023, 9:53am
6
moved by moderator. Forum got a search function. Please consider to use it before posting.
2023-05-18 20:46:03.302381|WARNING |Accounting | |Unable to open licensekey.dat, falling back to limited functionality
2023-05-18 20:46:02.686424|ERROR |Accounting | |failed to register local accounting service: Bad file descriptor
recently our license expired and since my colleague had removed the license key file, so my question what must go instead?
& where do we get the “standard” licenses from?
qeinz
June 2, 2023, 10:38am
8
We are using: DOCKER-COMPOSE
So, still there is the problem that the server crashes, with the same message.
My technician gave me the following to post here on the forum:
services:
teamspeak:
image: teamspeak
restart: unless-stopped
network_mode: "host"
ports:
- 9987:9987/udp
- 10011:10011
- 30033:30033
volumes:
- /root/docker/container/teamspeak:/var/ts3server
environment:
TS3SERVER_DB_PLUGIN: ts3db_mariadb
TS3SERVER_DB_SQLCREATEPATH: create_mariadb
TS3SERVER_DB_HOST: XXXXXX
TS3SERVER_DB_USER: XXXX
TS3SERVER_DB_PASSWORD: XXXXX
TS3SERVER_DB_NAME: XXXXXX
TS3SERVER_LICENSE: accept
TS3SERVER_QUERY_PROTOCOLS: raw, ssh
any infos to this problem?
→ my technician use the following website: Docker
qeinz
June 2, 2023, 10:39am
9
everything done/ available (according to technician)
our mounts:
XLS202
June 2, 2023, 11:36am
10
Hey,
I don’t think our problems are related. But maybe they are, so I share what I did to solve the problem: I had 4 different instances of the TeamSpeak Server running. 3 of them with the same License and one without a License. Then the Server without License started to crash.
I then requested an expansion of my License to 4 Servers and gave this Server also a license.
At the same time, I moved all of them in one Server instance with multiple VServers (or how ever it is called)
Maybe it will help you… or give you an idea for what to look
qeinz
June 4, 2023, 6:30pm
13
we found this issue from 2019…
opened 08:54AM - 08 Jul 19 UTC
closed 07:32AM - 12 Nov 19 UTC
The server stops at random intervals because of `failed to register local accoun… ting service: Bad file descriptor`.
I use the docker compose file with sqlite, ssh query and no license.
Complete log:
```
teamspeak_1 | 2019-07-08 03:18:43.378943|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.9.0 (2019-06-24 09:23:59)
teamspeak_1 | 2019-07-08 03:18:43.402535|INFO |ServerLibPriv | |SystemInformation: Linux 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 i686 Binary: 32bit
teamspeak_1 | 2019-07-08 03:18:43.404129|WARNING |ServerLibPriv | |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale!
teamspeak_1 | 2019-07-08 03:18:43.440195|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
teamspeak_1 | 2019-07-08 03:18:43.441353|INFO |DatabaseQuery | |dbPlugin version: 3.11.1
teamspeak_1 | 2019-07-08 03:18:43.490461|INFO |DatabaseQuery | |checking database integrity (may take a while)
teamspeak_1 | 2019-07-08 03:18:44.301141|WARNING |Accounting | |Unable to open licensekey.dat, falling back to limited functionality
teamspeak_1 | 2019-07-08 03:18:44.382811|INFO |Accounting | |Licensing Information
teamspeak_1 | 2019-07-08 03:18:44.383925|INFO |Accounting | |licensed to : Anonymous
teamspeak_1 | 2019-07-08 03:18:44.385120|INFO |Accounting | |type : No License
teamspeak_1 | 2019-07-08 03:18:44.388553|INFO |Accounting | |starting date : Tue Jan 1 00:00:00 2019
teamspeak_1 | 2019-07-08 03:18:44.389801|INFO |Accounting | |ending date : Fri Jan 31 00:00:00 2020
teamspeak_1 | 2019-07-08 03:18:44.391218|INFO |Accounting | |max virtualservers: 1
teamspeak_1 | 2019-07-08 03:18:44.392177|INFO |Accounting | |max slots : 32
teamspeak_1 | 2019-07-08 03:18:44.979224|INFO | | |myTeamSpeak identifier revocation list was downloaded successfully - all related features are activated
teamspeak_1 | 2019-07-08 03:19:10.180971|INFO | | |Puzzle precompute time: 24979
teamspeak_1 | 2019-07-08 03:19:10.200371|INFO |FileManager | |listening on 0.0.0.0:30033, [::]:30033
teamspeak_1 | 2019-07-08 03:19:10.543362|INFO |VirtualServer |1 |listening on 0.0.0.0:9987, [::]:9987
teamspeak_1 | 2019-07-08 03:19:10.587277|INFO |Query | |listening for query ssh on 0.0.0.0:10022, [::]:10022
teamspeak_1 | 2019-07-08 03:19:10.603100|INFO |CIDRManager | |updated query_ip_whitelist ips: 127.0.0.1/32,
teamspeak_1 | 2019-07-08 07:05:38.515378|ERROR |Accounting | |failed to register local accounting service: Bad file descriptor
teamspeak_1 | 2019-07-08 07:05:38.610082|INFO |VirtualServerBase|1 |stopped
```
related to this solution: low memory ??
qeinz
June 29, 2023, 3:23pm
15
issue is still present… looks like not interested in fixing this…
All answers and information are given in the GitHub issue you did link.
Memory must be available and /dev/shm must be available all the time
.
Not a Linux pro answering:
Not having any space on swap may cause issues. Doesn’t have to, but it can happen.
2 Likes