PDA

View Full Version : Permission Problem?


Takasaki
13-10-2004, 06:29
First off, I am a noob to Linux and have only been using my RH server to host websites. I have never attempted installing a game server or TS server before.

I am trying to set up a TS server. I used a program called WinSCP to upload my TS2 server files. I logged in as one of my users and created a directory called "tss" in that users "home" directory. I opened up the terminal in WinSCP and ran the "ls" command in my "tss" directory to install the TS server. I think this worked OK.

I next ran the "./teamspeak2-server_startscript st" command to start the server, however I keep getting the following message...

Command './teamspeak2-server_startscript st'
failed with return code 126 and error message
-bash line: 46: ./teamspeak2-server_startscript st: Permission denied

I tried logging in with WinSCP as "root" however it wouldn't authenticate and let me in, I did this thinking my problem is a permissions one. It only let's me in as different users I created. However, in reading the TS manual, it advises not setting TS up in root.

I appreciate any help.

Peter
13-10-2004, 11:33
Read through the INSTALL file that comes with the server package (read it on your own PC). It takes a VERY slow pace with installing the TeamSpeak server.

guldi
13-10-2004, 12:45
have you noticed the sticky threads in this Forum section ? They may help as well

Takasaki
13-10-2004, 19:44
have you noticed the sticky threads in this Forum section ? They may help as well

Yes, I followed the one for "noobs".

automotiveuk
27-10-2004, 17:20
have sorted your problem out on permsion right on start tts server yet let me know and i will help you on install wrights.


create new user and group name IE: teamtalk command shell bin.sh

upack tts to home/tts

then run these commands open up shell and run

chown -R teamtalk /home/tts
chgrp -R teamtalk /home/tts
chmod -R 755 /home/tts

then change into that directory with cd /home/tss
then start your tts with ./tss_minimal-startupscript start

this should now work.

Degas
28-10-2004, 15:11
If you performed the operations as "USER", and placed it in their "/home/USER/" directory, then you are going to have to start and stop the server while logged in as that user.

If you have done that, and it's still giving you the "permission denied" error when you try to start the server, then you need to check the path and make sure all of the folders are set to "755", or maybe even "777".

The easiest way to do this is to use an FTP client (and make sure you're logged into the FTP client as the appropriate USER). I use SmartFTP, but you can CHMOD folders in any of the ones available (as long as you are the owner of the directory). In SmartFTP, you need to look in the right-hand pane for the directory(ies) you want to check, then right-click it and choose "CHMOD". This will show you what the current permissions are. It will also let you change those permissions, as long as you are the owner.

755 is usually standard, and should work for Teamspeak. 777 is wide open, don't use it unless you have to. It lets everyone read, write and execute in the directory with that setting.

You can also do all this using command lines, but I'm a raw noobie as well, and FTP is just easier for me :) The only problem with that is that some servers won't let you log in as "root" using FTP. And there are some operations that you MUST do as "root".