vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - gTeamSpeak - TeamSpeak User Management (https://vborg.vbsupport.ru/showthread.php?t=122221)

Gryphon 08-23-2007 04:37 PM

Look under Advanced Options to setup TS as an external database.

Chadi 08-25-2007 02:56 AM

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


jluerken 08-25-2007 09:47 AM

Chadi check the server.log file. The error is logged there

Chadi 08-25-2007 11:47 AM

sorry forgot about that


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


jluerken 08-25-2007 12:51 PM

Your problem has nothing to do with this hack at all.
You simply have problems connecting to the mysql database.
Even without this hack you would have the problem

Quote:

Database initialization error: EDatabaseError.Unable to Load ./libmysqld.a
The library cannot be loaded!

This is what I have
Quote:

[DBEXPRESS]
sqldir=mysql_sql/
Drivername=mysql
Database=xxx
Hostname=xxx
User_name=xxx
Password=xxx
GetDriverFunc=getSQLDriverMYSQL
VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
LibraryName=./libsqlmy.so
Active=1
The library you have to load depends on the operating system and the mysql version you're running!

Fix this first before trying to use this hack!

Chadi 08-25-2007 01:30 PM

I cannot find any download for libsqlmy.so via Google.

jluerken 08-26-2007 06:49 PM

Quote:

Originally Posted by chadi (Post 1325415)
I cannot find any download for libsqlmy.so via Google.

Like I said, this has nothing to do with this hack. Please check out www.goteamspeak.com

Gryphon 08-26-2007 07:02 PM

Thank you for helping out jluerken, you have answered these questions better than I could have.

Foxtrotelite 08-27-2007 03:08 AM

I rent a teamspeak from a hosting company. Will this mod work with the remote ts?

jluerken 08-27-2007 08:20 AM

Yes you can enter a remote ServerIP but your Teamspeak Host needs two things:

1. TS must be installed in a mysql database. Normally hosters do not do so, they use the standard sqllite.
2. The remote TS must allow TCP Query. This should be working but some TS Hosters disable this with a firewall for whatevery reason.

btw. with vB 3.5 we got the product installation feature so before asking if a product will work for you or not, simply make a db backup, install and and test it. If its not working remove the product with a single click again.


All times are GMT. The time now is 09:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01310 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete