TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

A place to request add-ons from the ReadyNAS Community.

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby jamestx10 » Mon Aug 15, 2011 7:56 am

I would guess that the initial setup of the TS server is the hard part. This would be a really awesome add on though. Maybe Super will get a second wind on it or someone else will pick it up.
Ultra 6+ with 4 HUA722020ALA330 2TB drives & 2 HDS5C3030ALA630 3TB drives in Xraid2 with dual disk redundancy
RAIDiator 4.2.21, Memory: 4096 MB [4-5-5-18 DDR2] Services: CrashPlan 3.2.1, Nas Monitor 3.3, PHP+Mysql Support 1.4, ReadyNAS Remote, v1.0.9.78, uTorrent 2.2.02 (not running).
User avatar
jamestx10
ReadyNAS User
 
Posts: 52
Joined: Mon Nov 15, 2010 12:05 pm
Location: The Lone Star State
ReadyNAS: Ultra

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby markg » Mon Aug 15, 2011 8:33 am

jamestx10 wrote:I would guess that the initial setup of the TS server is the hard part. This would be a really awesome add on though. Maybe Super will get a second wind on it or someone else will pick it up.


teamspeak 3 is a pretty easy install, at least on a normal server. And ALL of the server options/settings/etc. are done remotely via either the client or telnet. Nothing is done using the console.

all you do is copy the server files to a directory (any directory) and launch the program. it is all self contained and needs no outside resources that im aware of.

the only problem is that the initial launch tells you the admin password on the console, and you might not have console access on some installs, but the easy way around that is to launch once on your desktop computer, copy the password, then move the files elsewhere. thats what i have done on mine, and ive moved the software (including database) between at least 4 different servers over the last several months.

if you do what i describe, then all you need to do is copy the directory/files over to the readynas, and set up a cron job to start the executable on server start. so maybe we dont need an install, just some linux knowledge/how to do this on a readynas?

mark
RNDP6630-200ESIN ReadyNas Pro 6 Hard Drives: 6x ST33000650NS RAM: 4GB
RNDP6610 ReadyNas Business Pro Hard Drives: 6x ST31000340NS RAM: 3GB
RND4275-100 ReadyNas NV+ Hard Drives: 4x ST3750640NS Ram: 1GB
markg
ReadyNAS Expert
 
Posts: 426
Joined: Sun Dec 02, 2007 8:22 am
Location: Silicon Valley
ReadyNAS: Pro

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby jamestx10 » Mon Aug 15, 2011 9:46 am

That is the "hard" part that I was referring too. The initial setup. Actually running the TS server is all console as you stated.

I would be fine in doing the setup on the PC and then moving it to the NAS but I run Windows so that might be an issue too.
Ultra 6+ with 4 HUA722020ALA330 2TB drives & 2 HDS5C3030ALA630 3TB drives in Xraid2 with dual disk redundancy
RAIDiator 4.2.21, Memory: 4096 MB [4-5-5-18 DDR2] Services: CrashPlan 3.2.1, Nas Monitor 3.3, PHP+Mysql Support 1.4, ReadyNAS Remote, v1.0.9.78, uTorrent 2.2.02 (not running).
User avatar
jamestx10
ReadyNAS User
 
Posts: 52
Joined: Mon Nov 15, 2010 12:05 pm
Location: The Lone Star State
ReadyNAS: Ultra

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby markg » Mon Aug 15, 2011 11:18 am

jamestx10 wrote:That is the "hard" part that I was referring too. The initial setup. Actually running the TS server is all console as you stated.

I would be fine in doing the setup on the PC and then moving it to the NAS but I run Windows so that might be an issue too.


shouldnt be an issue.
the database is the same on either platform, so you only need to copy that over.
RNDP6630-200ESIN ReadyNas Pro 6 Hard Drives: 6x ST33000650NS RAM: 4GB
RNDP6610 ReadyNas Business Pro Hard Drives: 6x ST31000340NS RAM: 3GB
RND4275-100 ReadyNas NV+ Hard Drives: 4x ST3750640NS Ram: 1GB
markg
ReadyNAS Expert
 
Posts: 426
Joined: Sun Dec 02, 2007 8:22 am
Location: Silicon Valley
ReadyNAS: Pro

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby jamestx10 » Mon Aug 15, 2011 11:30 am

I wonder if Super ran into an issue after showing the logs.
Ultra 6+ with 4 HUA722020ALA330 2TB drives & 2 HDS5C3030ALA630 3TB drives in Xraid2 with dual disk redundancy
RAIDiator 4.2.21, Memory: 4096 MB [4-5-5-18 DDR2] Services: CrashPlan 3.2.1, Nas Monitor 3.3, PHP+Mysql Support 1.4, ReadyNAS Remote, v1.0.9.78, uTorrent 2.2.02 (not running).
User avatar
jamestx10
ReadyNAS User
 
