Forum

Results 1 to 12 of 12
  1. #1
    Join Date
    January 2012
    Posts
    5

    CentOs 6.4 server setup help

    Hello all, so I recently acquired a VPS box and I figured I would set up a TeamSpeak server on it. So far I have watched several tutorials with no luck, I have made a user I have the teamspeak files on the server and I used WinScp to make sure everything had the permissions 755.
    After that in some of the tutorials they use this command "./ts3server_startscript.sh start"
    while in others they use this ./ts3server_minimal_runscript.sh createinifile=1

    Here are the log files when I try either of them
    Code:
    [[email protected] teamspeak3-server]$ ./ts3server_startscript.sh start
    Starting the TeamSpeak 3 server
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    ./ts3server_startscript.sh: line 48: ts3server.pid: Permission denied
    TeamSpeak 3 server started, for details please view the log file
    [[email protected] teamspeak3-server]$ ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    2016-02-15 22:18:20.267696|CRITICAL|ServerLibPriv |   |Server() DatabaseError out of memory
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    [[email protected] teamspeak3-server]$


    Code:
    [[email protected] teamspeak3-server]$ ./ts3server_minimal_runscript.sh createinifile=1
    2016-02-15 22:26:16.749887|ERROR   |FileHelp      |   |CustomFileHelpers::createDirectory _wmkdir logs -1 13
    2016-02-15 22:26:16.749907|ERROR   |ServerLibPriv |   |Failed to create "logs" directory
    2016-02-15 22:26:16.749929|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.12.1 (2016-02-08 15:34:38)
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.749960|INFO    |ServerLibPriv |   |SystemInformation: Linux 2.6.32-042stab093.5 #1 SMP Wed Sep 10 17:39:49 MSK 2014 x86_64 Binary: 64bit
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.749978|WARNING |ServerLibPriv |   |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale!
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.749995|INFO    |ServerLibPriv |   |Using hardware aes
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.750494|INFO    |DatabaseQuery |   |dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.750518|INFO    |DatabaseQuery |   |dbPlugin version: 3.8.6
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.750621|ERROR   |DatabaseQuery |   |db_connect() failed unable to open database file
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.750651|CRITICAL|ServerLibPriv |   |Server() DatabaseError out of memory
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    [[email protected] teamspeak3-server]$
    -edit most of the tutorials tell me do do wget but I couldn't find the link of the newest version cause for me It just auto downloads, so I used Winscp to upload it not sure if thats an issue

  2. #2
    Join Date
    February 2012
    Location
    Germany
    Posts
    576
    Your ts3user don't seem to have permission to write to the current directory where the server is installed, thus the error messages.

  3. #3
    Join Date
    December 2004
    Location
    RF
    Posts
    3,007

    ToDo List

    Did any of those tutorials mentioned this wonderful chart?

  4. #4
    Join Date
    January 2012
    Posts
    5
    Quote Originally Posted by ANR Daemon View Post
    Did any of those tutorials mentioned this wonderful chart?
    Nice chart https://gyazo.com/a87169f333a66eae8c4f83e2bdc170ec

    Quote Originally Posted by Schlumpi View Post
    Your ts3user don't seem to have permission to write to the current directory where the server is installed, thus the error messages.
    Could you kindly help me fix this issue?
    Last edited by Chris; February 16th, 2016 at 03:30 PM.

  5. #5
    Join Date
    December 2009
    Location
    Germany
    Posts
    289
    If you do not know, how to change the file-ownership by yourself, you maybe should shut down the vserver.
    This is basic knowledge for someone, who wants to work with linux-systems. Please ask yourself, if you have the knowledge to administrate a linux-server properly. If not, please do not run a linux-server, you may not have fun with it.

    As a hint for you, read the manpages for the commands "chmod" and "chown".

  6. #6
    Join Date
    February 2012
    Location
    Germany
    Posts
    576
    Under Unix, every file and directory has a owner. Only the owner of a file should have (and usually has) permission to write to that file. If you run Teamspeak under Unix, make sure your Teamspeak user is the owner of the directory where your server is located and is the owner of all directories where he might write to (for example the files/ directory where all icons and uploaded channel files are stored), and is the owner of the files it created himself (the database, the logfiles).
    You can see ownership and permissions with "ls -l" and change them with the commands chown and chmod.
    If you started your server as root only one time in the past, it created all the files and directories with root as the owner - your ts3user isn't able to write to them with this. You have to use chown to change the ownership.

    This is basic Unix knowledge, just like knowledge like "start the Windows explorer to manage files" under Windows. You will not be able to successfully run a TS3 server in the long term if you lack this knowledge. Find tutorials and learn how to get familiar with Unix. If you search for "basic unix knowledge" with Google, you will find appropriate tutorials within the first few hits. This knowledge is not optional and not a waste of time. Really.

    If you "just want to have a Teamspeak server", rent one from a hoster, and the hoster will take care of all that nasty details.

  7. #7
    Join Date
    January 2012
    Posts
    5
    Quote Originally Posted by Schlumpi View Post
    Under Unix, every file and directory has a owner. Only the owner of a file should have (and usually has) permission to write to that file. If you run Teamspeak under Unix, make sure your Teamspeak user is the owner of the directory where your server is located and is the owner of all directories where he might write to (for example the files/ directory where all icons and uploaded channel files are stored), and is the owner of the files it created himself (the database, the logfiles).
    You can see ownership and permissions with "ls -l" and change them with the commands chown and chmod.
    If you started your server as root only one time in the past, it created all the files and directories with root as the owner - your ts3user isn't able to write to them with this. You have to use chown to change the ownership.

    This is basic Unix knowledge, just like knowledge like "start the Windows explorer to manage files" under Windows. You will not be able to successfully run a TS3 server in the long term if you lack this knowledge. Find tutorials and learn how to get familiar with Unix. If you search for "basic unix knowledge" with Google, you will find appropriate tutorials within the first few hits. This knowledge is not optional and not a waste of time. Really.

    If you "just want to have a Teamspeak server", rent one from a hoster, and the hoster will take care of all that nasty details.

    Hosters cost way more than vps, I am not rich and can not afford these sorts of voice communication, that is why I bought this vps

  8. #8
    Join Date
    January 2012
    Posts
    5
    Quote Originally Posted by Master_D View Post
    If you do not know, how to change the file-ownership by yourself, you maybe should shut down the vserver.
    This is basic knowledge for someone, who wants to work with linux-systems. Please ask yourself, if you have the knowledge to administrate a linux-server properly. If not, please do not run a linux-server, you may not have fun with it.

    As a hint for you, read the manpages for the commands "chmod" and "chown".
    So. you're saying because I don't have the knowlage that I shouldn't run a server. Well how am I suppose to learn anything without owning a server, servers are not expensive.

  9. #9
    Join Date
    January 2012
    Posts
    5
    Quote Originally Posted by raymor123 View Post
    Hello all, so I recently acquired a VPS box and I figured I would set up a TeamSpeak server on it. So far I have watched several tutorials with no luck, I have made a user I have the teamspeak files on the server and I used WinScp to make sure everything had the permissions 755.
    After that in some of the tutorials they use this command "./ts3server_startscript.sh start"
    while in others they use this ./ts3server_minimal_runscript.sh createinifile=1

    Here are the log files when I try either of them
    Code:
    [[email protected] teamspeak3-server]$ ./ts3server_startscript.sh start
    Starting the TeamSpeak 3 server
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    ./ts3server_startscript.sh: line 48: ts3server.pid: Permission denied
    TeamSpeak 3 server started, for details please view the log file
    [[email protected] teamspeak3-server]$ ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    2016-02-15 22:18:20.267696|CRITICAL|ServerLibPriv |   |Server() DatabaseError out of memory
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_18_20.266985_0.log) failed
    [[email protected] teamspeak3-server]$


    Code:
    [[email protected] teamspeak3-server]$ ./ts3server_minimal_runscript.sh createinifile=1
    2016-02-15 22:26:16.749887|ERROR   |FileHelp      |   |CustomFileHelpers::createDirectory _wmkdir logs -1 13
    2016-02-15 22:26:16.749907|ERROR   |ServerLibPriv |   |Failed to create "logs" directory
    2016-02-15 22:26:16.749929|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.12.1 (2016-02-08 15:34:38)
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.749960|INFO    |ServerLibPriv |   |SystemInformation: Linux 2.6.32-042stab093.5 #1 SMP Wed Sep 10 17:39:49 MSK 2014 x86_64 Binary: 64bit
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.749978|WARNING |ServerLibPriv |   |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale!
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.749995|INFO    |ServerLibPriv |   |Using hardware aes
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.750494|INFO    |DatabaseQuery |   |dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.750518|INFO    |DatabaseQuery |   |dbPlugin version: 3.8.6
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.750621|ERROR   |DatabaseQuery |   |db_connect() failed unable to open database file
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    2016-02-15 22:26:16.750651|CRITICAL|ServerLibPriv |   |Server() DatabaseError out of memory
    ERROR: openFile( file:logs/ts3server_2016-02-15__22_26_16.749917_0.log) failed
    [[email protected] teamspeak3-server]$
    -edit most of the tutorials tell me do do wget but I couldn't find the link of the newest version cause for me It just auto downloads, so I used Winscp to upload it not sure if thats an issue
    Fixed it Ty all <3

  10. #10
    Join Date
    December 2004
    Location
    RF
    Posts
    3,007

    Exclamation

    Quote Originally Posted by raymor123 View Post
    So. you're saying because I don't have the knowlage that I shouldn't run a server. Well how am I suppose to learn anything without owning a server, servers are not expensive.
    I'll be perfectly honest.
    Every server set up in the internet without adequate maintenance is a threat to the entire internet.
    As a citizen of internet, I'm considering this a threat to my personal safety.
    And as long as you are threatening my safety, I will treat you accordingly.

    If you want to learn, you got your option already. Set up a personal education sandbox from couple of VM's, practice installing OS of your choice, setting up networking, servers and other stuff.
    When you are feeling comfortable in command line and networking basics, you may try to project that knowledge to the real server.

  11. #11
    Join Date
    December 2009
    Location
    Germany
    Posts
    289
    There are more ways to get the needed knowledge, than running a possibly insecure server public available within the internet.
    And if you need the teamspeak3 server now, then you should at least have somebody with the knowledge, who can help you, securing your server and teach you the needed knowledge.
    Otherwise, as in the post before is mentioned, you are a security-risk for the internet itself.

    So please, create the setup, you have rented now, within a virtual environment on your home-device, and use it as a testenvironment. This gives you the chance to learn everything you need, before you get into trouble with your rented server.

  12. #12
    Join Date
    February 2016
    Posts
    2

    Omg

    I do not understand why not help him ...
    I apologize in advance for my bad English

    i have manual for instalation instructions , but only in my native language (czech)
    http://livinglegen.blogspot.cz/


    I'll try to write here Short instructions (I have a CentOS 7 but it should go on CentOS 6)

    #yum upgrade -y
    #useradd ts3
    #useradd ts3
    #chmod 755 /home/ts3
    if you do not have wget and install it
    #yum -y isntall wget
    #su - ts3
    $cd /home/ts3
    $wget http://dl.4players.de/ts/releases/3....3.0.12.tar.bz2
    $tar -xzvf teamspeak3-server_linux-amd64-3.0.12.tar.gz *bz2 need this command tar -xjvf
    $mv teamspeak3-server_linux-amd64-3.0.11.4 teamspeak-server
    $rm teamspeak3-server_linux-amd64-3.0.11.4 teamspeak3-server

    $cd /home/ts3/teamspeak-server
    $./ts3server_minimal_runscript.sh createinifile=1
    Here it is necessary to copy the token and server admin password
    "ctr + c" for end
    $./ts3server_startscript.sh start ts3server.ini
    $./ts3server_startscript.sh status

    This is much in a nutshell how to rock on CentOS ... I suggest to pass more information on Google as far as setting

    Perhaps it would help

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. TS3 on CentOS Setup Issues
    By GvnrRickPerry in forum Linux / FreeBSD
    Replies: 8
    Last Post: September 10th, 2015, 12:47 AM
  2. Can't connect to TS3 Server on CentOS
    By Phenom94 in forum Linux / FreeBSD
    Replies: 17
    Last Post: July 28th, 2014, 12:52 PM
  3. [Resolved] Server help setup: centos-6-x86
    By goatboynz in forum Linux / FreeBSD
    Replies: 3
    Last Post: February 21st, 2014, 03:51 AM
  4. CentOS Server Help
    By VenomServers in forum Server Support
    Replies: 1
    Last Post: January 22nd, 2013, 11:16 AM
  5. Replies: 2
    Last Post: July 19th, 2010, 12:07 AM

Tags for this Thread

Posting Permissions

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