Raised This Month: $51 Target: $400
 12% 

[SM] Unable to load extension


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RIPXray
New Member
Join Date: Sep 2007
Old 09-20-2007 , 20:42   [SM] Unable to load extension
Reply With Quote #1

Hello.

I have a big problem. MySQL will not start.

[SM] Unable to load extension "dbi.mysql.ext.so": No such file or directory
[sourcebans.smx] Database failure: Could not find driver "mysql"
[sourcebans.smx] Database failure: Could not find driver "mysql"
[sourcebans.smx] Database failure: Could not find driver "mysql"
[sourcebans.smx] Database failure: Could not find driver "mysql"

I have installed the latest SourceMod (1450)
and SourceBans (v1.0.0RC1c)

Here is my database.cfg:
Code:
"Databases"
{
 "driver_default"  "mysql"
 
 "default"
 {
  "driver"   "default"
  "host"    "localhost"
  "database"   "sourcemod"
  "user"    "root"
  "pass"    ""
  //"timeout"   "0"
  //"port"   "0"
 }
 
 "storage-local"
 {
  "driver"   "sqlite"
  "database"   "sourcemod-local"
 }
 "sourcebans"
 {
  "driver"   "default"
  "host"    "mydb2.surftown.se"
  "database"   "********"
  "user"    "******"
  "pass"    "******"
  //"timeout"   "0"
  "port"   "3306"
     }
}
In folder "cstrike/addons/sourcemod/extensions" is 5 files:
bintools.ext.so
dbi.mysql.ext.so
dbi.sqlite.ext.so
geoip.ext.so
sdktools.ext.so

In the folder "cstrike/addons/sourcemod/data" a map named "sqlite" is created but no mysql.

Same thing happens when i aktivate "admin-sql-prefetch"

[SM] Unable to load extension "dbi.mysql.ext.so": No such file or directory
[admin-sql-prefetch.smx] Could not connect to database "default": Driver "mysql" not found

What have i done wrong??
RIPXray is offline
BAILOPAN
Join Date: Jan 2004
Old 09-20-2007 , 22:08   Re: [SM] Unable to load extension
Reply With Quote #2

Sounds like you are missing sourcemod/extensions/dbi.mysql.ext.so
__________________
egg
BAILOPAN is offline
RIPXray
New Member
Join Date: Sep 2007
Old 09-21-2007 , 08:09   Re: [SM] Unable to load extension
Reply With Quote #3

The file is in the folder. See my post above.

Quote:
Originally Posted by RIPXray View Post

In folder "cstrike/addons/sourcemod/extensions" is 5 files:
bintools.ext.so

dbi.mysql.ext.so

dbi.sqlite.ext.so
geoip.ext.so
sdktools.ext.so
RIPXray is offline
BAILOPAN
Join Date: Jan 2004
Old 09-21-2007 , 18:57   Re: [SM] Unable to load extension
Reply With Quote #4

Do you have shell access to your server?
__________________
egg
BAILOPAN is offline
RIPXray
New Member
Join Date: Sep 2007
Old 09-21-2007 , 19:03   Re: [SM] Unable to load extension
Reply With Quote #5

No. Only FTP.
I have rent this server.
RIPXray is offline
BAILOPAN
Join Date: Jan 2004
Old 09-23-2007 , 18:14   Re: [SM] Unable to load extension
Reply With Quote #6

Your provider probably does not have the correct system libraries installed. Ask them to run this command for you:

Code:
ldd dbi.mysql.ext.so
They are probably missing libz or something.
__________________
egg
BAILOPAN is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode