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
Joined: Sat Apr 23, 2016 11:12 am

starting teamspeak server on VPS: Permission Denied

Post by 17benbra » Sat Apr 23, 2016 11:20 am

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 » Sun Apr 24, 2016 6:39 am

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 » Sun Apr 24, 2016 6:44 am

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 » Sun Apr 24, 2016 6:47 am

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 » Sun Apr 24, 2016 7:03 am

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 » Sun Apr 24, 2016 7:08 am


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 » Sun Apr 24, 2016 7:12 am

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 » Sun Apr 24, 2016 7:15 am

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 » Sun Apr 24, 2016 7:16 am

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 » Sun Apr 24, 2016 7:17 am

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 » Sun Apr 24, 2016 7:19 am


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 » Sun Apr 24, 2016 7:23 am

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 » Sun Apr 24, 2016 7:25 am


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 » Sun Apr 24, 2016 7:28 am

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 » Sun Apr 24, 2016 7:39 am


Post Reply