Community Forums Today's Posts     Member List     Archive    
Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2008
    Location
    USA
    Posts
    31

    [solved] Beta 17 with MYSQL

    Edit by mod
    Please don't use this outdated script anymore! The script got an overhaul long time ago.
    Please use the minimal or startscript instead


    Before I used a simple start script that worked well.
    #!/bin/bash
    DIR="/home/teamspeak/tss3"
    case "$1" in
    start)
    cd ${DIR}
    ${DIR}/ts3server_linux_x86 dbplugin=ts3db_mysql
    ;;
    stop)
    killall ts3server_linux_x86
    ;;
    *)
    echo "Usage: 'basename $0' {start|stop}">&2
    exit 42
    ;;
    esac
    exit 0
    And I had a "ts3db_mysql.ini"
    [config]
    host=localhost
    port=3306
    username=*******
    password=********
    database=teamspeak3
    So I tried updating the "ts3server_startscript.sh" file like this :

    COMMANDLINE_PARAMETERS="ts3db_mysql"

    Should I have done anything else. It doesn't work.

    Before I just started the server using "./ts3_server start &"

    Any help would be greatly appreciated.
    Last edited by florian_fr40; 15-11-2011 at 09:54.

  2. #2
    Join Date
    Jul 2002
    Location
    Germany
    Posts
    2,836
    Well your command line parameters probably should be "dbplugin=ts3db_mysql" at least thats what you pass to the script you pasted above.
    You think my answer is stupid ? Read This:
    http://www.catb.org/~esr/faqs/smart-...ons.html#intro

    In a world without fences and walls - who needs windows and gates ?

  3. #3
    Join Date
    Oct 2008
    Location
    USA
    Posts
    31
    I am getting this....

    tss3new17]$ ./ts3server_startscript.sh start
    -bash: ./ts3server_startscript.sh: /bin/bash^M: bad interpreter: No such file or directory

  4. #4
    Join Date
    Oct 2008
    Location
    USA
    Posts
    31
    Do you need to define a DIR?

  5. #5
    Join Date
    Oct 2008
    Location
    USA
    Posts
    31
    Also now getting this when I revert to my old server install.
    tss3]$ ./ts3_server stop
    2010-02-03 15:39:37.154769|INFO |ServerMain | | Received signal SIGTERM, shutting down.
    [teamspeak@localhost tss3]$ 2010-02-03 15:39:37.540748|INFO |VirtualServer | 1| stopped
    ./ts3_server: line 3: 1756 Segmentation fault ${DIR}/ts3server_linux_x86 dbplugin=ts3db_mysql

  6. #6
    Join Date
    Jul 2002
    Location
    Germany
    Posts
    2,836
    Quote Originally Posted by evendco View Post
    I am getting this....

    tss3new17]$ ./ts3server_startscript.sh start
    -bash: ./ts3server_startscript.sh: /bin/bash^M: bad interpreter: No such file or directory
    Extract the ts3 archive on linux. My best guess is you extracted on windows and then uploaded to your linux machine, which messes up file permissions for sure, and in this case it looks like it has also messed up line endings for this file.

    Also edit the startscript on linux, don't ever send it through a windows machine
    You think my answer is stupid ? Read This:
    http://www.catb.org/~esr/faqs/smart-...ons.html#intro

    In a world without fences and walls - who needs windows and gates ?

  7. #7
    Join Date
    Oct 2008
    Location
    USA
    Posts
    31
    Quote Originally Posted by Peter View Post
    Extract the ts3 archive on linux. My best guess is you extracted on windows and then uploaded to your linux machine, which messes up file permissions for sure, and in this case it looks like it has also messed up line endings for this file.

    Also edit the startscript on linux, don't ever send it through a windows machine
    That fixed it, I used webmin to manage that part. Worked like a charm. Thanks for your help!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. MySQL with Beta 17
    By Micromac in forum Linux / FreeBSD
    Replies: 4
    Last Post: 05-02-2010, 14:41
  2. How to Install TS & MySQL 4 Properly
    By DOMINATION in forum [TeamSpeak 2] Server Support
    Replies: 242
    Last Post: 15-09-2009, 01:24
  3. How to set up: TS-server (windows) and MySql Server (windows/linux)
    By LaCosaNostra in forum [TeamSpeak 2] Server Support
    Replies: 7
    Last Post: 02-09-2008, 21:54
  4. mysql headaches (invalid username/pw)
    By whysyn in forum [TeamSpeak 2] Server Support
    Replies: 1
    Last Post: 05-12-2007, 16:58
  5. Windows TS2 Server to Remote MySQL Server?
    By xCav8r in forum [TeamSpeak 2] Server Support
    Replies: 4
    Last Post: 19-02-2005, 15:57

Posting Permissions

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