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 8 of 8
  1. #1
    Join Date
    April 2010
    Location
    Netherlands
    Posts
    12

    Solved [solved] How to update a TS server...

    Hi,
    im runnig beta 25 successfully,
    When i will update to beta 26 or 27 i got segmentation faults when i start the server.

    How is the proper way to update a running server?

    I hope for your help.

    Greetings
    Last edited by loko80; August 20th, 2010 at 10:15 PM.

  2. #2
    Join Date
    December 2009
    Location
    Germany, Cologne
    Posts
    1,364
    Stop it.

    Overwrite the Files.

    Start it.

  3. #3
    Join Date
    April 2010
    Location
    Netherlands
    Posts
    12
    should be nice, when it works ... but it doesn't.

    I m running beta25 wirh MySQL support
    The server has an Athlon 64 5600+ an runs with Debian Lenny

    1. So i choose - as for the other updates till beta 25 too - the server amd64 package.
    2. I stop the ts3
    3. I make a backup of the MySQL database and file directory
    4. I copy the whole content from the beta 27 package to my server
    5. I copy my ts3 configuration file, the serverkey.dat, the log and files directory to the beta 27 directory
    6. I gave execution rights on the scripts and binary
    7. Than i start via screen the TS3 with the fallowing command: ./ts3server_minimal_runscript.sh inifile=ts3server.ini start
    8. Than i got instantly this output on the shell: ./ts3server_minimal_runscript.sh: line 16: 3671 Segmentation fault ./ts3server_linux_amd64 [email protected]

    Here my configuration set
    ts3server.ini
    Code:
    machine_id=
    default_voice_port=9987
    voice_ip=[SERVER IP]
    licensepath=
    filetransfer_port=30033
    filetransfer_ip=[SERVER IP]
    query_port=10011
    query_ip=[SERVER IP]
    dbplugin=ts3db_mysql
    dbpluginparameter=ts3db_mysql.ini
    dbsqlpath=sql/
    dbsqlcreatepath=create_mysql/
    logpath=logs
    logquerycommands=1
    ts3db_mysql.ini
    Code:
    [config]
    host=localhost
    port=3306
    username=[USERNAME]
    password=[PASSWORD]
    database=[DATABASE]
    socket=
    Values as ip, username, password are replaced in the original config version

    ts3server_minimal_runscript.sh comes from the beta27 package - i don't modified it

    Have you any suggestions, what the problem can be?

  4. #4
    Join Date
    December 2009
    Posts
    237
    Hi, the minimal startscript does not take "start" as a parameter. Start your server using
    Code:
    ./ts3server_minimal_runscript.sh inifile=ts3server.ini
    without the start.

    Other than that segfaults usually appear when you try to run an x64 binary on an x86 OS. Which should not be an issue for you if you are using the amd64 distribution of Debian xD

    If it does not start with the above command, does it start when you dont specify any parameter at all? (Using a clean SQLite DB)

  5. #5
    Join Date
    April 2010
    Location
    Netherlands
    Posts
    12
    Hi,

    when i start the server with this command:
    Code:
    ./ts3server_minimal_runscript.sh inifile=ts3server.ini
    i got the error
    Code:
    ./ts3server_minimal_runscript.sh: line 16:  4124 Segmentation fault    ./ts3server_linux_amd64 [email protected]

    when i start the server with
    Code:
    ./ts3server_minimal_runscript.sh
    i got the error
    Code:
    ./ts3server_minimal_runscript.sh: line 16:  4131 Segmentation fault      ./ts3server_linux_amd64 [email protected]
    When i start directly the ts3server_linux_amd64 i got teh message: Segmentation fault

    When i start the server with
    Code:
    ./ts3server_startscript.sh start
    i see that there is an pid file, but the server isn't started.
    No entry in logfiles.

    And yes i have an AMD64 and Debian Lenny and a running beta25 server on this hardware with ts3server_linux_amd64 teamspeak

    Any other ideas?

  6. #6
    Join Date
    December 2009
    Location
    Dublin, Ireland
    Posts
    379
    edit the start script to put in the license path

    Code:
    #!/bin/sh
    # Copyright (c) 2010 TeamSpeak Systems GmbH
    # All rights reserved
    
    COMMANDLINE_PARAMETERS="inifile=ts3server.ini" #add any command line parameters you want to pass here
    and start it normally with
    Code:
    ./ts3server_startscript.sh start
    every time you update with re-writing these files, you need to edit the starscript and put
    Code:
    COMMANDLINE_PARAMETERS="inifile=ts3server.ini"
    into it

  7. #7
    Join Date
    April 2010
    Location
    Netherlands
    Posts
    12
    Hi,

    i add
    Code:
    COMMANDLINE_PARAMETERS="inifile=ts3server.ini"
    to the ts3server_startscript.sh file

    than i start the ts3 with
    Code:
    ./ts3server_startscript.sh start
    it says that the ts3 is startet, but it wasn't.

  8. #8
    Join Date
    April 2010
    Location
    Netherlands
    Posts
    12
    I solved the problem.
    I donwload the installation file directly with the server and use tar.
    Than i do exactly the same and it works.

    Previously i download the file to a Windows machine and unzipp it with Winrar and upload the directory to the server.
    When i start the binary i got this segmentation errors.

    Thanks for your ideas and helps.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Solved] Server Update 32-64 bit?
    By BetaAlien in forum Server Support
    Replies: 13
    Last Post: June 14th, 2010, 04:57 PM
  2. Replies: 4
    Last Post: June 7th, 2010, 02:49 PM
  3. Replies: 2
    Last Post: June 3rd, 2010, 10:23 AM
  4. [Solved] How to update server?
    By Hegat in forum Windows
    Replies: 2
    Last Post: February 10th, 2010, 04:43 PM
  5. [Solved] Server Update. Lost DB
    By Georgee in forum Windows
    Replies: 5
    Last Post: January 25th, 2010, 11:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •