AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Default Unable to load extension "dbi.mysql.ext" (https://forums.alliedmods.net/showthread.php?t=277979)

HiddenConn1 01-21-2016 16:28

Default Unable to load extension "dbi.mysql.ext"
 
Hi.

I am getting an error with my SB Database. For some reason it's saying unable to load extension "dbi.mysql.ext.so". Our dedicated server is running Linux CentOS 6.7.
Code:

L 01/21/2016 - 21:10:27: SourceMod error session started
L 01/21/2016 - 21:10:27: Info (map "de_dust2") (file "errors_20160121.log")
L 01/21/2016 - 21:10:27: [SM] Unable to load extension "dbi.mysql.ext": libz.so.1: cannot open shared object file: No such file or directory
L 01/21/2016 - 21:10:27: [SM] Plugin encountered error 25: Call was aborted
L 01/21/2016 - 21:10:27: [SM] Native "SetFailState" reported: Failed to connect to SourceBans DB, Could not find driver "mysql"
L 01/21/2016 - 21:10:27: [SM] Displaying call stack trace for plugin "sbchecker.smx":
L 01/21/2016 - 21:10:27: [SM]  [0]  Line 70, sbchecker.sp::OnDatabaseConnected()
L 01/21/2016 - 21:10:27: [SM] Unable to load plugin "sb_admins.smx": Native "SB_Init" was not found
L 01/21/2016 - 21:10:27: [SourceSleuth.smx] SourceSleuth: Database connection error: Could not find driver "mysql"
L 01/21/2016 - 21:10:27: [SM] Unable to load plugin "sb_bans.smx": Native "SB_Init" was not found
L 01/21/2016 - 21:10:59: Error log file session closed.
L 01/21/2016 - 21:10:59: SourceMod error session started
L 01/21/2016 - 21:10:59: Info (map "de_dust2") (file "errors_20160121.log")
L 01/21/2016 - 21:10:59: [SM] Plugin encountered error 25: Call was aborted
L 01/21/2016 - 21:10:59: [SM] Native "SetFailState" reported: Failed to connect to SourceBans DB, Could not find driver "mysql"
L 01/21/2016 - 21:10:59: [SM] Displaying call stack trace for plugin "sbchecker.smx":
L 01/21/2016 - 21:10:59: [SM]  [0]  Line 70, sbchecker.sp::OnDatabaseConnected()
L 01/21/2016 - 21:10:59: [SM] Unable to load plugin "sb_admins.smx": Native "SB_Init" was not found
L 01/21/2016 - 21:10:59: [SM] Unable to load plugin "sb_bans.smx": Native "SB_Init" was not found
L 01/21/2016 - 21:11:04: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 01/21/2016 - 21:11:04: [SM] Displaying call stack trace for plugin "SourceSleuth.smx":
L 01/21/2016 - 21:11:04: [SM]  [0]  Line 166, SourceSleuth.sp::OnClientPostAdminCheck()

Database config:
Code:

"Databases"
{
        "driver_default"                "mysql"
       
        "sourcebans"
        {
                "driver"                        "mysql"
                "host"                                "37.59.9.200"
                "database"                        "tcompute_bans"
                "user"                                "tcompute_bans"
                "pass"                                "SNIP"
                //"timeout"                        "0"
                "port"                        "3306"
        }
       
        "storage-local"
        {
                "driver"                        "sqlite"
                "database"                        "sourcemod-local"
        }
}

EDIT: I've already added the IP into cPanel's MySQL Remote Host. (Just in case). I've done everything I can think of except for installing that mysql lib in the root of our dedicated server terminal shell.

asherkin 01-23-2016 18:29

Re: Default Unable to load extension "dbi.mysql.ext"
 
Did you try searching for your error message?

[SM] Unable to load extension "dbi.mysql.ext": libz.so.1: cannot open shared object file: No such file or directory

Because it's hard to NOT find the several hundred previous threads on the issue.

fragnichtnach 05-06-2019 02:53

Re: Default Unable to load extension "dbi.mysql.ext"
 
as google like to redirect you always to threads where people answer there are 1000s of previous threads:

https://forums.alliedmods.net/showth...os#post2412966
here are solutions for debian&ubuntu&centos

raj kaul 05-07-2019 07:14

Re: Default Unable to load extension "dbi.mysql.ext"
 
apt-get install lib32z1


As root


All times are GMT -4. The time now is 19:36.

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