Posts: 52
Joined: Mon Nov 15, 2010 12:05 pm
Location: The Lone Star State
ReadyNAS: Ultra

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby markg » Mon Aug 15, 2011 12:15 pm

jamestx10 wrote:I wonder if Super ran into an issue after showing the logs.


maybe he couldnt find the admin password
RNDP6630-200ESIN ReadyNas Pro 6 Hard Drives: 6x ST33000650NS RAM: 4GB
RNDP6610 ReadyNas Business Pro Hard Drives: 6x ST31000340NS RAM: 3GB
RND4275-100 ReadyNas NV+ Hard Drives: 4x ST3750640NS Ram: 1GB
markg
ReadyNAS Expert
 
Posts: 426
Joined: Sun Dec 02, 2007 8:22 am
Location: Silicon Valley
ReadyNAS: Pro

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby kaspar » Fri Jun 22, 2012 9:08 pm

Bump for an update, I'd be very keen on this addon !!
However, if this is not on the agenda anymore, would someone be kind enough and explain to me how to install a TS3 server on the readynas ? I own the Ultra 2 Plus, but have near zero knowledge about installing software on the thing.
Any help would be greatly appreciated :)
Thank you :D
kaspar
ReadyNAS Newbie
 
Posts: 1
Joined: Fri Jun 22, 2012 9:01 pm
ReadyNAS: Ultra

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby diablo668 » Sat Sep 01, 2012 6:53 am

I'm gonna bump this thread since I'm also looking into this and this is what I got so far:
F.Y.I. I'm running an Ultra 4 (x86) RAIDiator 4.2.19, keep in mind that Teamspeak will not run on a Sparc or ARM based device.

- Created a user 'Teamspeak' using the webinterface .
- Downloaded the current version: teamspeak3-server_linux-amd64-3.0.6.1.tar.gz <- Yes AMD64, turns out it's 64bit, I checked using:
Code: Select all
uname -a
Linux NAS 2.6.37.6.RNx86_64.2.1 #1 SMP Mon Aug 15 16:19:41 PDT 2011 x86_64 GNU/Linux


- Extracted the tar and gave ownership to the Teamspeak user

- Started using the follwing command so it would run under the Teamspeak user (all the user created using the webinterface have /bin/false and cannot logon using SSH)
Code: Select all
/bin/su -s /bin/bash -c '/usr/local/src/teamspeak3-server_linux-amd64/ts3server_startscript.sh start' Teamspeak


Then it quits on me claiming it can't find a bunch of libraries and when I check the bin file for dependencies it gives me the following results:

Code: Select all
ldd -d ts3server_linux_amd64
        linux-vdso.so.1 =>  (0x00007fffcefff000)
        libdl.so.2 => not found
        librt.so.1 => not found
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9d8cf66000)
        libstdc++.so.6 => not found
        libm.so.6 => not found
        libgcc_s.so.1 => not found
        libc.so.6 => /lib64/libc.so.6 (0x00007f9d8cbf5000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f9d8d182000)


When I check for the missing lib, I can find the all in /lib/ but not in /lib64/ which means the 64bit are not installed, problem is that firmware is still based on Debian Lenny and haven't been able to find the right lib to install because lenny is missing from both http://www.debian.org/distrib/packages and http://www.debian.org/distrib/archive. Installing newer versions fails because they depend on other lib that aren't updated and forcing an installation could possibly brick everything. So any suggestions would be helpfull.
http://www.DiaKe.be
ITIL, MCP, MCDST, MCITP EST, MCSA, MCSE, CCNA, ...
diablo668
ReadyNAS Newbie
 
Posts: 8
Joined: Wed Apr 01, 2009 11:32 am
Location: Belgium
ReadyNAS: Ultra

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby markg » Sun Sep 02, 2012 6:44 am

i have found out by accident that teamspeak 32 bit is quite happy to run on 64bit machines.
didnt see any performance issues, so it ran this way for a few months before switching to 64bit

have you tried the 32 bit version? maybe the libraries are there and it would run?

database would be the same either way, ive switched them between various versions without any problem
RNDP6630-200ESIN ReadyNas Pro 6 Hard Drives: 6x ST33000650NS RAM: 4GB
RNDP6610 ReadyNas Business Pro Hard Drives: 6x ST31000340NS RAM: 3GB
RND4275-100 ReadyNas NV+ Hard Drives: 4x ST3750640NS Ram: 1GB
markg
ReadyNAS Expert
 
