Teamspeak 3 Server: instance check error
December 20th, 2009 by Andreas - Posted in Linux, ServerTeamspeak 3 Beta1 is out and there are some problems running it under Linux. I wrote a step by step howto to set up a ts3 server on linux.
HowTo:
First you have to create a user which runs the ts3 server (root is a bad idea):
useradd ts3
After this change to the user and move to his home directory:
su ts3 cd ~
Download and extract the Teamspeak 3 server (this is the 64bit version):
wget http://ftp.4players.de/pub/hosted/ts3/releases/beta-1/teamspeak3-server_linux-amd64-3.0.0-beta1.tar.gz tar zxvf teamspeak3-server_linux-amd64-3.0.0-beta1.tar.gz
Now move to the extracted folder and start the Teamspeak 3 server:
cd teamspeak3-server_linux-amd64 ./ts3server_linux_amd64 &
Write down the user name and password which is shown on the screen for server admin rights. The first log file under /logs in the ts3 server folder contains the admin token. This token can be used once to register a user with admin rights.
Problems:
2009-12-20 10:49:39.852960|INFO |ServerLibPriv | | Server Version: 3.0.0-beta1 [Build: 9366] 2009-12-20 10:49:39.890852|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, (c)TeamSpeak Systems GmbH 2009-12-20 10:49:39.891284|INFO |DatabaseQuery | | dbPlugin version: 3.6.4 2009-12-20 10:49:39.971083|WARNING |Accounting | | Unable to find valid license key, falling back to limited functionality 2009-12-20 10:49:40.312599|ERROR |Accounting | | failed to register accounting service 2009-12-20 10:49:40.318183|ERROR |ServerLibPriv | | Server() error while starting servermanager, error: instance check error
If you are not able to start the ts3 server (after you started is with root rights or with another users), empty the /tmp server. Teamspeak 3 creates a lock file to check if the service runs.
[strace error information] ... unlink("/tmp/7gbhujb54g8z9hu43jre8") = -1 EPERM (Operation not permitted) open("/tmp/7gbhujb54g8z9hu43jre8", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW, 0777) = -1 EEXIST (File exists) ...

December 20th, 2009 at 16:12
Well I dont have this problem, but you can also remove the file in /dev/shm and remove the folder “files” and create the folder files after it logged in as the user you want to start the server with.
I have a problem binding the IP to the server, andy solution for that?
December 20th, 2009 at 16:18
Try to start with “voice_ip=yourIPAdress” as command option. Another method is to create a .ini file with “inifile=1″ as command option. After this you can set up all information in the “ts3server.ini” file.
January 4th, 2010 at 00:17
Just had the same problem with the same error message: I started the server from one (unix) user and then tried to start it as another user.
Like Bob/#1 suggested, the temporary file in my case was located in /dev/shm/ instead of /tmp/, so I had to
rm /dev/shm/7gbhujb54g8z9hu43jre8
as the user who first started the server. I’m running teamspeak3-server_linux-x86-3.0.0-beta12.