starting teamspeak server on VPS: Permission Denied

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
17benbra
A semi-regular
A semi-regular
Posts: 17
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat Apr 23, 2016 11:12 am

starting teamspeak server on VPS: Permission Denied

Post by 17benbra »

I have dowloaded a teampseak server on my one core linux VPS and when i do ./ts3server_minimal_startscript.sh createinifile=1 is says permission denied can anyone help with that?
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: starting teamspeak server on VPS: Permission Denied

Post by soja »

chmod +x ts3server_minimal_startscript.sh
Not a NFO employee
17benbra
A semi-regular
A semi-regular
Posts: 17
Joined: Sat Apr 23, 2016 11:12 am

Re: starting teamspeak server on VPS: Permission Denied

Post by 17benbra »

yes i tried this and it did not work
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: starting teamspeak server on VPS: Permission Denied

Post by soja »

Can you screenshot the full output of ls -al in the directory of the teamspeak server?
Not a NFO employee
17benbra
A semi-regular
A semi-regular
Posts: 17
Joined: Sat Apr 23, 2016 11:12 am

Re: starting teamspeak server on VPS: Permission Denied

Post by 17benbra »

i also need that extra createinifile=1
unless someone knows how to set up a whole teamspeak server on ubuntu on just need help with this and importing an existing teamspeak onto it
17benbra
A semi-regular
A semi-regular
Posts: 17
Joined: Sat Apr 23, 2016 11:12 am

Re: starting teamspeak server on VPS: Permission Denied

Post by 17benbra »

User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: starting teamspeak server on VPS: Permission Denied

Post by soja »

All of your files are owned by root.

Run this command:
chown -R ts3user:ts3user /home/ts3user/kushcorner-server
Not a NFO employee
17benbra
A semi-regular
A semi-regular
Posts: 17
Joined: Sat Apr 23, 2016 11:12 am

Re: starting teamspeak server on VPS: Permission Denied

Post by 17benbra »

ok well i also need the createinifile=1
17benbra
A semi-regular
A semi-regular
Posts: 17
Joined: Sat Apr 23, 2016 11:12 am

Re: starting teamspeak server on VPS: Permission Denied

Post by 17benbra »

ok after that what do i type
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: starting teamspeak server on VPS: Permission Denied

Post by soja »

The command I gave changes all the files to be owned by the user you are trying to start the teamspeak server as. Try running the command you want to start the server now.
Not a NFO employee
17benbra
A semi-regular
A semi-regular
Posts: 17
Joined: Sat Apr 23, 2016 11:12 am

Re: starting teamspeak server on VPS: Permission Denied

Post by 17benbra »

User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: starting teamspeak server on VPS: Permission Denied

Post by soja »

ok give me another ls -al output please.
Not a NFO employee
17benbra
A semi-regular
A semi-regular
Posts: 17
Joined: Sat Apr 23, 2016 11:12 am

Re: starting teamspeak server on VPS: Permission Denied

Post by 17benbra »

User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: starting teamspeak server on VPS: Permission Denied

Post by soja »

ok you should be running the server as the user, not root.

To get to the user you want to run the server as, type su ts3user

Then chmod +x ts3server

Then try to run the server.
Not a NFO employee
17benbra
A semi-regular
A semi-regular
Posts: 17
Joined: Sat Apr 23, 2016 11:12 am

Re: starting teamspeak server on VPS: Permission Denied

Post by 17benbra »

Post Reply