Community Forums Today's Posts     Member List     Archive    
Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2007
    Location
    USA
    Posts
    25

    database problem

    Server Specs hosting TS Server:

    Centos 4.5
    Mysql 4.1x


    Not sure what I'm doing wrong here, but I added this to the bottom of the server.ini file and of course, edited the necessary fields.

    [DBEXPRESS]
    sqldir=mysql_sql/
    Drivername=mysql
    Database=database_name
    Hostname=localhost
    User_name=database_username
    Password=database_password
    GetDriverFunc=getSQLDriverMYSQL
    VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    LibraryName=./libsqlmy.so
    Active=1


    Now, I get this:

    root@server [/home/teamspeak/public_html/tss2_rc2]# ./teamspeak2-server_startscript start
    WARNING ! For security reasons we advise: DO NOT RUN THE SERVER AS ROOT
    !!!!!!!!!!!
    starting the teamspeak2 server
    Error starting daemon. Aborted


    Even if I try to run as teamspeak user, I get this:

    teamspeak@server [~/public_html/tss2_rc2]# ./teamspeak2-server_startscript start
    starting the teamspeak2 server
    Error starting daemon. Aborted


    My permissions

    Code:
    drwxr-xr-x  7 teamspeak teamspeak 4.0K Aug 24 22:48 ./
    drwxr-xr-x  4 teamspeak teamspeak 4.0K Aug 24 22:46 ../
    -rw-r--r--  1 teamspeak teamspeak    7 Aug 24 22:48 bad_names.txt
    drwxr-xr-x  4 teamspeak teamspeak 4.0K Aug  2 12:57 httpdocs/
    -rw-r--r--  1 teamspeak teamspeak 2.6K Aug  2 07:07 INSTALL
    -rw-r--r--  1 teamspeak teamspeak 3.1K Aug  2 06:38 INSTALL.mysql
    -rw-r--r--  1 teamspeak teamspeak 229K Mar  9  2004 libsqlmy.so
    -rw-r--r--  1 teamspeak teamspeak  21K Aug  2 06:38 LICENSE
    drwxr-xr-x  2 teamspeak teamspeak 4.0K Mar  9  2004 Manual/
    -rw-r--r--  1 teamspeak teamspeak  353 Mar  9  2004 manual.html
    drwx------  2 teamspeak teamspeak 4.0K Aug  2 06:25 mysql_sql/
    -rw-r--r--  1 teamspeak teamspeak 3.9K Aug  2 06:49 README
    -rw-r--r--  1 teamspeak teamspeak  20K Aug 24 22:48 server.dbs
    -rw-r--r--  1 teamspeak teamspeak  789 Aug 24 22:52 server.ini
    -rwxr--r--  1 teamspeak teamspeak 927K Aug  2 06:50 server_linux*
    -rw-r--r--  1 teamspeak teamspeak 2.5K Aug 24 22:52 server.log
    -rw-r--r--  1 teamspeak teamspeak 247K Mar  9  2004 sqlite.so
    drwx------  2 teamspeak teamspeak 4.0K Aug  2 06:25 sqlite_sql/
    drwxr-xr-x  2 teamspeak teamspeak 4.0K Mar  9  2004 tcpquerydocs/
    -rwxr-xr-x  1 teamspeak teamspeak 2.5K Mar  9  2004 teamspeak2-server_startscript*
    -rw-r--r--  1 teamspeak teamspeak    0 Aug 24 22:48 whitelist.txt
    root@server [/home/teamspeak/public_html/tss2_rc2]# ./teamspeak2-server_startscript start

    LOGS


    24-08-07 23:16:41,ALL,Info,server, Server init initialized
    24-08-07 23:16:41,ALL,Info,server, Server version: 2.0.23.19 Linux
    24-08-07 23:16:41,ERROR,All,SQL, Database initialization error: EDatabaseError.Unable to Load ./libmysqld.a
    24-08-07 23:16:41,ERROR,All,SERVER, Start_Server: unable to open database



    This is what I have (with orange actual info, which I know is correct)


    Code:
    [DBEXPRESS]
    sqldir=/var/lib/mysql
    Drivername=mysql
    Database=database_name
    Hostname=localhost
    User_name=database_username
    Password=database_password
    GetDriverFunc=getSQLDriverMYSQL
    VendorLib=/usr/lib/libmysqlclient_r.so.14.0.0
    LibraryName=./libmysqld.a
    Active=1
    Code:
    root@server [/usr/lib]# ls *mysql*
    libmysqlclient_r.so@     libmysqlclient_r.so.14.0.0*  libmysqlclient.so.14@      libmysqlclient.so.6@
    libmysqlclient_r.so.14@  libmysqlclient.so@           libmysqlclient.so.14.0.0*
    
    mysql:
    ./         libheap.a   libmyisam.a       libmysqlclient.la*    libmysqld.a     libnisam.a  libz.la*
    ../        libmerge.a  libmyisammrg.a    libmysqlclient_r.a    libmystrings.a  libvio.a    mysqld.sym
    libdbug.a  libmygcc.a  libmysqlclient.a  libmysqlclient_r.la*  libmysys.a      libz.a

  2. #2
    Join Date
    Jul 2006
    Posts
    1,573
    As far as i know do you have to use the libmysqlclient.10.0.0

    Search the forum to get the download link and how to install mysql properly.

    But a tip: if there is no need, let the teamspeak server run with the normal SQLite Database...

    MySQL only creates problems

  3. #3
    Join Date
    Aug 2007
    Location
    USA
    Posts
    25
    Where is the download link? I searched for libmysqlclient.10.0.0 and for libmysqlclient, results gave me zero.

    I'm using this mod here
    http://www.vbulletin.org/forum/showthread.php?t=122221

    It says to use mysql because vbulletin uses mysql

  4. #4
    Join Date
    Jul 2006
    Posts
    1,573
    There are other ways to do that, for example CyTS or libacts...

    This vBulletin Tool/Mod might be very nice...but it forces more and more people to get mysql.

    There are some threads in english and german linux server to install a ts server with mysql 4 or 5.

  5. #5
    Join Date
    Aug 2007
    Location
    USA
    Posts
    25
    I am aware of the docs on how to install TS2. I already installed it, but I need to get the database mysql to connect.

  6. #6
    Join Date
    Jul 2006
    Posts
    1,573
    Yeah, that's what i'm saying.

    There are some tutorials how to install a ts server with mysql 4 and 5

  7. #7
    Join Date
    Aug 2007
    Location
    USA
    Posts
    25
    Where are they? You tell me search for libmysqlclient and its not found. You tell me "yea thats what I'm saying" and to search for the tutorials and I cannot find that either.

    If you care to help, help. If not, let someone else help

  8. #8
    Join Date
    Jul 2006
    Posts
    1,573
    Quote Originally Posted by maxi1990 View Post
    There are some threads in english and german linux server to install a ts server with mysql 4 or 5.
    So : Englisch Server -> Linux -> Stickies

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Weird Problem!
    By crazyandy in forum [TeamSpeak 2] Server Support
    Replies: 6
    Last Post: 28-08-2007, 16:30
  2. ts problem
    By Averlome in forum [TeamSpeak 2] Server Support
    Replies: 15
    Last Post: 14-07-2007, 12:49
  3. Problem: Höre nach ca. 20-30min niemanden mehr im TS2
    By LOC-MAXX in forum [TeamSpeak 2] Client Support
    Replies: 3
    Last Post: 02-07-2003, 15:49
  4. Bizarre Choppy Problem
    By AngusHeaf in forum [TeamSpeak Classic] General Questions
    Replies: 1
    Last Post: 03-07-2002, 08:11

Posting Permissions

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