Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 12 of 12
  1. #1
    Join Date
    August 2010
    Location
    France
    Posts
    7

    Problem with licensekey.dat

    Hello
    Today I've received my licensekey.

    When I put this key in the ts3 folder, the server won't start :

    Code:
    20:22 [email protected] /var/teamspeak3# ./ts3server_startscript.sh stop
    Stopping the TeamSpeak 3 server..done
    20:23 [email protected] /var/teamspeak3# cp ../licensekey.dat ./
    20:23 [email protected] /var/teamspeak3# ./ts3server_startscript.sh start
    Starting the TeamSpeak 3 server
    TeamSpeak 3 server started, for details please view the log file
    20:23 [email protected] /var/teamspeak3# cat logs/ts3server_2010-08-31__18_23_26.625488.log
    2010-08-31 18:23:26.625823|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta27 [Build: 12002], Linux
    2010-08-31 18:23:26.628524|INFO    |DatabaseQuery |   | dbPlugin name:    MySQL plugin, (c)TeamSpeak Systems GmbH
    2010-08-31 18:23:26.628677|INFO    |DatabaseQuery |   | dbPlugin version: 1
    2010-08-31 18:23:26.645710|INFO    |SQL           |   | pruning old database log entries where timestamp is older than 90 days
    20:23 [email protected] /var/teamspeak3# ./ts3server_startscript.sh stop
    Stopping the TeamSpeak 3 serverdone
    there is nothink which append after "pruning old database log entries where timestamp is older than 90 days"
    It is a new server so I have no users in the database and only few chan.

    After emoving the licensekey it work :

    Code:
    20:24 [email protected] /var/teamspeak3# rm licensekey.dat
    rm: détruire fichier standard `licensekey.dat'? y
    20:24 [email protected] /var/teamspeak3# ./ts3server_startscript.sh start
    Starting the TeamSpeak 3 server
    TeamSpeak 3 server started, for details please view the log file
    20:24 [email protected] /var/teamspeak3# cat logs/ts3server_2010-08-31__18_24_49.740195.log
    2010-08-31 18:24:49.740577|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta27 [Build: 12002], Linux
    2010-08-31 18:24:49.743702|INFO    |DatabaseQuery |   | dbPlugin name:    MySQL plugin, (c)TeamSpeak Systems GmbH
    2010-08-31 18:24:49.743860|INFO    |DatabaseQuery |   | dbPlugin version: 1
    2010-08-31 18:24:49.759388|INFO    |SQL           |   | pruning old database log entries where timestamp is older than 90 days
    2010-08-31 18:24:49.776948|WARNING |Accounting    |   | Unable to find valid license key, falling back to limited functionality
    2010-08-31 18:24:49.814050|INFO    |FileManager   |   | listening on 0.0.0.0:30033
    2010-08-31 18:24:49.956881|INFO    |VirtualServer |  1| listening on 0.0.0.0:9987
    2010-08-31 18:24:49.958105|INFO    |CIDRManager   |   | updated query_ip_whitelist ips: 127.0.0.1,
    2010-08-31 18:24:49.959513|INFO    |Query         |   | listening on 0.0.0.0:10011
    I don't know what is the probleme, I check many thread on the forum and don't find an answer. My key is valid, she has the good structure and I don't use Mac, the server is on an ubuntu server.

    My ts3server.ini:

    Code:
    machine_id=
    default_voice_port=9987
    voice_ip=0.0.0.0
    licensepath=
    filetransfer_port=30033
    filetransfer_ip=0.0.0.0
    query_port=10011
    query_ip=0.0.0.0
    dbplugin=ts3db_mysql
    dbpluginparameter=
    dbsqlpath=sql/
    dbsqlcreatepath=create_mysql/
    logpath=logs
    logquerycommands=0
    If you have any idea..

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

    Before all, it's not advisable to start your server with the super user root. It is recommended to create a new user logins to start this one.

    Have you try to re download you licence file (just for test) ?
    http://npl.teamspeakusa.com/ts3npl.php?page=resend

    What mail soft do you use ?
    Last edited by florian_fr40; November 22nd, 2011 at 11:01 AM.

  3. #3
    Join Date
    August 2010
    Location
    France
    Posts
    7
    Hello,
    thanks to your reply.

    In general case I use a script in the init.d folder which use an other user to start teamspeak.

    I asked a second time the licensekey but no change. I use outlook to download the key and a second time I forward my mail to a gmail adress and download with gmail.

  4. #4
    Join Date
    August 2010
    Location
    France
    Posts
    7
    Hello,

    I try many things like opening the port 2008, copy and paste the content in vi, change licensepath in "./" but nothing change.

    I would like to open a second virtual server and I can't without the licensekey.

  5. #5
    Join Date
    December 2009
    Posts
    237
    Hi, what happens if you try starting the server with an SQLite DB?

  6. #6
    Join Date
    August 2010
    Location
    France
    Posts
    7
    Hello,

    I've tried and I still have the same problem.

    With the Licensekey.dat :
    Code:
    11:23 [email protected] /var/teamspeak3# ./ts3server_startscript.sh start
    Starting the TeamSpeak 3 server
    TeamSpeak 3 server started, for details please view the log file
    11:23 [email protected] /var/teamspeak3#
    ------------------------------------------------------------------
                          I M P O R T A N T
    ------------------------------------------------------------------
                  Server Query Admin Acccount created
             loginname= "serveradmin", password= "FPSVDa3L"
    ------------------------------------------------------------------
    
    11:23 [email protected] /var/teamspeak3# cat logs/ts3server_2010-09-06__09_23_14.539666.log
    2010-09-06 09:23:14.553207|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta27 [Build: 12002], Linux
    2010-09-06 09:23:14.582765|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2010-09-06 09:23:14.584136|INFO    |DatabaseQuery |   | dbPlugin version: 3.6.21
    2010-09-06 09:23:14.601514|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
    2010-09-06 09:23:14.673402|INFO    |SQL           |   | db_CreateTables() tables created
    Without the Licensekey.dat :
    Code:
    11:26 [email protected] /var/teamspeak3# rm licensekey.dat
    rm: détruire fichier standard `licensekey.dat'? y
    11:27 [email protected] /var/teamspeak3# ./ts3server_startscript.sh start
    Starting the TeamSpeak 3 server
    TeamSpeak 3 server started, for details please view the log file
    11:27 [email protected] /var/teamspeak3#
    ------------------------------------------------------------------
                          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/token_guide.txt for details.
    
           token=OzOKqkKTJAM5+eP+Y0RE+ecK9FoT6cr9qR7d5DmU
    ------------------------------------------------------------------
    
    11:27 [email protected] /var/teamspeak3# cat logs/ts3server_2010-09-06__09_27_07.440955.log
    2010-09-06 09:27:07.441295|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta27 [Build: 12002], Linux
    2010-09-06 09:27:07.442010|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2010-09-06 09:27:07.442173|INFO    |DatabaseQuery |   | dbPlugin version: 3.6.21
    2010-09-06 09:27:07.442707|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
    2010-09-06 09:27:07.462611|INFO    |SQL           |   | pruning old database log entries where timestamp is older than 90 days
    2010-09-06 09:27:07.514279|WARNING |Accounting    |   | Unable to find valid license key, falling back to limited functionality
    2010-09-06 09:27:07.625914|INFO    |FileManager   |   | listening on 0.0.0.0:30033
    2010-09-06 09:27:08.242702|INFO    |VirtualServer |  1| listening on 0.0.0.0:9987
    2010-09-06 09:27:08.245037|INFO    |VirtualServer |  1| client 'server'(id:0) added privilege key for servergroup 'Server Admin'(id:6)
    2010-09-06 09:27:08.246003|WARNING |VirtualServer |  1| --------------------------------------------------------
    2010-09-06 09:27:08.246912|WARNING |VirtualServer |  1| ServerAdmin privilege key created, please use the line below
    2010-09-06 09:27:08.247819|WARNING |VirtualServer |  1| token=OzOKqkKTJAM5+eP+Y0RE+ecK9FoT6cr9qR7d5DmU
    2010-09-06 09:27:08.249193|WARNING |VirtualServer |  1| --------------------------------------------------------
    2010-09-06 09:27:08.252062|INFO    |CIDRManager   |   | updated query_ip_whitelist ips: 127.0.0.1,
    2010-09-06 09:27:08.253564|INFO    |Query         |   | listening on 0.0.0.0:10011
    11:28 [email protected] /var/teamspeak3#

  7. #7
    Join Date
    June 2008
    Posts
    18,508
    Does your license file look like that http://forum.teamspeak.com/showpost....3&postcount=13 , when you open it in an editor?

  8. #8
    Join Date
    August 2010
    Location
    France
    Posts
    7
    Yes when I open the file with notepad or vi, it look like this :

    Code:
    Company name : xxxx
    address      : xxx xxxxx xxxxxx
    zipcode      : 00000
    city         : xxx
    country      : France
    phone        : 0102030405
    fax          : 
    sales contact: xxx ([email protected])
    tech contact : xxx ([email protected])
    
    type         : Nonprofit
    start date   : Tue Aug 31 00:00:00 2010
    end date     : Wed Aug 31 00:00:00 2011
    max. virtual servers: 10
    max. slots   : 512
    description  : TeamSpeak 3 Non-Profit License (www.xxx.com)
    
    ==key==
    VFMzTGljZW5zZWgwZgIxAICiLksfghsfghsgfhsgfgfh0xuOR9..........

  9. #9
    Join Date
    September 2010
    Location
    Germany
    Posts
    6
    I'm not quite sure if it is acutally the issue, but is is possible that the (linux-)server does not parse the file correctly if encoded with Windows End-of-Line delimiters? Maybe Outlook converted it and it is the reason why notepad.exe displays it correctly?
    Vi supports both delimiter but notepad usually dont....

    You might also try to delete possibly appended, non-printable characters (e.g. newline)

  10. #10
    Join Date
    August 2010
    Location
    France
    Posts
    7
    I've look in vi for the end line character and there is no windows characters.

    Anyway I've tried to convert into a unix file and it don't change anything I've make a diff between the file converted and the fail from the mail and there is no diff.

  11. #11
    Join Date
    December 2009
    Posts
    237
    What rights are set for the licensefile? (Mine has chmod 644)
    Is the owner of the licensefile the same as the owner of the teamspeak serverfiles?

    Can you maybe give us an ls -l of the directory?

  12. #12
    Join Date
    August 2010
    Location
    France
    Posts
    7
    To test the server I use the root user, but in the init.d directory my script start the server with the user "teamspeak", I try all configurations.

    Start with root and licensekey owner is root,
    start with teamspeak user and licensekey owner is teamspeak,

    I tried with 644, 777, different owner but there is no change

    Code:
    1:19 [email protected] ~teamspeak# ll
    total 7,4M
    -rw-r--r-- 1 teamspeak teamspeak  23K 2010-08-06 15:25 CHANGELOG
    drwxr-xr-x 2 teamspeak teamspeak 4,0K 2010-08-31 18:38 doc/
    drwx------ 3 teamspeak teamspeak 4,0K 2010-08-31 18:42 files/
    -rw-r--r-- 1 teamspeak teamspeak 204K 2010-08-06 15:25 libts3db_mysql.so
    -rw-r--r-- 1 teamspeak teamspeak 822K 2010-08-06 15:25 libts3db_sqlite3.so
    -rw-r--r-- 1 teamspeak teamspeak  24K 2010-08-06 15:25 LICENSE
    -rwxrwxrwx 1 teamspeak teamspeak  888 2010-09-06 23:04 licensekey.dat*
    drwx------ 2 teamspeak teamspeak 4,0K 2010-09-06 20:54 logs/
    -rw-r--r-- 1 teamspeak teamspeak    1 2010-08-31 18:42 query_ip_blacklist.txt
    -rw-r--r-- 1 teamspeak teamspeak   10 2010-08-31 18:42 query_ip_whitelist.txt
    -rw-r--r-- 1 teamspeak teamspeak  112 2010-08-31 18:41 serverkey.dat
    drwxr-xr-x 2 teamspeak teamspeak 4,0K 2010-08-31 18:38 serverquerydocs/
    drwxr-xr-x 4 teamspeak teamspeak 4,0K 2010-08-31 18:38 sql/
    -rw-r--r-- 1 teamspeak teamspeak  106 2010-01-18 14:24 ts3db_mysql.ini
    -rw-r--r-- 1 teamspeak teamspeak  265 2010-09-06 11:26 ts3server.ini
    -rwxr-xr-x 1 teamspeak teamspeak 6,1M 2010-08-06 15:25 ts3server_linux_x86*
    -rwxr-xr-x 1 teamspeak teamspeak  328 2010-08-06 15:25 ts3server_minimal_runscript.sh*
    -rw-r--r-- 1 teamspeak teamspeak 181K 2010-09-06 11:30 ts3server.sqlitedb
    -rwxr-xr-x 1 teamspeak teamspeak 2,7K 2010-08-07 20:53 ts3server_startscript.sh*

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Licensekey problem
    By teamspeak user71 in forum Server Support
    Replies: 1
    Last Post: October 5th, 2012, 04:01 PM
  2. Problem with licensekey.dat
    By thaalesalves in forum Linux / FreeBSD
    Replies: 3
    Last Post: May 6th, 2012, 04:25 AM
  3. [Resolved] Licensekey.dat Problem
    By gugaa in forum Windows
    Replies: 3
    Last Post: October 20th, 2011, 04:50 PM
  4. licensekey problem
    By DonRevan in forum Server Support
    Replies: 3
    Last Post: April 10th, 2011, 02:08 PM
  5. And another problem with licensekey.dat -.-
    By netshadow in forum Linux / FreeBSD
    Replies: 5
    Last Post: October 26th, 2010, 10:58 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
  •