Forum

Results 1 to 7 of 7
  1. #1
    Join Date
    May 2015
    Posts
    6

    unable to load database plugin library libts3db_mariadb.so

    Here is the log file:

    Code:
    .2017-08-28 12:21:54.537443|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.13.8 (2017-07-19 08:26:51)
    2017-08-28 12:21:54.537488|INFO    |ServerLibPriv |   |SystemInformation: Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 Binary: 64bit
    2017-08-28 12:21:54.537501|INFO    |ServerLibPriv |   |Using hardware aes
    2017-08-28 12:21:54.539937|INFO    |DatabaseQuery |   |Please make sure you use the supplied ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself
    2017-08-28 12:21:54.539955|CRITICAL|DatabaseQuery |   |unable to load database plugin library "libts3db_mariadb.so", halting!
    the libts3db_mariadb.so is in the installation folder.

    I am starting the server with

    Code:
    ./ts3server_startscript.sh start inifile=ts3server.ini
    the ts3server.ini includes the following lines:


    I have set the path. If I do printenv, I get (among others) the correct folder:
    Code:
    LD_LIBRARY_PATH=/home/my_user/teamspeak
    Any idea what could be wrong?

  2. #2
    Join Date
    June 2008
    Posts
    16,867
    You may have missed to move or copy the libmariadb.so.2 from redist folder to the root folder of the server.
    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? ||NPL (Registration)

  3. #3
    Join Date
    May 2015
    Posts
    6
    Quote Originally Posted by dante696 View Post
    You may have missed to move or copy the libmariadb.so.2 from redist folder to the root folder of the server.
    Yep, that was it, thanks!

  4. #4
    Join Date
    May 2014
    Posts
    12

    error when running ts3 using mariadb

    Hi guys. i am trying to use ts3 with mariadb but i keep getting an error when i start the server. i am using linux ubuntu server 16.04

    my files=

    • Fresh install of Teammspeak3
    • I installed mariadb using apt-get install mariadb-server
    • created a table in mariadb called "ts3db" and a user to access the db called "ts3user"
    • Added the following files to my teamspeak3 extracted files




    • ts3db_mariadb.ini



    Code:
    [config]
     host='127.0.0.1'
     port='3306'
     username='ts3user'
     password='hello'
     database='ts3db'
     socket=

    • ts3server.ini



    Code:
    machine_id=1
    default_voice_port=9987
    voice_ip=0.0.0.0
    liscensepath=
    filetransfer_port=30033
    filetransfer_ip=0.0.0.0
    query_port=10011
    query_ip=0.0.0.0
    dbplugin=ts3db_mariadb
    dbpluginparameter=ts3db_maria.ini
    dbsqlpath=sql/
    dbsqlcreatepath=create_mariadb/
    logpath=logs
    logquerycommands=1

    • The error I am receiving and the command to start the server



    Code:
    [email protected]:~/teamspeak# ./ts3server_minimal_runscript.sh start inifile=ts3server.ini
    2017-11-02 15:45:59.373624|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.13.8 (2017-07-19 08:26:51)
    2017-11-02 15:45:59.374434|INFO    |ServerLibPriv |   |SystemInformation: Linux 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 Binary: 64bit
    2017-11-02 15:45:59.374855|INFO    |ServerLibPriv |   |Using hardware aes
    2017-11-02 15:45:59.375973|INFO    |DatabaseQuery |   |Please make sure you use the supplied ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself
    2017-11-02 15:45:59.376439|CRITICAL|DatabaseQuery |   |unable to load database plugin library "libts3db_mariadb.so", halting!

    If anyone can help i would greatly appreciate it
    Last edited by dante696; November 3rd, 2017 at 12:41 PM. Reason: merged

  5. #5
    Join Date
    June 2008
    Posts
    16,867
    Go into the redist folder and then move the libmariadb.so into the root folder from the ts server.
    Then try again.
    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? ||NPL (Registration)

  6. #6
    Join Date
    May 2014
    Posts
    12
    will try that and let you know
    thanks for the quick reply

  7. #7
    Join Date
    May 2014
    Posts
    12
    ok so i took the file /redis/libmariadb.so.2 and renamed it to libmariadb.so and copied it into my teamspeak root. now it is giving me the following error

    Code:
    2017-11-03 11:41:38.235284|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.13.8 (2017-07-19 08:26:51)
    2017-11-03 11:41:38.235860|INFO    |ServerLibPriv |   |SystemInformation: Linux 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 Binary: 64bit
    2017-11-03 11:41:38.236128|INFO    |ServerLibPriv |   |Using hardware aes
    2017-11-03 11:41:38.238431|INFO    |DatabaseQuery |   |dbPlugin name:    MariaDB plugin, version 3, (c)TeamSpeak Systems GmbH
    2017-11-03 11:41:38.238793|INFO    |DatabaseQuery |   |dbPlugin version: 2
    2017-11-03 11:41:38.242301|ERROR   |DatabaseQuery |   |mysql_real_connect() failed with error: Access denied for user 'root'@'localhost' (using password: NO)
    2017-11-03 11:41:38.242714|CRITICAL|ServerLibPriv |   |Server() unable to initialize database
    i saw the error then as my dbpluginparameter=ts3db_maria.ini was pointing to a file that doesn't exist because i named it to ts3db_mariaDB.ini haha facepalm.

    thanks so much.

    looks like it works perfectly.

    there is not alot of resources available on youtube to change db for ts3 so i might make a vid as it took me bout 3 hours to do.

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, 11:50 AM
  2. Replies: 1
    Last Post: June 25th, 2012, 11:54 PM
  3. Replies: 1
    Last Post: June 12th, 2011, 10:24 PM
  4. WIN XP. unable to load database plugin library
    By bailenforcer in forum Windows
    Replies: 4
    Last Post: April 8th, 2011, 01:51 PM
  5. Replies: 3
    Last Post: February 5th, 2010, 05:54 AM

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
  •