Posts: 426
Joined: Sun Dec 02, 2007 8:22 am
Location: Silicon Valley
ReadyNAS: Pro

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby diablo668 » Mon Sep 10, 2012 11:49 am

Yes I did try the 32bit version and failed to start it, but I'm getting close, because I now know it's possible.

First off:
Code: Select all
ldd -d ts3server_linux_x86
        linux-gate.so.1 =>  (0xffffe000)
        libdl.so.2 => /lib/libdl.so.2 (0xf7742000)
        librt.so.1 => /lib/librt.so.1 (0xf7739000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7721000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf762b000)
        libm.so.6 => /lib/libm.so.6 (0xf7605000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf75f8000)
        libc.so.6 => /lib/libc.so.6 (0xf74ba000)
        /lib/ld-linux.so.2 (0xf774d000)


And when you try to run the ts3server_minimal_runscript.sh from a root user it works, but haven't gotten it to run from a normal user account. Even with the user having all the rights on the folder it cuts out on a few errors:

Code: Select all
sh ts3server_minimal_runscript.sh
Do you have the right TS3 Server package for your system? You have: Linux x86_64, not Linux i386.
2012-09-10 18:48:53.181718|INFO    |ServerLibPriv |   | TeamSpeak 3 Server 3.0.6.1 (2012-06-29 07:59:05)
2012-09-10 18:48:53.182798|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
2012-09-10 18:48:53.182960|INFO    |DatabaseQuery |   | dbPlugin version: 3.7.3
2012-09-10 18:48:53.183675|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
2012-09-10 18:48:53.278025|WARNING |Accounting    |   | Unable to find valid license key, falling back to limited functionality
2012-09-10 18:48:53.778699|ERROR   |Accounting    |   | failed to register local accounting service
2012-09-10 18:48:53.778871|ERROR   |ServerLibPriv |   | Server() error while starting servermanager, error: instance check error
http://www.DiaKe.be
ITIL, MCP, MCDST, MCITP EST, MCSA, MCSE, CCNA, ...
diablo668
ReadyNAS Newbie
 
Posts: 8
Joined: Wed Apr 01, 2009 11:32 am
Location: Belgium
ReadyNAS: Ultra

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby diablo668 » Mon Sep 10, 2012 12:04 pm

Got another step further:

