Debian 11 "failed to register local accounting service: No such file or directory" / /dev/shm/ file keeps deleting itself

From the Changelog file, I’m using version 3.13.6. Here’s my log:

2021-12-21 12:36:03.101570|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.13.6 (2021-06-09 10:22:37)
2021-12-21 12:36:03.101677|INFO |ServerLibPriv | |SystemInformation: Linux 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 Binary: 64bit
2021-12-21 12:36:03.101699|INFO |ServerLibPriv | |Using hardware aes
2021-12-21 12:36:03.102288|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 3, ©TeamSpeak Systems GmbH
2021-12-21 12:36:03.102316|INFO |DatabaseQuery | |dbPlugin version: 3.11.1
2021-12-21 12:36:03.102502|INFO |DatabaseQuery | |checking database integrity (may take a while)
2021-12-21 12:36:03.135269|WARNING |Accounting | |Unable to open licensekey.dat, falling back to limited functionality 2021-12-21 12:36:03.135497|INFO |Accounting | |Licensing Information
2021-12-21 12:36:03.135516|INFO |Accounting | |licensed to : Anonymous
2021-12-21 12:36:03.135525|INFO |Accounting | |type : No License
2021-12-21 12:36:03.135536|INFO |Accounting | |starting date : Thu Oct 1 00:00:00 2020
2021-12-21 12:36:03.135545|INFO |Accounting | |ending date : Tue Nov 1 00:00:00 2022
2021-12-21 12:36:03.135552|INFO |Accounting | |max virtualservers: 1
2021-12-21 12:36:03.135559|INFO |Accounting | |max slots : 32
2021-12-21 12:36:03.644116|INFO | | |Puzzle precompute time: 491
2021-12-21 12:36:03.644410|INFO |FileManager | |listening on 0.0.0.0:30033, [::]:30033
2021-12-21 12:36:03.678991|INFO |Query | |Using a query thread pool size of 2
2021-12-21 12:36:03.715323|INFO |Query | |listening for query on 0.0.0.0:10011, [::]:10011
2021-12-21 12:36:03.715500|INFO |Query | |listening for ssh query on 0.0.0.0:10022, [::]:10022
2021-12-21 12:36:03.715586|INFO |Query | |listening for http query on 0.0.0.0:10080, [::]:10080
2021-12-21 12:36:03.715649|INFO |CIDRManager | |updated query_ip_allowlist ips: 127.0.0.1/32, ::1/128, 2021-12-21 13:38:44.103311|ERROR |Accounting | |failed to register local accounting service: No such file or directory

I may have found the exact problem. The file in /dev/shm/ keeps deleting after some time I let the server run. When I refresh the folder after it has crashed, it’s not there anymore, and by executing the script with “status” yields " Server seems to have died ". What can I do?

A bit of context, I’m administrating a local domestic server through SSH, and I’ve setup a crontab to start the integrated script. I frequently use tmux.

Please bear in mind that I am a Linux newbie. I’ve already extensively searched online, but found nothing.

Thank you for your help.

Glad you found out why the server ends wit that error.

More a linux question than a TS question.

3 Likes

It worked! I edited:

/etc/systemd/logind.conf

uncommenting

RemoveIPC=yes

and ultimately changing its bool value to no:

RemoveIPC=no

It’s been 3 hours and a half, and nothing bad happened. Thank you!

twitch instagram twitter facebook