Forum

Page 1 of 3 123 LastLast
Results 1 to 15 of 37
  1. #1
    Join Date
    February 2011
    Posts
    17

    Solved How to use chmod's in ts3 server !

    Hello, I have a www server and i have ssh permition so i decided to start ts3 server. I upload all files and server starts everything was ok but one day admins must to reinstall hosting on my server and i have problem with permision on my server. When i upload all files nad try to start server i get this :
    ts3server.pid found, but no server running. Possibly your previously started server crashed
    Please view the logfile for details.
    Starting the TeamSpeak 3 server
    TeamSpeak 3 server started, for details please view the log file
    But there was no logfile on server becouse it haven't got write permision. I must to change chmod and could you tell me how to set chmod's? Before reinstall my hosting i do chmod +x ts3server_startscript.sh and everything was ok and now i can't set chmods. Help me please !

  2. #2
    Join Date
    September 2010
    Location
    USA
    Posts
    39
    I am not sure if that is the problem, but make sure the server file itself has been chmoded.

  3. #3
    Join Date
    July 2002
    Location
    Germany
    Posts
    2,192
    Sounds like a "chmod -R u+rw ." (while in the ts3 server directory!) might help you.
    You think my answer is stupid ? Read This:
    http://www.catb.org/~esr/faqs/smart-...ons.html#intro

    In a world without fences and walls - who needs windows and gates ?

  4. #4
    Join Date
    February 2011
    Posts
    17
    Thanks for reply but "chmod -R u+rw " didn't help I don't know where is the problem. When i try to start server on my pc (ubuntu) it works fine but when i try to stert it on my server i have this error. What may be wrong? Do you have any idea?

  5. #5
    Join Date
    January 2011
    Location
    US
    Posts
    260
    who's the owner of the files?

  6. #6
    Join Date
    February 2011
    Posts
    17
    What do you mean?

  7. #7
    Join Date
    January 2011
    Location
    US
    Posts
    260
    use ls -l on the teamspeak folder, what do you see?

  8. #8
    Join Date
    February 2011
    Posts
    17
    When i do ./ts3server_startscript.sh stop i get "Stopping the TeamSpeak 3 serverdone". When i do ./ts3serverstartscript.sh start i get "Starting the TeamSpeak 3 server
    TeamSpeak 3 server started, for details please view the log file" and it's really strange becouse i haven't got logfiles. In my opinion it's something wrong witch chmod becouse ts3server haven't got permission to write thr log file. Do you have any ideas?

    After ls -l i get
    "total 7500
    -rwxrwxrwx 1 kuczas kuczas 28985 Feb 2 22:41 CHANGELOG
    drwxr-xr-x 2 kuczas kuczas 4096 Feb 2 22:43 doc
    -rwxr-xr-x 1 kuczas kuczas 208962 Feb 2 22:41 libts3db_mysql.so
    -rwxr-xr-x 1 kuczas kuczas 907009 Feb 2 22:41 libts3db_sqlite3.so
    -rwxr-xr-x 1 kuczas kuczas 24099 Feb 2 22:42 LICENSE
    drwxr-xr-x 2 kuczas kuczas 4096 Feb 2 22:48 serverquerydocs
    drwxr-xr-x 4 kuczas kuczas 4096 Feb 2 22:48 sql
    -rwxr-xr-x 1 kuczas kuczas 6458022 Feb 2 22:46 ts3server_linux_x86
    -rwxr-xr-x 1 kuczas kuczas 399 Feb 2 22:41 ts3server_minimal_runscript.sh
    -rwxr-xr-x 1 kuczas kuczas 2817 Feb 2 22:41 ts3server_startscript.sh
    Last edited by florian_fr40; February 14th, 2012 at 12:59 PM.

  9. #9
    Join Date
    January 2011
    Location
    US
    Posts
    260
    use ls -l on the teamspeak folder, what do you see?
    u+rw only gives the read/write permission to the owner. And only read,write permission, not execute.
    For me, the permission is set as follows
    /home> chown -R ts:daemon ts3
    (Note ts3 is the user I'm running teamspeak on, and it belongs to daemon group).
    chmod -R 000 ts3
    chmod -R u+rwX ts3
    (Make sure the letters are properly capitalized)
    cd ts3
    chmod 100 ts3server_startscript.sh ts3server_minimal_runscript.sh

    P.S.: Which user is running the startscript?
    What happens if you run ./ts3server_minimal_runscript.sh instead?
    What about ls -laF? I need to see your "." permission.

  10. #10
    Join Date
    February 2011
    Posts
    17
    I don't know how to do this:
    "For me, the permission is set as follows
    /home> chown -R ts:daemon ts3
    (Note ts3 is the user I'm running teamspeak on, and it belongs to daemon group)."
    Becouse i don't have any user i upload files and run console connect to my server via ssh and start it.
    When i do chown -R ts:daemon ts3 i have : chown: `ts:daemon': invalid user.
    After this:
    chmod -R 000 ts3
    chmod -R u+rwX ts3
    (Make sure the letters are properly capitalized)
    cd ts3
    chmod 100 ts3server_startscript.sh ts3server_minimal_runscript.sh
    When i'm trying to start my server i have "/bin/sh: ./ts3server_startscript.sh: Permission denied"
    When i give read/write permission, situation is the same like in 1 post.

    What happens if you run ./ts3server_minimal_runscript.sh instead?
    "./ts3server_minimal_runscript.sh: line 17: 12600 Segmentation fault ./ts3server_linux_x86 [email protected]"

    Any idea??

  11. #11
    Join Date
    January 2011
    Location
    US
    Posts
    260
    You don't have root access of the machine? Have you asked the admin whether you're allowed to run teamspeak server?
    What happens when you do ls-laF?

  12. #12
    Join Date
    February 2011
    Posts
    17
    One month ago ts3 server work fine but they must to reinstall hosting on my server, so when before it works then now it must work too!
    After ls -laF :
    total 7508
    drwx------ 5 kuczas kuczas 4096 Feb 3 19:23 ./
    drwx--x--x 9 kuczas kuczas 4096 Feb 2 22:41 ../
    -rwxrwxrwx 1 kuczas kuczas 28985 Feb 2 22:41 CHANGELOG*
    drwxr-xr-x 2 kuczas kuczas 4096 Feb 2 22:43 doc/
    -rwxr-xr-x 1 kuczas kuczas 208962 Feb 2 22:41 libts3db_mysql.so*
    -rwxr-xr-x 1 kuczas kuczas 907009 Feb 2 22:41 libts3db_sqlite3.so*
    -rwxr-xr-x 1 kuczas kuczas 24099 Feb 2 22:42 LICENSE*
    drwxr-xr-x 2 kuczas kuczas 4096 Feb 2 22:48 serverquerydocs/
    drwxr-xr-x 4 kuczas kuczas 4096 Feb 2 22:48 sql/
    -rwxr-xr-x 1 kuczas kuczas 6458022 Feb 2 22:46 ts3server_linux_x86*
    -rwx------ 1 kuczas kuczas 399 Feb 2 22:41 ts3server_minimal_runscript.sh*
    -rwx------ 1 kuczas kuczas 2817 Feb 2 22:41 ts3server_startscript.sh*

    Oh! And i have a question, do you know any good server with ssh acces where i can start my server? Not necessary to be free.
    Last edited by florian_fr40; February 14th, 2012 at 12:59 PM.

  13. #13
    Join Date
    January 2011
    Location
    US
    Posts
    260
    try
    mkdir logs
    and see whether you could create logs directory. Then try ./ts3server_minimal_runscript.sh again.

    Your permissions looks right. I'm worried about your segmentation fault though.

    P.S.: I'm using a dedicated server with root access, but I'm not sure whether you're prepared to pay the price.

    If you get segmentation fault again, type
    uname -a
    and see whether your system is running 32 or 64 bit system.

  14. #14
    Join Date
    February 2011
    Posts
    17
    After ./ts3server_minimal_runscript.sh :
    "./ts3server_minimal_runscript.sh: line 17: 23265 Segmentation fault ./ts3server_linux_x86 [email protected]"

    And how much do you pay for your server?

  15. #15
    Join Date
    January 2011
    Location
    US
    Posts
    260
    I pay $31/month, it's a starter dedicated. But let's not talk about that, I don't want to get off the teamspeak topic.

    What happens when you run uname -a? I'm wondering either 1) Dependency is not installed, or 2) it's running x86 when it should be x64.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Resolved] Can't start the server, chmod: changing permissions of...
    By Sydael in forum Linux
    Replies: 4
    Last Post: April 23rd, 2012, 02:40 PM
  2. File transfer chmod
    By Flowan in forum Linux / FreeBSD
    Replies: 1
    Last Post: September 23rd, 2010, 12:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •