Teamspeak Server on VPS
-
codyhawkinz
- New to forums

- Posts: 14
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Apr 09, 2015 1:44 pm
Teamspeak Server on VPS
My question is, why can I run the teamspeak server through 'root' but not with my other user? I'm running a San Andreas Multiplayer server on my other user and it's working fine.
I type in;"./ts3server_startscript.sh start"
Then this comes up:
"Do you have the right TS3 Server package for your system? You have: Linux x86_64, not Linux i386.
Starting the TeamSpeak 3 server
TeamSpeak 3 server started, for details please view the log file"
and it's exactly the same message I receive when running it from root and it works just fine through root. But I've heard it's better to run it through another user for safety reasons.
When I connect to the teamspeak server when running it through another user, it says;
<23:42:24> Trying to connect to server on xx.xxx.xx.xxx
<23:42:24> Failed to connect to server
Anyone who knows the reason behind this? Why it isn't working to run it through other users? Why it only works through root? How do I fix this?
I type in;"./ts3server_startscript.sh start"
Then this comes up:
"Do you have the right TS3 Server package for your system? You have: Linux x86_64, not Linux i386.
Starting the TeamSpeak 3 server
TeamSpeak 3 server started, for details please view the log file"
and it's exactly the same message I receive when running it from root and it works just fine through root. But I've heard it's better to run it through another user for safety reasons.
When I connect to the teamspeak server when running it through another user, it says;
<23:42:24> Trying to connect to server on xx.xxx.xx.xxx
<23:42:24> Failed to connect to server
Anyone who knows the reason behind this? Why it isn't working to run it through other users? Why it only works through root? How do I fix this?
Re: Teamspeak Server on VPS
Does it crash after saying that or does it seem to continue running?
-
codyhawkinz
- New to forums

- Posts: 14
- Joined: Thu Apr 09, 2015 1:44 pm
Re: Teamspeak Server on VPS
It continue running. I made sure of that by writing 'top' where I could see the ts3server running.
Re: Teamspeak Server on VPS
What does the teamspeak log say? Teamspeak has pretty good logging that will tell you if anything went wrong.
When looking through the logs, look for the one with _0.log, that is the log for the virtual TS server.
When looking through the logs, look for the one with _0.log, that is the log for the virtual TS server.
Not a NFO employee
-
codyhawkinz
- New to forums

- Posts: 14
- Joined: Thu Apr 09, 2015 1:44 pm
Re: Teamspeak Server on VPS
No logs appear when I run it through another user, only when running it through root.
So I doubt there's any useful information as it doesn't show any logs when I do it through another user.
So I doubt there's any useful information as it doesn't show any logs when I do it through another user.
Re: Teamspeak Server on VPS
Did you install the server as root? If the files are owned by root it would restrict your other user from being able to write files, or even read them.
try doing this on the teamspeak folder:
sudo chown -R user:user teamspeakfolder
try doing this on the teamspeak folder:
sudo chown -R user:user teamspeakfolder
Not a NFO employee
-
codyhawkinz
- New to forums

- Posts: 14
- Joined: Thu Apr 09, 2015 1:44 pm
Re: Teamspeak Server on VPS
I get this message "sudo: unable to resolve host (nameofhostthingy)"
Re: Teamspeak Server on VPS
Do it without "sudo" -- you don't need that when running as root.
Re: Teamspeak Server on VPS
That is unrelated to teamspeak and should only be a warning. You can log into root and remove sudo from the command if you want.codyhawkinz wrote:I get this message "sudo: unable to resolve host (nameofhostthingy)"
Not a NFO employee
-
codyhawkinz
- New to forums

- Posts: 14
- Joined: Thu Apr 09, 2015 1:44 pm
Re: Teamspeak Server on VPS
It's working now, thank you for the support, both soja and Edge100x, really appreciated.

