Forum

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258

    Question TeamSpeak 3 Server update from 3.0.12.4 to 3.0.13.2 fails

    Hi,
    I've a problem with updating one of my customers TeamSpeak 3 server and I've absolutley no plan, what the cause can be.

    I've just downloaded the new server files multiple times, but the update fails all the time. All permissions are correct and the TeamSpeak 3 server starts, after executing "./ts3server_startscript.sh start".

    The problem is, that the server dies at startup. I've tried to get the status immediately after starting it by using this command, but the result was always just "Server seems to died":
    Code:
    ./ts3server_startscript.sh && ./ts3server_startscript.sh status
    I've just double checked all file permissions after updating and they are identical to the one of the backup (3.0.12.4).

    I've also tried to get a dump of this crash using "gcore", but the server died too quick for the gcore command:
    Code:
    ./ts3server_startscript.sh start && gcore $(< ts3server.pid)
    The gcore command wasn't able to get any dump, due of that, the TS3 server died even before the gcore command was executed.

    The only log file, which will be created all the time is the instance log file _0.log. But this log file isn't very useful:
    Code:
    2016-08-18 23:30:12.954541|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.13.2 (2016-08-15 10:04:11)
    2016-08-18 23:30:12.954697|INFO    |ServerLibPriv |   |SystemInformation: Linux 2.6.32-41-pve #1 SMP Sun Oct 4 11:49:58 CEST 2015 i686 Binary: 32bit
    2016-08-18 23:30:12.956899|INFO    |DatabaseQuery |   |dbPlugin name:    MariaDB plugin, (c)TeamSpeak Systems GmbH
    2016-08-18 23:30:12.956958|INFO    |DatabaseQuery |   |dbPlugin version: 1
    After this line, it should usually display the license information, but it doesn't happen. I thought, the permissions are wrong, but as I've already mentioned: I've checked them multiple times and they are correct.

    Well... I've no clue, what the problem is. Other TS3 server instance updates from the version 3.0.12.4 to 3.0.13.3 worked fine by using the same update process.

    I've seen, that there is a new hotfix (3.0.13.3) out for the server, but it doesn't seem like to contain a fix for my problem:
    Quote Originally Posted by CHANGELOG 3.0.13.3
    === Server Release 3.0.13.3 19 august 2016
    - fixed a problem where virtual servers refuse to start due to invalid flags or order
    - fixed a crash in fix crash on servergroupautodelperm / servergroupautoaddperm
    Does anyone have an idea, why the startup dies at/after the dbPlugin version? Shall I try to get dump files as described in http://forum.teamspeak.com/threads/5...inux-properly?

    I have to wait for further update and debug tasks until late night, because there are hundred of clients on this server now.

  2. #2
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,528
    Try starting the server with our minimal startscript and check the output for error messages.

  3. #3
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258
    I'll try it later, thanks.

    What shall I do, if there are no further informations (logs, errors, warnings,...)?

  4. #4
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258
    Ok, there are a few words more:
    Code:
    2016-08-20 03:40:11.787528|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.13.3 (2016-08-18 16:46:43)
    2016-08-20 03:40:11.787692|INFO    |ServerLibPriv |   |SystemInformation: Linux 2.6.32-41-pve #1 SMP Sun Oct 4 11:49:58 CEST 2015 i686 Binary: 32bit
    2016-08-20 03:40:11.789996|INFO    |DatabaseQuery |   |dbPlugin name:    MariaDB plugin, (c)TeamSpeak Systems GmbH
    2016-08-20 03:40:11.790059|INFO    |DatabaseQuery |   |dbPlugin version: 1
    Segmentation fault
    I've checked the kern.log, syslog and dmesg log for further details/information, but nothing has been logged.

    Regarding this message, I only could found, that files were transferred in ASCII instead of BINARY mode. I've downloaded the files by using wget, which should use the binary mode usually...

  5. #5
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258
    Due of that, that gcore isn't able to create any dump, I've just catched a backtrace:
    Code:
    $ gdb ts3server
    GNU gdb (GDB) 7.4.1-debian
    Copyright (C) 2012 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i486-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /home/teamspeak/ts3server...(no debugging symbols found)...done.
    (gdb) 
    (gdb) run -x start inifile=ts3server.ini
    Starting program: /home/teamspeak/ts3server -x start inifile=ts3server.ini
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
    2016-08-21 00:14:29.663008|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.13.3 (2016-08-18 16:46:43)
    2016-08-21 00:14:29.663171|INFO    |ServerLibPriv |   |SystemInformation: Linux 2.6.32-41-pve #1 SMP Sun Oct 4 11:49:58 CEST 2015 i686 Binary: 32bit
    [New Thread 0xb7cbdb70 (LWP 11296)]
    2016-08-21 00:14:29.757613|INFO    |DatabaseQuery |   |dbPlugin name:    MariaDB plugin, (c)TeamSpeak Systems GmbH
    2016-08-21 00:14:29.766237|INFO    |DatabaseQuery |   |dbPlugin version: 1
    
    Program received signal SIGSEGV, Segmentation fault.
    0x0820dd3f in ?? ()
    (gdb) 
    (gdb) bt
    #0  0x0820dd3f in ?? ()
    #1  0x08208b8c in ?? ()
    (gdb) 
    (gdb) quit
    Hope, that helps us to identify the cause.

  6. #6
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258
    Here you go: Other server, but identical problem.
    Code:
    $ gdb ts3server
    GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-linux-gnu".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.
    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from ts3server...(no debugging symbols found)...done.
    (gdb) run -x start inifile=ts3server.ini
    Starting program: /home/teamspeak/ts3server -x start inifile=ts3server.ini
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
    2016-08-21 01:15:02.311292|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.13.3 (2016-08-18 16:46:43)
    2016-08-21 01:15:02.311429|INFO    |ServerLibPriv |   |SystemInformation: Linux 4.4.12-040412-generic #201606011712 SMP Wed Jun 1 21:14:23 UTC 2016 x86_64 Binary: 64bit
    2016-08-21 01:15:02.311479|INFO    |ServerLibPriv |   |Using hardware aes
    [New Thread 0x7ffff7fe5700 (LWP 125996)]
    2016-08-21 01:15:02.339089|INFO    |DatabaseQuery |   |dbPlugin name:    MariaDB plugin, (c)TeamSpeak Systems GmbH
    2016-08-21 01:15:02.339170|INFO    |DatabaseQuery |   |dbPlugin version: 1
    
    Program received signal SIGSEGV, Segmentation fault.
    strlen () at ../sysdeps/x86_64/strlen.S:106
    106     ../sysdeps/x86_64/strlen.S: No such file or directory.
    (gdb) 
    (gdb) bt
    #0  strlen () at ../sysdeps/x86_64/strlen.S:106
    #1  0x00000000005a0fc0 in ?? ()
    #2  0x00007ffff6b3278c in ?? () from ./libts3db_mariadb.so
    #3  0x000000000059c385 in ?? ()
    #4  0x000000000059d418 in ?? ()
    #5  0x00000000004ecae3 in ?? ()
    #6  0x000000000042537a in ?? ()
    #7  0x00000000005acf12 in ?? ()
    #8  0x00000000004a04dc in ?? ()
    #9  0x0000000000491fc8 in ?? ()
    #10 0x000000000040b8a7 in ?? ()
    #11 0x00007ffff7106f45 in __libc_start_main (main=0x40b850, argc=4, argv=0x7fffffffec38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffec28) at libc-start.c:287
    #12 0x000000000040b269 in ?? ()
    #13 0x00007fffffffec28 in ?? ()
    #14 0x000000000000001c in ?? ()
    #15 0x0000000000000004 in ?? ()
    #16 0x00007fffffffee3f in ?? ()
    #17 0x00007fffffffee5f in ?? ()
    #18 0x00007fffffffee62 in ?? ()
    #19 0x00007fffffffee68 in ?? ()
    #20 0x0000000000000000 in ?? ()
    (gdb) 
    (gdb) quit
    Seems to be a problem with the libts3db_mariadb.so, or?

  7. #7
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,528
    Thanks for the feedback! I'll try to reproduce this on a local test server with a MariaDB backend.

  8. #8
    Join Date
    January 2012
    Posts
    4
    I have a similar problem, under Debian and using mariadb too.
    After the update i try to run the server using
    Code:
    ./ts3server_minimal_runscript.sh inifile=ts3server.ini
    , but always get this error.

    Code:
    2016-08-24 04:40:34.032056|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.13.3 (2016-08-18 16:46:43)
    2016-08-24 04:40:34.032158|INFO    |ServerLibPriv |   |SystemInformation: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 Binary: 64bit
    2016-08-24 04:40:34.033367|INFO    |DatabaseQuery |   |dbPlugin name:    MySQL plugin, (c)TeamSpeak Systems GmbH
    2016-08-24 04:40:34.033409|INFO    |DatabaseQuery |   |dbPlugin version: 1
    *** Error in `./ts3server': free(): invalid pointer: 0x00007f1d2da1e718 ***
    ./ts3server_minimal_runscript.sh: líne 8: 18685 Aborted                ./ts3server [email protected]

    Before the update everything was working without problem.

  9. #9
    Join Date
    June 2008
    Posts
    18,396
    Quote Originally Posted by Batanen View Post
    I have a similar problem, under Debian and using mariadb too.
    After the update i try to run the server using
    Code:
    ./ts3server_minimal_runscript.sh inifile=ts3server.ini
    , but always get this error.

    Code:
    2016-08-24 04:40:34.032056|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.13.3 (2016-08-18 16:46:43)
    2016-08-24 04:40:34.032158|INFO    |ServerLibPriv |   |SystemInformation: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 Binary: 64bit
    2016-08-24 04:40:34.033367|INFO    |DatabaseQuery |   |dbPlugin name:    MySQL plugin, (c)TeamSpeak Systems GmbH
    2016-08-24 04:40:34.033409|INFO    |DatabaseQuery |   |dbPlugin version: 1
    *** Error in `./ts3server': free(): invalid pointer: 0x00007f1d2da1e718 ***
    ./ts3server_minimal_runscript.sh: líne 8: 18685 Aborted                ./ts3server [email protected]

    Before the update everything was working without problem.
    You are not using the MariaDB plugin.
    The MySQL plugin is not supported anymore. Please backup your database and then read following to make compatible for MariaDB.
    Code:
    === Server Release 3.0.11 30 sep 2014!
       Starting this release, the MySQL database plugin has been replaced by a MariaDB plugin. Please
       read doc/update_mysql_to_mariadb.txt for instructions on how to update. Also note the default
       character set for the database is now 'utf8mb4', which means the server needs to be at least
       MySQL 5.5.3 or MariaDB 5.5 .
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  10. #10
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258
    Any news, ScP? I really would like to update to the latest hotfix version due of the attackable bugs.

  11. #11
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,528
    Not yet. I'll get back to you asap.

  12. #12
    Join Date
    January 2012
    Posts
    4
    Quote Originally Posted by dante696 View Post
    You are not using the MariaDB plugin.
    The MySQL plugin is not supported anymore. Please backup your database and then read following to make compatible for MariaDB.
    Code:
    === Server Release 3.0.11 30 sep 2014!
       Starting this release, the MySQL database plugin has been replaced by a MariaDB plugin. Please
       read doc/update_mysql_to_mariadb.txt for instructions on how to update. Also note the default
       character set for the database is now 'utf8mb4', which means the server needs to be at least
       MySQL 5.5.3 or MariaDB 5.5 .
    I also try with mariadb, but i got this other error:
    Code:
    016-08-25 06:03:55.408343|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.13.3 (2016-08-18 16:46:43)
    2016-08-25 06:03:55.408490|INFO    |ServerLibPriv |   |SystemInformation: Linux 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 Binary: 64bit
    2016-08-25 06:03:55.408746|INFO    |DatabaseQuery |   |Please make sure you use the supplied ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself
    2016-08-25 06:03:55.408803|CRITICAL|DatabaseQuery |   |unable to load database plugin library "libts3db_maria.so", halting!
    When i run ldd libts3db_mariadb.so

    Code:
            linux-vdso.so.1 (0x00007fff9e9d5000)
            libmariadb.so.2 => /usr/lib/x86_64-linux-gnu/libmariadb.so.2 (0x00007fcf8fd58000)
            libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcf8fa53000)
            libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcf8f835000)
            libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcf8f494000)
            libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fcf8f279000)
            libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fcf8f074000)
            libssl.so.1.0.2 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2 (0x00007fcf8ee0b000)
            libcrypto.so.1.0.2 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.2 (0x00007fcf8e9a8000)
            /lib64/ld-linux-x86-64.so.2 (0x0000555acdb08000)

  13. #13
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258
    @Batanen: Did you already copy the libts3db_mariadb.so from your redist/ directory to your root directory of your TS3 server instance?
    Code:
    cp redist/libts3db_mariadb.so .
    This might solve the problem.

  14. #14
    Join Date
    January 2012
    Posts
    4
    Quote Originally Posted by Sebi94 View Post
    @Batanen: Did you already copy the libts3db_mariadb.so from your redist/ directory to your root directory of your TS3 server instance?
    Code:
    cp redist/libts3db_mariadb.so .
    This might solve the problem.
    I did it, but got the same error.

  15. #15
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,528
    Quote Originally Posted by Sebi94 View Post
    Any news, ScP? I really would like to update to the latest hotfix version due of the attackable bugs.
    It looks like you're not using the latest version the MariaDB database plugin. Your logfile says version 1 while the latest version is 2. We might add an API version the the database plugin system with future server releases to stop the server from loading old plugins.

    So basically, you'll need to update your server properly.



    Quote Originally Posted by Batanen View Post
    I also try with mariadb, but i got this other error:
    Code:
    016-08-25 06:03:55.408343|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.13.3 (2016-08-18 16:46:43)
    2016-08-25 06:03:55.408490|INFO    |ServerLibPriv |    |SystemInformation: Linux 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1  (2016-07-18) x86_64 Binary: 64bit
    2016-08-25 06:03:55.408746|INFO    |DatabaseQuery |   |Please make sure  you use the supplied ts3server_minimal_runscript.sh to run the server,  or set LD_LIBRARY_PATH yourself
    2016-08-25 06:03:55.408803|CRITICAL|DatabaseQuery |   |unable to load database plugin library "libts3db_maria.so", halting!
    When i run ldd libts3db_mariadb.so

    ...
    You just need to to what the log tells you to do... starting the server using one of our startscripts or setting the LD_LIBRARY_PATH correctly. Just moving some libs won't resolve the actual problem.


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Update fails on Linux when 'old' does not exist
    By Rilgamon in forum Bug Reports [EN/DE]
    Replies: 3
    Last Post: August 13th, 2013, 08:56 AM
  2. Update fails
    By mark_r in forum macOS
    Replies: 2
    Last Post: November 21st, 2010, 02:28 PM
  3. TS3 Fails to Update
    By DRadioflyer in forum Windows
    Replies: 5
    Last Post: July 3rd, 2010, 05:06 PM
  4. Check for update fails
    By Dizzity in forum Windows
    Replies: 1
    Last Post: December 25th, 2009, 07: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
  •