AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   [SM] Unable to load extension (https://forums.alliedmods.net/showthread.php?t=61104)

RIPXray 09-20-2007 20:42

[SM] Unable to load extension
 
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?? :)

BAILOPAN 09-20-2007 22:08

Re: [SM] Unable to load extension
 
Sounds like you are missing sourcemod/extensions/dbi.mysql.ext.so

RIPXray 09-21-2007 08:09

Re: [SM] Unable to load extension
 
The file is in the folder. See my post above.

Quote:

Originally Posted by RIPXray (Post 533758)

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


BAILOPAN 09-21-2007 18:57

Re: [SM] Unable to load extension
 
Do you have shell access to your server?

RIPXray 09-21-2007 19:03

Re: [SM] Unable to load extension
 
No. Only FTP.
I have rent this server.

BAILOPAN 09-23-2007 18:14

Re: [SM] Unable to load extension
 
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.


All times are GMT -4. The time now is 20:42.

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