View Full Version : -sh problem
DiZzeeNL
28-03-2007, 15:11
~/tss2_rc2 $ ./ teamspeak2-server_startscript start
-sh: ./: Permission denied
whats wrong? when i want to start the script, i get the follow error -sh: ./: Permission denied
kind regards
Your user-account has not enough permissions to execute the startscript, I think.
DiZzeeNL
03-04-2007, 09:57
but i am logged in as root ?
Try logging in as a regular user then get to the Terminal, type:sudo -i
That's gonna put you as a Root User just for the Terminal. Then type in:cd tss2_rc2 && ./teamspeak2-server_startscript start If you do it with the &&, that just will do it in one command. Make sure you cd to where TS is located.
sjames06
10-04-2007, 17:02
I would assume that the startscript does not have the appropriate permissions placed on it. I had the same problem
Try either of the following code and then try and start the server
chmod +x teamspeak2-server_startscript
or
chmod 777 teamspeak2-server_startscript
Scott
and never run the server as root! always change to the user account before you run it
DiZzeeNL
18-05-2007, 01:08
ts@192.168.2.1's password:
~ $ sudo -i
-sh: sudo: not found
~ $ sudo -i
-sh: sudo: not found
~ $ cd tss2_rc2 && ./teamspeak2-server_startscript start
-sh: ./teamspeak2-server_startscript: not found
~/tss2_rc2 $ date
Fri May 18 01:06:04 MEST 2007
~/tss2_rc2 $ ls
INSTALL manual.html
INSTALL.mysql mysql_sql
Manual server_linux
README sqlite.so
changelog.txt sqlite_sql
httpdocs tcpquerydocs
libsqlmy.so teamspeak2-server_startscript
~/tss2_rc2 $ ./teamspeak2-server_startscript
-sh: ./teamspeak2-server_startscript: not found
~/tss2_rc2 $
~/tss2_rc2 $ ./teamspeak2-server_startscript
-sh: ./teamspeak2-server_startscript: not found
~/tss2_rc2 $ ./teamspeak2-server_startscript start
-sh: ./teamspeak2-server_startscript: not found
~/tss2_rc2 $
still no result.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.