[GH-ISSUE #2436] [Issue] Can't start TeamSpeak3 server... it starts, then immediately stops. #1797

Closed
opened 2026-02-27 02:59:06 +03:00 by kerem · 11 comments
Owner

Originally created by @Ayymoss on GitHub (Jul 10, 2019).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2436

User Story

Install TeamSpeak3 using exactly the same commands provided here https://linuxgsm.com/lgsm/ts3server/

Start server.

Basic info

  • Distro: Ubuntu 18.04
  • Game: TeamSpeak3
  • Command: start/monitor

Further Information

I can start the server under 'root' without any issue, but moving back over to the su - ts3server and starting it looks like it starts correctly, but then running ./ts3server monitor says it seems to have failed and attempts to restart it... (loop)

Literally, if I log under root to /home/ts3server/serverfiles and run ./ts3server_startscript.sh start it works without issue.

It seems to be an issue either with ./ts3server or the user environment?

Oh, and I tried the IPv6 Fix as suggested in the documents.

To Reproduce

Install ts3 server, start server.
In logs it says

2019-07-10 16:43:10.870762|INFO    |VirtualServer |1  |listening on 149.202.86.115:9987
2019-07-10 16:43:10.976692|INFO    |VirtualServerBase|1  |stopped

Expected behaviour

Server to start correctly and joinable.

Originally created by @Ayymoss on GitHub (Jul 10, 2019). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2436 ## User Story Install TeamSpeak3 using exactly the same commands provided here https://linuxgsm.com/lgsm/ts3server/ Start server. ## Basic info * Distro: Ubuntu 18.04 * Game: TeamSpeak3 * Command: start/monitor ## Further Information I can start the server under 'root' without _any_ issue, but moving back over to the `su - ts3server` and starting it looks like it starts correctly, but then running ./ts3server monitor says it seems to have failed and attempts to restart it... (loop) Literally, if I log under root to `/home/ts3server/serverfiles` and run `./ts3server_startscript.sh start` it works without issue. It seems to be an issue either with `./ts3server` or the user environment? Oh, and I tried the IPv6 Fix as suggested in the documents. ## To Reproduce Install ts3 server, start server. In logs it says ``` 2019-07-10 16:43:10.870762|INFO |VirtualServer |1 |listening on 149.202.86.115:9987 2019-07-10 16:43:10.976692|INFO |VirtualServerBase|1 |stopped ``` ## Expected behaviour Server to start correctly and joinable.
kerem 2026-02-27 02:59:06 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@issue-label-bot[bot] commented on GitHub (Jul 10, 2019):

Issue-Label Bot is automatically applying the label type: bug to this issue, with a confidence of 0.88. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

<!-- gh-comment-id:510142240 --> @issue-label-bot[bot] commented on GitHub (Jul 10, 2019): Issue-Label Bot is automatically applying the label `type: bug` to this issue, with a confidence of 0.88. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/GameServerManagers/LinuxGSM) and [code](https://github.com/hamelsmu/MLapp) for this bot.
Author
Owner

@kennyLtv commented on GitHub (Jul 10, 2019):

You should check your file ownership, I'm betting this isn't an issue with the script but that the user doesn't own the server files.

<!-- gh-comment-id:510148891 --> @kennyLtv commented on GitHub (Jul 10, 2019): You should check your file ownership, I'm betting this isn't an issue with the script but that the user doesn't own the server files.
Author
Owner

@Ayymoss commented on GitHub (Jul 10, 2019):

@kennyLtv well unless the script downloads the files under the wrong user I don't believe it's related as I literally made a new user deleting the old one and ran the script again using vanilla files and it fails out of the box.

https://i.imgur.com/t7bOvJt.png

<!-- gh-comment-id:510151444 --> @Ayymoss commented on GitHub (Jul 10, 2019): @kennyLtv well unless the script downloads the files under the wrong user I don't believe it's related as I literally made a new user deleting the old one and ran the script again using vanilla files and it fails out of the box. https://i.imgur.com/t7bOvJt.png <blockquote></blockquote>
Author
Owner

@kennyLtv commented on GitHub (Jul 10, 2019):

The fresh install I just tested comes online correctly https://imgur.com/a/MCpAS2h

Can you post the results from the details command?

Imgur
Post with 1 views.
<!-- gh-comment-id:510159250 --> @kennyLtv commented on GitHub (Jul 10, 2019): The fresh install I just tested comes online correctly https://imgur.com/a/MCpAS2h Can you post the results from the details command? <blockquote><img src="https://i.imgur.com/f6OXxwf.jpg?fb" width="48" align="right"><div><img src="//s.imgur.com/images/favicon-16x16.png" height="14"> Imgur</div><div><strong><a href="https://imgur.com/a/MCpAS2h">Imgur</a></strong></div><div>Post with 1 views.</div></blockquote>
Author
Owner

@Ayymoss commented on GitHub (Jul 10, 2019):

https://pastebin.com/raw/T9vVQPqk

Hmm, I don't understand then. :(

Battalion 1944, Minecraft, CS:GO servers all work without any issue.

Just TeamSpeak 3 that is messing me around, and it's weird because using it's own files if I run them as root it works as expected. Though, I'd rather use LinuxGSM as intended.

<!-- gh-comment-id:510160425 --> @Ayymoss commented on GitHub (Jul 10, 2019): https://pastebin.com/raw/T9vVQPqk Hmm, I don't understand then. :( Battalion 1944, Minecraft, CS:GO servers all work without any issue. Just TeamSpeak 3 that is messing me around, and it's weird because using it's own files if I run them as root it works as expected. Though, I'd rather use LinuxGSM as intended. <blockquote></blockquote>
Author
Owner

@h3o66 commented on GitHub (Jul 10, 2019):

Well, did you already look in the teamspeak logs if there is any error in there ?
They are located in log/server/

<!-- gh-comment-id:510168219 --> @h3o66 commented on GitHub (Jul 10, 2019): Well, did you already look in the teamspeak logs if there is any error in there ? They are located in log/server/
Author
Owner

@Ayymoss commented on GitHub (Jul 10, 2019):

TS3LogFiles.zip
I don't see anything that would directly indicate something has gone wrong? :(

Maybe I'm just blind for the issue.

Any idea?

<!-- gh-comment-id:510171330 --> @Ayymoss commented on GitHub (Jul 10, 2019): [TS3LogFiles.zip](https://github.com/GameServerManagers/LinuxGSM/files/3378880/TS3LogFiles.zip) I don't see anything that would directly indicate something has gone wrong? :( Maybe I'm just blind for the issue. Any idea?
Author
Owner

@Frisasky commented on GitHub (Jul 11, 2019):

just try install on debian 9 maybe?

<!-- gh-comment-id:510283874 --> @Frisasky commented on GitHub (Jul 11, 2019): just try install on debian 9 maybe?
Author
Owner

@h3o66 commented on GitHub (Jul 11, 2019):

Can you check if this helps ?

https://forum.teamspeak.com/threads/93623-Instance-check-error-failed-to-register-local-accounting-service-on-Linux?p=465663#post465663

In this case there might be a file in /dev/shm/ that needs to be deleted

Can you post a list of that dir with permissions?

Edit by moderator

Please read the FAQ

-----------Original report below-----------

hi guys

after some days testing the server, i want to switch to mysql.

<!-- gh-comment-id:510350447 --> @h3o66 commented on GitHub (Jul 11, 2019): Can you check if this helps ? https://forum.teamspeak.com/threads/93623-Instance-check-error-failed-to-register-local-accounting-service-on-Linux?p=465663#post465663 In this case there might be a file in /dev/shm/ that needs to be deleted Can you post a list of that dir with permissions? <blockquote><img src="/assets/2016/images/favicon.ico" width="48" align="right"><div><strong><a href="https://forum.teamspeak.com/threads/93623-Instance-check-error-failed-to-register-local-accounting-service-on-Linux?p=465663#post465663">Resolved Instance check error / failed to register local accounting service on Linux - Page 8 - TeamSpeak</a></strong></div><div>Edit by moderator Please read the FAQ -----------Original report below----------- hi guys after some days testing the server, i want to switch to mysql.</div></blockquote>
Author
Owner

@Ayymoss commented on GitHub (Jul 11, 2019):

That worked! :)

root@eu:~# ls -al /dev/shm
total 4
drwxrwxrwt  2 root root   60 Jul 10 17:18 .
drwxr-xr-x 19 root root 3960 Jun 29 14:14 ..
-rw-r--r--  1 root root  128 Jul 10 17:18 7gbhujb54g8z9hu43jre8

I removed that file and it worked. Could be worth updating docs with this information?

<!-- gh-comment-id:510384497 --> @Ayymoss commented on GitHub (Jul 11, 2019): That worked! :) ``` root@eu:~# ls -al /dev/shm total 4 drwxrwxrwt 2 root root 60 Jul 10 17:18 . drwxr-xr-x 19 root root 3960 Jun 29 14:14 .. -rw-r--r-- 1 root root 128 Jul 10 17:18 7gbhujb54g8z9hu43jre8 ``` I removed that file and it worked. Could be worth updating docs with this information?
Author
Owner

@github-actions[bot] commented on GitHub (Dec 25, 2020):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:751133156 --> @github-actions[bot] commented on GitHub (Dec 25, 2020): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#1797
No description provided.