NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

jjcf89's avatar
jjcf89
Aspirant
Aug 05, 2013

How to install teamspeak 3 server [x86_64]

I just spent part of the day installing this so I thought I'd write it down while it was still fresh. Please let me know if its missing something as I don't have a fresh unit to test this set of instructions on.

Note this requires EnableRootSSH.bin plugin

Note: The latest version that is working for me is teamspeak3-server_linux-amd64-3.0.7.2.tar.gz. If anyone can get a later version running that would be great to know. Response from teamspeak forumn: http://forum.teamspeak.com/showthread.php/96865-readynas-amd64-Upgrade-to-3-0-10-3-server-crashes

Download teamspeak
  • Go to http://www.teamspeak.com/?page=downloads

  • Click download link for Server amd64

  • Accept the legal agreement

  • At the Thank you for downloading Teamspeak screen, copy the link shown

  • SSH into the ReadyNas as root

  • Create a teamspeak directory e.g.
    mkdir /c/teamspeak/

  • cd /c/teamspeak

  • wget <copied link>

  • Extract the tar file
    tar xzf teamspeak3-server*.tar.gz

  • A teamspeak3-server_linux-amd64 directory will have been created, this has all the files for running the teamspeak server


Installing missing libraries

  • Edit /etc/apt/sources.list and add the following lines: Note: I'm unclear if both of these sources are needed
    deb http://archive.debian.org/debian etch main
    deb http://archive.debian.org/debian-backports etch-backports main non-free

  • Install libgcc, libstdc, and libc
    apt-get install lib64gcc1 lib64stdc++6 libc6-amd64


FIx "Failed to register local accounting service" error message

  • Edit /etc/fstab and add the following line at the bottom:
    tmpfs /dev/shm tmpfs defaults 0 0

  • Source: http://forum.teamspeak.com/showthread.php/68827-Failed-to-register-local-accounting-service


Test server

  • From the /c/teamspeak/teamspeak3-server_linux-amd64 directory, start the server
    ./ts3server_minimal_runscript.sh

  • You should see something like this: Make sure to write down the username, password, and token it prints out. You will need these to configure your server.
    ./ts3server_minimal_runscript.sh
    2013-08-05 01:41:35.087774|INFO |ServerLibPriv | | TeamSpeak 3 Server 3.0.6.1 (2012-06-29 07:59:05)
    2013-08-05 01:41:35.088876|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2013-08-05 01:41:35.089044|INFO |DatabaseQuery | | dbPlugin version: 3.7.3
    2013-08-05 01:41:35.089893|INFO |DatabaseQuery | | checking database integrity (may take a while)
    2013-08-05 01:41:35.160925|INFO |SQL | | db_CreateTables() tables created

    ------------------------------------------------------------------
    I M P O R T A N T
    ------------------------------------------------------------------
    Server Query Admin Account created
    loginname= "serveradmin", password= "ivopV5Wv"
    ------------------------------------------------------------------

    2013-08-05 01:41:35.827524|WARNING |Accounting | | Unable to find valid license key, falling back to limited functionality
    2013-08-05 01:41:35.891805|INFO |FileManager | | listening on 0.0.0.0:30033
    2013-08-05 01:41:35.904763|INFO |VirtualSvrMgr | | executing monthly interval
    2013-08-05 01:41:35.905414|INFO |VirtualSvrMgr | | reset virtualserver traffic statistics
    2013-08-05 01:41:36.631533|INFO |VirtualServer | 1| listening on 0.0.0.0:9987
    2013-08-05 01:41:36.632940|INFO |VirtualServer | 1| client 'server'(id:0) added privilege key for servergroup 'Server Admin'(id:6)
    2013-08-05 01:41:36.633092|WARNING |VirtualServer | 1| --------------------------------------------------------
    2013-08-05 01:41:36.633283|WARNING |VirtualServer | 1| ServerAdmin privilege key created, please use the line below
    2013-08-05 01:41:36.633425|WARNING |VirtualServer | 1| token=mWvRPAT3mixSHRegDD3ktZVnV7+RH+sBPIna7aqN
    2013-08-05 01:41:36.633570|WARNING |VirtualServer | 1| --------------------------------------------------------

    ------------------------------------------------------------------
    I M P O R T A N T
    ------------------------------------------------------------------
    ServerAdmin privilege key created, please use it to gain
    serveradmin rights for your virtualserver. please
    also check the doc/privilegekey_guide.txt for details.

    token=mWvRPAT3mixSHRegDD3ktZVnV7+RH+sBPIna7aqN
    ------------------------------------------------------------------

    2013-08-05 01:41:36.675623|INFO |CIDRManager | | updated query_ip_whitelist ips: 127.0.0.1,
    2013-08-05 01:41:36.676875|INFO |Query | | listening on 0.0.0.0:10011

  • If you get any errors about missing libraries let me know, I'm pretty sure I included them all above. Make sure to include the output to the commands
    ldd libts3db_sqlite3.so
    ldd ts3server_linux_x86

  • Connect to your server from the teamspeak client, you may have to do port forwarding if you have a Nat router. This is beyond this article. Teamspeak ports: tcp/udp 8765,8766,9987,30033,10011

  • Hit ctrl-c to close the server


