PDA

View Full Version : Sourcebans Error


zackrashmen
03-12-2016, 00:41
I have two servers i'm trying to get to work on sourcebans. The webserver is hosted on the same machine as one of the servers and that machine comes up on sourcebans but the other server does not come up (error connecting) this is what is in the error logs
03/10/2016 - 16:13:20: [SM] Plugin encountered error 25: Call was aborted
L 03/10/2016 - 16:13:20: [SM] Native "SetFailState" reported: unable to open database file
L 03/10/2016 - 16:13:20: [SM] Displaying call stack trace for plugin "sourcecomms.smx":
L 03/10/2016 - 16:13:20: [SM] [0] Line 1983, sourcecomms.sp::InitializeBackupDB()
L 03/10/2016 - 16:13:20: [SM] [1] Line 225, sourcecomms.sp::OnPluginStart()
L 03/10/2016 - 16:13:20: [SM] Unable to load plugin "tf_tauntem.smx": Required extension "TF2Items" file("tf2items.ext.2.ep2v") not running
L 03/10/2016 - 16:13:20: [SM] Plugin encountered error 25: Call was aborted
L 03/10/2016 - 16:13:20: [SM] Native "SetFailState" reported: [SAVM] Error with database : Could not find database conf "SAVM_Database"
L 03/10/2016 - 16:13:20: [SM] Displaying call stack trace for plugin "ManageAdmins.smx":
L 03/10/2016 - 16:13:20: [SM] [0] Line 317, C:\Users\Arkarr\Downloads\ManageAdmins.sp::Go tDatabase()
L 03/10/2016 - 16:13:20: [SM] Unable to load plugin "simplerulesmenu.smx": Required extension "cstrike" file("games/game.cstrike.ext") not running
L 03/10/2016 - 16:13:20: [SM] Plugin encountered error 25: Call was aborted
L 03/10/2016 - 16:13:20: [SM] Native "SetFailState" reported: unable to open database file
L 03/10/2016 - 16:13:20: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 03/10/2016 - 16:13:20: [SM] [0] Line 2234, sourcebans.sp::InitializeBackupDB()
L 03/10/2016 - 16:13:20: [SM] [1] Line 220, sourcebans.sp::OnPluginStart()
as well as
03/10/2016 - 00:18:36: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 03/10/2016 - 00:18:36: [SM] [0] Line 2234, sourcebans.sp::InitializeBackupDB()
L 03/10/2016 - 00:18:36: [SM] [1] Line 220, sourcebans.sp::OnPluginStart()
L 03/10/2016 - 00:18:59: SourceMod error session started
L 03/10/2016 - 00:18:59: Info (map "plr_hightower") (file "errors_20160310.log")
L 03/10/2016 - 00:18:59: [CLIENTPREFS] [1045]: Access denied for user 'admin_Cf'@'108.61.184.25' (using password: YES)
L 03/10/2016 - 00:18:59: [SM] Plugin encountered error 25: Call was aborted
L 03/10/2016 - 00:18:59: [SM] Native "SetFailState" reported: unable to open database file
L 03/10/2016 - 00:18:59: [SM] Displaying call stack trace for plugin "sourcecomms.smx":
L 03/10/2016 - 00:18:59: [SM] [0] Line 1983, sourcecomms.sp::InitializeBackupDB()
L 03/10/2016 - 00:18:59: [SM] [1] Line 225, sourcecomms.sp::OnPluginStart()

durangod
03-12-2016, 02:14
open up the sb_debug_connection.php file and fill in these two items, dont worry about the rcon one



$serverip = "";
$serverport = "";



This is the server ip and port of the game server.


Then run that file in your browser. It if shows cannot connect port blocked, then open the UDP for that port on both sides, the webside and the game side of the server.

Then run the file again.

Please post both results here..

UPDATE: Also did you remember to add the game server to the remote mysql config in your panel.

thanks

zackrashmen
03-12-2016, 04:29
open up the sb_debug_connection.php file and fill in these two items, dont worry about the rcon one



$serverip = "";
$serverport = "";



This is the server ip and port of the game server.


Then run that file in your browser. It if shows cannot connect port blocked, then open the UDP for that port on both sides, the webside and the game side of the server.

Then run the file again.

Please post both results here..

UPDATE: Also did you remember to add the game server to the remote mysql config in your panel.

thanks

This is what i got
[+] Trying to establish UDP connection
[+] UDP connection successfull!
[+] Trying to write to the socket
[+] Successfully requested server info. (That doesn't mean anything on an UDP stream.) Reading...
[-] Error getting server info. Can't read from UDP stream. Port is possibly blocked.

durangod
03-12-2016, 04:39
That means that your UDP port is not open on both ends, it has to be open on the game server and also on the web side. The port number you need to open is the port for the game server. Whatever your game server port is. Then open that UDP port on both the web server and the game server. And it will connect.