TS3 Server kann nur als Root laufen

Hi zusammen,

ich bin neu bei Teamspeak, habe mich an die Anleitung und Videos im Netzgehalten aber der TS3 Server kann bei mir NUR als Root gestartet werden.

Ich habe einen Ubuntu 24.04 LTS Server aufgesetzt bei mir. Ich habe einen User ts3 erstellt mit Homeverzeichnis, dort alles entpackt. Das minimal Script ausgeführt und die Daten notiert. Jetzt möchte ich natürlich mit dem regulären ts3 User ./ts3server_startscript.sh start ausführen.

Ja, ich hab dem User chmod -R ts3:ts3 auf das gesamte Verzeichnis /home/ts3& sowie alle Dateien chmod -R ts3:ts3 /home/ts3/* gegeben. Mit dem regulären User startet der Server nicht und ich weiß bei Gott langsam nicht mehr wieso?

Ich habe zusätzlich chmod +x ts3:ts3 /home/ts3/ts3server_startscript.sh gemacht. Leider hat das auch nichts genützt. Kann es sein, dass man den Server nur als Root laufen lassen kann?

Ich bin mit meinem Wissen leider echt am Ende.
Jede Hilfe ist gerne gesehen!

VG

Okay … das verstehe ich nicht und da würde ich das Team bitten nochmal zu schauen:

unter /dev/shm wird ein Ke generiert. Aber IMMER nur als Root. Als root diese Datei dem Teamspeak User geben et voilá.. es klappt. Aber das dürfte doch so gar nicht sein? Oder zumindest ist es sonst nirgendswo wirklich dokumentiert.

VG

To create your TeamSpeak3 please follow these steps :

Create TeamSpeak user

Once connected as root you will need to create an user :

adduser teamspeak

Identify yourself as user “teamspeak” :

su teamspeak

Teamspeak server install

Go to teamspeak user directory and download the server (Here the link is for a 64-Bits OS using 3.13.7 teamspeak server version):

cd /home/teamspeak
wget https://files.teamspeak-services.com/releases/server/3.13.7/teamspeak3-server_win64-3.13.7.zip

You can find the download link at this page : Download.

Exctract the archive, then remove it and go to the server folder :

tar xjf teamspeak3-server_win64-3.13.7.zip
rm teamspeak3-server_win64-3.13.7.zip
cd teamspeak3-server_linux_amd64

Generate a configuration file

To generate a configuration file you have to use :

./ts3server_minimal_runscript.sh createinifile=1

It will show you the file content where you will be able to find the serveradmin username and password, as well as the Token to use at the first server connection. (Keep these informations, they are really important)

Press ctrl+c to quit the generation tool.

Start Teamspeak at server startup

To start your Teamspeak server on the vps start, please follow these steps :

crontab -e

Then press i to edit your text file and add :

@reboot cd /home/teamspeak/teamspeak3-server_linux_amd64 ; ./ts3server_startscript.sh start

Press Escape to quit edition and insert :wq to valid your file editing.

You also can start your sever manually using this command :

./ts3server_startscript.sh start

Commands

Here is a list of SSH commands you can use for your TeamSpeak.

You must be logged as “teamspeak” user.

First, go to the server folder

cd /home/teamspeak/teamspeak3-server_linux_amd6

Start the server :

./ts3server_startscript.sh start

Stop the server:

./ts3server_startscript.sh stop

Restart the server:

./ts3server_startscript.sh restart

Get server status :

./ts3server_startscript.sh status

Edit Server Admin Query password :

./ts3server_startscript.sh start serveradmin_password=NEWPASSWORD
1 Like

Thank you! Your instructions were really detailed.