Setup server to start on bootup

  • Create init.d symlink
    cd /etc/init.d
    ln -s /c/teamspeak/teamspeak3-server_linux-amd64/ts3server_startscript.sh ts3server

  • Create symlinks for startup and shutdown runlevels

    for d in /etc/rc0.d /etc/rc1.d /etc/rc6.d; do
    (cd $d; ln -s /etc/init.d/ts3server K50ts3server)
    done

    for d in /etc/rc2.d /etc/rc3.d /etc/rc4.d /etc/rc5.d; do
    (cd $d; ln -s /etc/init.d/ts3server S50ts3server)
    done

  • Start the server
    /etc/init.d/ts3server start


Configuring Server
  • Configuring the server is beyond this tutorial and can be found easily by some google searches :P


Updating server
When updating to newer teamspeak servers simply download latest tar file. Move the old teamspeak3-server_linux-amd64 directory and extract the tar ball. The following files/directories should be copied to keep settings, etc.
query_ip_blacklist.txt
query_ip_whitelist.txt
ts3server.sqlitedb
files/

5 Replies

Replies have been turned off for this discussion
  • It would be really nice if someone were to make this into a community plugin *wink *wink.

    Also if you install the 32 bit version theres a good chance you can skip installing the additional libraries. You'll just have to put up with the warning on startup.
    Do you have the right TS3 Server package for your system? You have: Linux x86_64, not Linux i386.
  • Hello,
    I tried to install teamspeak and I got this error :
    ./ts3server_linux_amd64: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
    Can you help me resolve it.
  • ive got this message ..

    Ready_NAS:/c/teamspeak/teamspeak3-server_linux-amd64# ./ts3server_minimal_runscript.sh
    Do you have the right TS3 Server package for your system? You have: Linux padre, not Linux x86_64.
    ./ts3server_minimal_runscript.sh: line 18: ./ts3server_linux_amd64: cannot execute binary file.


    HELP?
  • Hi.

    Is this up to date ?

    So far, it's the only thread I found about setting up teamspeak on ReadyNas and sadly, it doesnt look updated.

    I'm thinking about buying the RN 10400, would this work on this device ?
    Can we currently install the last version of TS3 server ?
    Also, when we do this manipulation, is there any data from the NAS lost ? (Including/Excluding the root access)


    It would be nice to have a recent update, at least to let us know what version and what devices are supported.

    Regards.
  • Ellone wrote:
    Hi.
    Is this up to date ?
    So far, it's the only thread I found about setting up teamspeak on ReadyNas and sadly, it doesnt look updated.

    I'm thinking about buying the RN 10400, would this work on this device ?
    Can we currently install the last version of TS3 server ?
    Also, when we do this manipulation, is there any data from the NAS lost ? (Including/Excluding the root access)

    It would be nice to have a recent update, at least to let us know what version and what devices are supported.

    Regards.


    According to this page, that ReadyNAS uses an ARM processor and teamspeak has not released a ARM build of the server so it will not work.
    http://support.netgear.com/product/rn10400

    For future reference, I am still running a teamspeak server on the same ReadyNAS. Currently running server version 3.0.11.1. I have no way to verify that the above steps still work as I don't have a fresh unit to test and have no interest in wiping mine. I have a NETGEAR RNDP400U-100NAS.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More