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 5 of 5
  1. #1
    Join Date
    December 2010
    Location
    France
    Posts
    3

    Angry [Solved] Help, unable to load db plugin lib !

    Hi, thanks for your time, and sorry but English isnít my mother tong (FR)Ö

    I want to install TS3server (V 3.0.0-beta30) on Linux (Ubuntu x64) with MySQL (Ver 14.14 Distrib 5.1.41).

    I followed the tutorial of Koldfusion but I have still a problem:
    Code:
    2010-12-08 18:09:20.420259|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta30 [Build: 12998], Linux
    2010-12-08 18:09:20.421365|INFO    |DatabaseQuery |   | Please make sure you use the supplied ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself
    2010-12-08 18:09:20.421500|CRITICAL|DatabaseQuery |   | unable to load database plugin library "libts3db_mysql.so", halting!
    Iíve already search into the forum, I found many threads about but I havenít got found a solution.
    I have (in the TS3 server root dir):

    licensekey.dat

    ts3server.ini
    Code:
    machine_id=
    default_voice_port=9987
    voice_ip=88.191.*.*
    licensepath=
    filetransfer_port=30033
    filetransfer_ip=88.191.*.*
    query_port=10011
    query_ip=88.191.*.*
    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=good_username
    password=good_pass
    database=good_db
    socket=
    Every file has been saved in unix mode with a blank last line.

    I have obviously libts3db_mysql.so in the same directory and access to an already created database.

    I tried to change COMMANDLINE_PARAMETERS line into ts3server_startscript.sh by
    Code:
    COMMANDLINE_PARAMETERS="inifile=ts3server.ini"
    but itís not working.

    My ldd libts3db_mysql.so returns:
    Code:
    linux-vdso.so.1 =>  (0x00007fffde7ff000)
            libmysqlclient.so.15 => not found
            libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fcc6cc89000)
            libm.so.6 => /lib/libm.so.6 (0x00007fcc6ca05000)
            libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fcc6c7ee000)
            libc.so.6 => /lib/libc.so.6 (0x00007fcc6c46c000)
            /lib64/ld-linux-x86-64.so.2 (0x00007fcc6d1aa000)
    My find /usr|grep libmysqlclient returns:
    Code:
    /usr/share/doc/libmysqlclient16
    /usr/share/doc/libmysqlclient16/changelog.gz
    /usr/share/doc/libmysqlclient16/copyright
    /usr/share/doc/libmysqlclient16/changelog.Debian.gz
    /usr/share/doc/libmysqlclient16/EXCEPTIONS-CLIENT.gz
    /usr/lib/libmysqlclient_r.so.16
    /usr/lib/libmysqlclient.so.16
    /usr/lib/libmysqlclient_r.so.16.0.0
    /usr/lib/libmysqlclient.so.16.0.0
    I tried to copy libts3db_mysql.so to /usr/lib/ but itís still not working :-/

    I tried to execute:
    Code:
    LD_LIBRARY_PATH=../teamspeak3-server_linux-amd64 dbplugin=ts3db_mysql dbsqlcreatepath=create_mysql/
    I tried to launch server by using:
    Code:
    ./ts3server_linux_amd64 inifile=ts3server.ini
    Code:
    ./ts3server_minimal_runscript.sh inifile=ts3server.ini
    Code:
    ./ts3server_startscript.sh start
    (This last one just displays:
    2010-12-08 18:32:38.816025|CRITICAL|DatabaseQuery | | unable to load database plugin library "libts3db_mysql.so", halting! )

    Iím not very comfortable with Linux (or with english :-) so, please be specific but clear ;-)

    Thank you for reading, i hope you can help me.
    Last edited by abt-network; December 19th, 2010 at 07:26 PM. Reason: Solved

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

    - In your ts3server.ini, remove ts3db_mysql.ini in the dbpluginparameter parameter. It should stay empty.

    - Never used _amd64 or x86 script to start your server.

    Please, for more information, read the documentation :
    TeamSpeak 3 Server Quick Start.txt

    You have also many answer in this forum about this question.
    Search function

  3. #3
    Join Date
    December 2010
    Location
    France
    Posts
    3

    Thumbs down same error

    Thanks for your reply,

    I have already read the quick start guide and followed it step by step. (Btw it tell to write “ts3db_mysql.ini” in parameters and use ts3server_linux_amd64 to start the server !)

    I removed ts3db_mysql.ini in the dbpluginparameter parameter and use ts3server_minimal_runscript.sh (I’ve tried with the bin and the other .sh to be sure).

    To be sure, here’s what i did:

    [Login with root]
    Code:
    $ wget  …../ teamspeak3-server_linux-amd64-3.0.0-beta30.tar.gz
    tar zxvf teamspeak3-server_linux-amd64-3.0.0-beta30.tar.gz
    cd teamspeak3-server_linux-amd64
    Copys with cp command :
    Code:
    cp SOURCE_PATH/FILENAME.EXT DEST_PATH/
    [copy licensekey.dat]
    [copy ts3server.ini]
    Code:
    machine_id=
    default_voice_port=9987
    voice_ip=88.191.*.*
    licensepath=
    filetransfer_port=30033
    filetransfer_ip=88.191.*.*
    query_port=10011
    query_ip=88.191.*.*
    dbplugin=ts3db_mysql      [also test without, but it start with sqlite3]
    dbpluginparameter=
    dbsqlpath=sql/
    dbsqlcreatepath=create_mysql/
    logpath=logs/
    logquerycommands=1
    [copy ts3db_mysql.ini]
    Code:
    [config]
    host=localhost
    port=3306
    username=-----
    password=--------
    database=------
    socket=
    Then :

    Code:
    ./ ts3server_minimal_runscript.sh dbplugin=ts3db_mysql dbsqlcreatepath=create_mysql/
    (also tested with ./ts3server_linux_amd64 dbplugin=ts3db_mysql dbsqlcreatepath=create_mysql/ and with out any params)

    But there is still the same error !
    Code:
    |INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta30 [Build: 12998], Linux
    |INFO    |DatabaseQuery |   | Please make sure you use the supplied ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself
    |CRITICAL|DatabaseQuery |   | unable to load database plugin library "libts3db_mysql.so", halting!
    Server works fine with sqlite but I wish to install it with mysql. I tried to follow each guide in the forum, over the net, on youtube and with or without params… I’m lost !
    Last edited by abt-network; December 10th, 2010 at 07:18 AM. Reason: Details

  4. #4
    Join Date
    January 2010
    Location
    Sweden
    Posts
    7
    abt-network, your problem is that the Ubuntu version you're using doesn't have the necessary MySQL client library called "libmysqlclient.so.15":
    Quote Originally Posted by abt-network View Post
    My ldd libts3db_mysql.so returns:
    Code:
    linux-vdso.so.1 =>  (0x00007fffde7ff000)
            libmysqlclient.so.15 => not found
            libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fcc6cc89000)
            libm.so.6 => /lib/libm.so.6 (0x00007fcc6ca05000)
            libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fcc6c7ee000)
            libc.so.6 => /lib/libc.so.6 (0x00007fcc6c46c000)
            /lib64/ld-linux-x86-64.so.2 (0x00007fcc6d1aa000)
    The last Ubuntu release that came with that file was Ubuntu 9.10 - starting with 10.04 LTS, the library version was bumped and as you have found out yourself, you have a "libmysqlclient.so.16" file on your system.

    The solution to your problem is therefore "install a package that has the '.15' version". You can do this if you download the package "libmysqlclient15off" from a Ubuntu 9.10 repository. Start with this web page: here, then follow the "amd64" link which takes you to a list of mirrors and then find a mirror close to you and download the package file called libmysqlclient15off_5.1.30really5.0.83-0ubuntu3_amd64.deb. Then, install that with
    Code:
    sudo dpkg -i libmysqlclient15off_5.1.30really5.0.83-0ubuntu3_amd64.deb
    You may get an error here saying that you need the mysql-common package. If you do, install that with
    Code:
    sudo apt-get install mysql-common
    and then try the dpkg command again.

    Good luck!

    PS. This solution works with Ubuntu 10.04 LTS - it may or may not work with the latest 10.10 release.

  5. #5
    Join Date
    December 2010
    Location
    France
    Posts
    3
    Yes, thank you, it is working !!
    I had a last problem with the socket but I had copy/paste the .sock file from "mysqld" to "mysql" dir, and it's working !

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. unable to load database plugin library, halting!
    By jeremyr in forum Linux / FreeBSD
    Replies: 16
    Last Post: July 27th, 2012, 12:50 PM
  2. Replies: 1
    Last Post: June 12th, 2011, 11:24 PM
  3. WIN XP. unable to load database plugin library
    By bailenforcer in forum Windows
    Replies: 4
    Last Post: April 8th, 2011, 02:51 PM
  4. Unable to load database plugin (mysql)
    By snipebase in forum Linux / FreeBSD
    Replies: 2
    Last Post: March 27th, 2011, 05:13 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
  •