Forum

Page 1 of 8 123 ... LastLast
Results 1 to 15 of 112
  1. #1
    dani4u87 Guest

    Instance check error / failed to register local accounting service on Linux

    Edit by moderator

    Please read the FAQ


    -----------Original report below-----------

    hi guys

    after some days testing the server, i want to switch to mysql.
    had some problems but google and this forum helped me out.

    now, i have a weird error as following:

    2010-01-03 22:59:03.276230|INFO |ServerLibPriv | | Server Version: 3.0.0-beta12 [Build: 9596]
    2010-01-03 22:59:03.280054|INFO |DatabaseQuery | | dbPlugin name: MySQL plugin, (c)TeamSpeak Systems GmbH
    2010-01-03 22:59:03.280302|INFO |DatabaseQuery | | dbPlugin version: 1
    2010-01-03 22:59:03.300716|INFO |SQL | | db_CreateTables() tables droped
    2010-01-03 22:59:03.832390|INFO |SQL | | db_CreateTables() tables created
    2010-01-03 22:59:04.075183|WARNING |Accounting | | Unable to find valid license key, falling back to limited functionality
    2010-01-03 22:59:04.077527|ERROR |Accounting | | failed to register accounting service
    2010-01-03 22:59:04.078355|ERROR |ServerLibPriv | | Server() error while starting servermanager, error: instance check error
    first: the license key IS in the right directory, and i tested it also with the full path /srv/teamspeak3/licensekey.dat


    at last, my config files:
    machine_id=
    default_voice_port=9987
    voice_ip=0.0.0.0
    licensepath=licensekey.dat
    filetransfer_port=30033
    filetransfer_ip=0.0.0.0
    query_port=10011
    query_ip=0.0.0.0
    dbplugin=ts3db_mysql
    dbpluginparameter=/srv/teamspeak3/ts3db_mysql.ini
    dbsqlpath=sql/
    dbsqlcreatepath=create_mysql/
    logpath=logs
    logquerycommands=1
    <extra line inserted>
    [config]
    host=127.0.0.1
    port=3306
    username=teamspeak3
    password=xxxxxxxxxxxxxxxx
    database=teamspeak3
    socket=
    <extra line inserted>
    i hope anyone of you can help me.
    at this time, i set up a clean server and test it with a clean db.


    and sorry for my bad english :>


    EDIT: same with a fresh install & db with the ini files above.
    for testing i started it without the ini files, worked also with the license key
    Last edited by dante696; February 16th, 2018 at 08:55 AM.

  2. #2
    Join Date
    January 2010
    Location
    In front of my computer
    Posts
    51
    Could be a permissions issue..
    chmod -R 755 /srv/teamspeak3

    Or you could put the full path to the .lic file in the config.

    Linuxx

  3. #3
    Join Date
    December 2009
    Location
    Good old Germany
    Posts
    222
    Hi,

    remove the line: licensekey.dat from your ts3server.ini

    and change: dbpluginparameter=/srv/teamspeak3/ts3db_mysql.ini to dbpluginparameter=ts3db_mysql.ini

    Also give us your file list with ls -l

    thx
    cheech

  4. #4
    dani4u87 Guest
    thanks.

    testing it now.

    here's the list

    Code:
    [email protected]:~/teamspeak3$ ls -l
    insgesamt 5132
    drwxr-xr-x  2 server server    4096 31. Dez 05:50 doc
    drwxr-xr-x  3 server server    4096  3. Jan 23:08 files
    drwxr-xr-x 31 server server    4096  5. Jan 22:48 files\virtualserver_1
    -rwxr--r--  1 server server  212235 31. Dez 05:50 libts3db_mysql.so
    -rwxr--r--  1 server server  952289 31. Dez 05:50 libts3db_sqlite3.so
    -rwxr--r--  1 server server     910 31. Dez 00:20 licensekey.dat
    drwxr-xr-x  2 server server    4096  8. Jan 22:21 logs
    -rwxr--r--  1 server server     112 31. Dez 00:21 serverkey.dat
    drwxr-xr-x  2 server server    4096 31. Dez 05:50 serverquerydocs
    drwxr-xr-x  4 server server    4096 31. Dez 05:50 sql
    -rwxr--r--  1 server server     100  3. Jan 22:51 ts3db_mysql.ini
    -rwxr--r--  1 server server     310  3. Jan 22:58 ts3server.ini
    -rwxr--r--  1 server server 3777904 31. Dez 05:50 ts3server_linux_amd64
    -rwxr--r--  1 server server  248832  8. Jan 22:21 ts3server.sqlitedb
    [email protected]:~/teamspeak3$
    tested it, but now i have the "old" problem: (i had it before)
    Code:
    [email protected]:~/teamspeak3$ ./ts3server_linux_amd64 inifile=ts3server.ini &
    [1] 28699
    [email protected]:~/teamspeak3$ Logging started
    2010-01-08 23:30:54.824551|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta12 [Build: 9596]
    2010-01-08 23:30:54.828363|INFO    |DatabaseQuery |   | dbPlugin name:    MySQL plugin, (c)TeamSpeak Systems GmbH
    2010-01-08 23:30:54.828543|INFO    |DatabaseQuery |   | dbPlugin version: 1
    2010-01-08 23:30:54.837407|ERROR   |DatabaseQuery |   | mysql_real_connect() failed with error: Access denied for user 'server'@'dani4u.com' (using password: YES)
    
    [1]+  Speicherzugriffsfehler  ./ts3server_linux_amd64 inifile=ts3server.ini
    [email protected]:~/teamspeak3$

    all of my mysql settings are set up correctly, but it creates only the tables.. nothing more


    got it.
    i edited the mysql rights for "server" - changed "localhost" and "127.0.0.1" to a single IP
    tested it before only with "%" (standing for all hosts allowed to connect this db)

    so, the problem was only the mysql account "server" - that wasnt allowed to connect from the main ip


    thanks guys for help
    Last edited by dani4u87; January 9th, 2010 at 12:41 AM.

  5. #5
    Join Date
    December 2009
    Location
    Good old Germany
    Posts
    222
    Hi,

    did you create a DB, user and password for the ts3 server ?

    What is written in your ts3server.ini and ts3db_mysql.ini (without passwords) ???

    Which OS ? 32 or 64 Bit ???

    Cheech

  6. #6
    Join Date
    August 2007
    Location
    Brasil
    Posts
    51

    TS3 Server can't start. error: instance check error

    Hi guys, i have one VPS on hostdime.com and i can't start my teamspeak 3 server.

    Here it's the log file:

    2011-02-16 01:44:10.989177|INFO |ServerLibPriv | | Server Version: 3.0.0-beta30 [Build: 12998], Linux
    2011-02-16 01:44:10.989379|INFO |DatabaseQuery | | dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2011-02-16 01:44:10.989412|INFO |DatabaseQuery | | dbPlugin version: 3.7.3
    2011-02-16 01:44:10.989656|INFO |DatabaseQuery | | checking database integrity (may take a while)
    2011-02-16 01:44:11.009081|INFO |SQL | | db_CreateTables() tables created
    2011-02-16 01:44:11.192941|WARNING |Accounting | | Unable to find valid license key, falling back to limited functionality
    2011-02-16 01:44:11.193373|ERROR |Accounting | | failed to register local accounting service
    2011-02-16 01:44:11.193409|ERROR |ServerLibPriv | | Server() error while starting servermanager, error: instance check error


    Anyone can help me?

    Thanks

  7. #7
    Join Date
    May 2010
    Posts
    6,310
    Hello

    Please read the documentation :
    Quote Originally Posted by Server_quickstart.txt
    In some cases, the server process terminates on startup and the error message reads
    "Server() error while starting servermanager, error: instance check error".

    As long as you don't have a license key embededded we make sure you only run exactly
    one instance of the TS3 server free unregistered version. We use shared memory to
    facilitate the communication to detect other running instances, which requires tmpfs
    to be mounted at /dev/shm. If you (for whatever reason) do not have this mounted, the
    above error will occur.

    To fix this problem, the following commands or file edits need to be done as root user
    (or using something like sudo). This is a temporary fix until your next reboot.

    mount -t tmpfs tmpfs /dev/shm

    Now, to make sure this mount is done automatically upon reboot edit the file /etc/fstab
    and add the line:

    tmpfs /dev/shm tmpfs defaults 0 0

  8. #8
    Join Date
    August 2007
    Location
    Brasil
    Posts
    51
    Quote Originally Posted by florian_fr40 View Post
    Hello

    Please read the documentation :
    I had already tried this...

    [email protected] [~]# mount -t tmpfs tmpfs /dev/shm
    mount: mount point /dev/shm does not exist
    [email protected] [~]#

  9. #9
    Join Date
    August 2007
    Location
    Brasil
    Posts
    51
    Quote Originally Posted by igorsantos11 View Post
    I had already tried this...

    [email protected] [~]# mount -t tmpfs tmpfs /dev/shm
    mount: mount point /dev/shm does not exist
    [email protected] [~]#

    Anyone can help me?

  10. #10
    Join Date
    January 2009
    Location
    Germany
    Posts
    2
    A workaround is to put the nonprofit licence into folder. I don´t know the solution for that mounting problem.

  11. #11
    Join Date
    October 2011
    Posts
    2

    Solved Failed to register local accounting service

    Hello everyone i'm trying to install the TS3 server onto a VPS but i'm getting so trouble so if anybody could pin-point me to where is the problem that would be awesome!

    ts3server.ini
    Code:
    machine_id=
    default_voice_port=9987
    voice_ip=*.*.*.*
    licensepath=licensekey.dat
    filetransfer_port=30033
    filetransfer_ip=74.208.79.129
    query_port=10011
    query_ip=*.*.*.*
    dbplugin=ts3db_sqlite3
    dbpluginparameter=
    dbsqlpath=sql/
    dbsqlcreatepath=create_sqlite/
    logpath=logs
    logquerycommands=1
    Error logs
    Code:
    2011-10-17 20:50:58.257573|INFO    |ServerLibPriv |   | Server Version: 3.0.0 [Build: 14957], Linux
    2011-10-17 20:50:58.258271|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2011-10-17 20:50:58.258340|INFO    |DatabaseQuery |   | dbPlugin version: 3.7.3
    2011-10-17 20:50:58.258887|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
    2011-10-17 20:50:58.301336|INFO    |SQL           |   | pruning old database log entries where timestamp is older than 90 days
    2011-10-17 20:50:58.314937|WARNING |Accounting    |   | Unable to find valid license key, falling back to limited functionality
    2011-10-17 20:50:58.315098|ERROR   |Accounting    |   | failed to register local accounting service
    2011-10-17 20:50:58.315127|ERROR   |ServerLibPriv |   | Server() error while starting servermanager, error: instance check error
    So it seems to me that the process crash right at start...

    More info needed let me know.
    Thanks to all!
    Last edited by 3lb34st; October 18th, 2011 at 03:12 AM. Reason: Fixed!

  12. #12
    Join Date
    October 2011
    Posts
    1
    The information to resolve that problem is contained in the server_quickstart.txt, I had exactly the same problem when I set up my server a couple of weeks ago.

    Quote Originally Posted by server_quickstart.txt
    In some cases, the server process terminates on startup and the error message reads
    "Server() error while starting servermanager, error: instance check error".

    As long as you don't have a license key embededded we make sure you only run exactly
    one instance of the TS3 server free unregistered version. We use shared memory to
    facilitate the communication to detect other running instances, which requires tmpfs
    to be mounted at /dev/shm. If you (for whatever reason) do not have this mounted, the
    above error will occur.

    To fix this problem, the following commands or file edits need to be done as root user
    (or using something like sudo). This is a temporary fix until your next reboot.

    mount -t tmpfs tmpfs /dev/shm

    Now, to make sure this mount is done automatically upon reboot edit the file /etc/fstab
    and add the line:

    tmpfs /dev/shm tmpfs defaults 0 0
    Last edited by florian_fr40; October 20th, 2011 at 08:30 AM.

  13. #13
    Join Date
    October 2011
    Posts
    2
    thanks fixed!

  14. #14
    Join Date
    January 2011
    Location
    Denmark
    Posts
    9

    TS3 MySQL on CentOS 5.5

    Hello there, I got MySQL on my CentOS 5.5 VPS server, and I want TS3 to use it. But I've been searching for a while now, haven't found anything useful though, I did import the .sql file to a DB called ts3 - is there anyone who can lead me? Thank you.

    This is the recent log:
    Code:
    2011-10-20 00:21:05.311921|INFO    |ServerLibPriv |   | Server Version: 3.0.0 [Build: 14957], Linux
    2011-10-20 00:21:05.312094|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2011-10-20 00:21:05.312115|INFO    |DatabaseQuery |   | dbPlugin version: 3.7.3
    2011-10-20 00:21:05.312286|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
    2011-10-20 00:21:05.326166|INFO    |SQL           |   | pruning old database log entries where timestamp is older than 90 days
    2011-10-20 00:21:05.338682|WARNING |Accounting    |   | Unable to find valid license key, falling back to limited functionality
    2011-10-20 00:21:05.338840|ERROR   |Accounting    |   | failed to register local accounting service
    2011-10-20 00:21:05.338861|ERROR   |ServerLibPriv |   | Server() error while starting servermanager, error: instance check error
    --- Thread Merged
    Last edited by florian_fr40; October 20th, 2011 at 08:31 AM.

  15. #15
    Join Date
    December 2011
    Posts
    2

    Help by my Teamspeak 3 Linux Server

    Hallo,

    I just joined the Teamspeak Community because i need your help.

    Me and a friend wanted to open a new Teamspeakł Server so we followed this instructions to install it ( http://www.youtube.com/watch?v=rovHEM-mrMw )
    Everything was fine and i thought now the Server would run but it didnt . I always get the Message that it doesnt work.

    The last message i got in putty.exe was:
    vps7128:~/ts/teamspeak3-server_linux-x86# ./ts3server_startscript.sh start
    WARNING ! For security reasons we advise: DO NOT RUN THE SERVER AS ROOT
    !!!!!!!!!!!
    Starting the TeamSpeak 3 server
    TeamSpeak 3 server started, for details please view the log file
    vps7128:~/ts/teamspeak3-server_linux-x86#
    ------------------------------------------------------------------
    I M P O R T A N T
    ------------------------------------------------------------------
    Server Query Admin Acccount created
    loginname= "censored", password= "censored"
    ------------------------------------------------------------------


    vps7128:~/ts/teamspeak3-server_linux-x86#


    I tried to connect to server by using the Ip of our Server 94.199.242.*** (censored) and the normal Teamspeak Port :9987 but it didnt work.

    We use a vServer hosted by http://alfahosting.de/ . Its a Linux 32bit Server with Debian 5.0 / Confixx 3.3.5 .

    We also cant connect to Server Query. We tried to connect to Server Query just like its told here http://www.team-bielefeld.de/teamspe...ogin_putty.htm .

    Please help!

    I also get this message in putty:
    2011-12-30 21:37:51.434571|WARNING |Accounting | | Unable to find valid lic ense key, falling back to limited functionality
    2011-12-30 21:37:51.435638|ERROR |Accounting | | failed to register local accounting service
    2011-12-30 21:37:51.435773|ERROR |ServerLibPriv | | Server() error while sta rting servermanager, error: instance check error
    [email protected]:/home/teamspeak/teamspeak3-server_linux-x86$

    *** Thread Merged ***
    Last edited by florian_fr40; January 1st, 2012 at 05:55 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 141
    Last Post: August 21st, 2018, 09:54 PM
  2. Replies: 3
    Last Post: April 27th, 2018, 10:41 AM
  3. Failed to register accounting service
    By Supermaf in forum Windows
    Replies: 2
    Last Post: January 29th, 2015, 10:11 AM
  4. Replies: 2
    Last Post: August 20th, 2010, 03:31 PM

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
  •