View Single Post
Author Message
HiddenConn1
AlliedModders Donor
Join Date: Aug 2009
Location: Cambridge, UK
Old 01-21-2016 , 16:28   Default Unable to load extension "dbi.mysql.ext"
Reply With Quote #1

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.

Last edited by HiddenConn1; 01-21-2016 at 16:32.
HiddenConn1 is offline