The ERROR |Accounting | | failed to register local accounting service turns out to be a normal error, since I don't have license key I can only run one server, and because I ran it as root first it created a fine in /dev/shm, after deleting this file and grating my Teamspeak owner rights I could start the server normaly.
(http://forum.teamspeak.com/showthread.p ... ng-service)
http://www.DiaKe.be
ITIL, MCP, MCDST, MCITP EST, MCSA, MCSE, CCNA, ...
diablo668
ReadyNAS Newbie
 
Posts: 8
Joined: Wed Apr 01, 2009 11:32 am
Location: Belgium
ReadyNAS: Ultra

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby markg » Mon Sep 10, 2012 12:50 pm

thats great news.

now you just have to explain to us non experts exactly how/what to install on our readynas.

and how to start/stop the ts3 server. we need to do this to replace the database with one generated on another box, so we have the root admin.

btw the license is free if you are a non profit/gamer/etc. i have a 512 slot license and can run those slots over many servers (i forget how many, but more than i will ever need)
RNDP6630-200ESIN ReadyNas Pro 6 Hard Drives: 6x ST33000650NS RAM: 4GB
RNDP6610 ReadyNas Business Pro Hard Drives: 6x ST31000340NS RAM: 3GB
RND4275-100 ReadyNas NV+ Hard Drives: 4x ST3750640NS Ram: 1GB
markg
ReadyNAS Expert
 
Posts: 426
Joined: Sun Dec 02, 2007 8:22 am
Location: Silicon Valley
ReadyNAS: Pro

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby diablo668 » Sat Sep 15, 2012 12:57 am

Full step by step guide on how I managed to get Teamspeak running on my Ultra 4 (x86)

! Make sure you got ssh access set up for your Readynas !

- Create a Teamspeak user using the webinterface of your readynas (Teamspeak doesn't like running from root user)
- SSH into you readynas using Putty (or something similar) and logon with your root user (by default with the ssh add-on this is your only user that can logon)
- Navigate to your prefered directory, for ex: /urs/local/src/
Code: Select all
cd /usr/local/src/

- Go to the download page on the teamspeak website, select linux serer x86, click trough the next few pages until you get the download link and then copy and past this link. Using this link we can download it directly to our readynas:
Code: Select all
wget http://teamspeak.gameserver.gamed.de/ts3/releases/3.0.6.1/teamspeak3-server_linux-x86-3.0.6.1.tar.gz

- Unpack the file:
Code: Select all
tar zxfv teamspeak3-server_linux-x86-3.0.6.1.tar.gz

- Setup ownership on the folder (replace Teamspeak with the teamspeak user you created earlier)
Code: Select all
chown Teamspeak:users -R teamspeak3-server_linux-x86

- Navigate into the directory:
Code: Select all
cd teamspeak3-server_linux-x86

- Optional: Check if the library dependancies are met:
Code: Select all
ldd -d ts3server_linux_x86

You should see something similar to this:
Code: Select all
        linux-gate.so.1 =>  (0xffffe000)
        libdl.so.2 => /lib/libdl.so.2 (0xf7742000)
        librt.so.1 => /lib/librt.so.1 (0xf7739000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7721000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf762b000)
        libm.so.6 => /lib/libm.so.6 (0xf7605000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf75f8000)
        libc.so.6 => /lib/libc.so.6 (0xf74ba000)
        /lib/ld-linux.so.2 (0xf774d000)

- Up the rights on /dev/shm (by default this only has root permissions, but teamspeak saves something of a license key in here and we'll be running teampseak under a normal user.
Code: Select all
chmod 777 -R /dev/shm/

- Run teamspeak for the first time (again replace Teamspeak with your the user you created earlier):
Code: Select all
/bin/su -s /bin/bash -c '/usr/local/src/teamspeak3-server_linux-x86/ts3server_startscript.sh start' Teamspeak


You should see something similar to this:
Code: Select all
------------------------------------------------------------------
                      I M P O R T A N T
------------------------------------------------------------------
               Server Query Admin Account created
         loginname= "***********", password= "********"
------------------------------------------------------------------
------------------------------------------------------------------
                      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=****************************************
------------------------------------------------------------------

Copy this info and store it!

- Login to your new teamspeak server and provide the token key when your clients asks for it.

****

- Stopping teamspeak:
Code: Select all
/bin/su -s /bin/bash -c '/usr/local/src/teamspeak3-server_linux-x86/ts3server_startscript.sh stop' Teamspeak


- Running teamspeak for the 2nd, 3rd, ...:
Code: Select all
/bin/su -s /bin/bash -c '/usr/local/src/teamspeak3-server_linux-x86/ts3server_startscript.sh start' Teamspeak


* Things that need to be added and haven't got to yet:
- Automated startup script
- License key
http://www.DiaKe.be
ITIL, MCP, MCDST, MCITP EST, MCSA, MCSE, CCNA, ...
diablo668
ReadyNAS Newbie
 
Posts: 8
Joined: Wed Apr 01, 2009 11:32 am
Location: Belgium
ReadyNAS: Ultra

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby markg » Sat Sep 15, 2012 8:03 am

great instructions, thanks!!

as far as the license key (which you only need if you want more than 1 server or more than 32 slots), once you register your non profit (which can be a gaming clan) they will give you the serverkey.dat file that is your key.

you just copy it to the root teamspeak directory, and restart the server, thats it.
RNDP6630-200ESIN ReadyNas Pro 6 Hard Drives: 6x ST33000650NS RAM: 4GB
RNDP6610 ReadyNas Business Pro Hard Drives: 6x ST31000340NS RAM: 3GB
RND4275-100 ReadyNas NV+ Hard Drives: 4x ST3750640NS Ram: 1GB
markg
ReadyNAS Expert
 
Posts: 426
Joined: Sun Dec 02, 2007 8:22 am
Location: Silicon Valley
ReadyNAS: Pro

Re: TeamSpeak 3 for the x86 platform (ReadyNAS Pro/NVX)

Postby markg » Sat Sep 15, 2012 8:11 am

diablo668 wrote:- Login to your new teamspeak server and provide the token key when your clients asks for it.



dont do that.

this token is for server admin, as opposed to the query admin shown above.

what you want to do is, use this token yourself the first time you connect to the server to grant yourself normal admin privileges. it is a single use token.

the query admin is only used to create new server instances etc. which you wont normally want to do.
RNDP6630-200ESIN ReadyNas Pro 6 Hard Drives: 6x ST33000650NS RAM: 4GB
RNDP6610 ReadyNas Business Pro Hard Drives: 6x ST31000340NS RAM: 3GB
RND4275-100 ReadyNas NV+ Hard Drives: 4x ST3750640NS Ram: 1GB
markg
ReadyNAS Expert
 
Posts: 426
Joined: Sun Dec 02, 2007 8:22 am
Location: Silicon Valley
ReadyNAS: Pro

PreviousNext

Return to Community Add-on Requests



Who is online

Users browsing this forum: No registered users and 0 guests