Raised This Month: $ Target: $400
 0% 

Bug Report SourceBans Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ShinyRazu
Member
Join Date: Feb 2014
Old 01-13-2015 , 05:23   SourceBans Problem
Reply With Quote #1

Hello I have some trouble installing SourceBans. I have tried both 1.4.11 and 1.5.0F and the same thing happens. I have installed the web panel that seems to work fine but it says 'Error Connecting' when I add a server. I have checked sourcebans.log and all that is there is this:


L 12/31/2014 - 22:01:58: [sourcebans.smx] Database failure: Could not find Database conf "sourcebans". See FAQ: http://sourcebans.net/node/19
L 12/31/2014 - 23:11:28: [sourcebans.smx] plugins/basebans.smx was unloaded and moved to plugins/disabled/basebans.smx

Any help is appreciated thank you.
ShinyRazu is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 01-13-2015 , 07:31   Re: SourceBans Problem
Reply With Quote #2

Maybe you should follow the installation instructions: http://www.sourcebans.net/manual/#plugin_database
Rytis is offline
ShinyRazu
Member
Join Date: Feb 2014
Old 01-13-2015 , 08:16   Re: SourceBans Problem
Reply With Quote #3

I'm not stupid, I have followed the instructions and my databases.cfg DOES have the configuration, the database also has proper tables etc. I've tried everything thats obvious...

Last edited by ShinyRazu; 01-13-2015 at 08:17.
ShinyRazu is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 01-13-2015 , 08:19   Re: SourceBans Problem
Reply With Quote #4

I didn't said that you're stupid, I just said that you didn't followed the instructions.

Maybe your database is ready etc, but if your database.cfg is not configured SourceBans can't connect. Go on that link in my previous post and read the instructions 'Database setup'.
Rytis is offline
ShinyRazu
Member
Join Date: Feb 2014
Old 01-13-2015 , 08:27   Re: SourceBans Problem
Reply With Quote #5

Extract from my databases.cfg:

Code:
"Databases"
{

    // When specifying "host", you may use an IP address, a hostname, or a socket file path

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

    "clientprefs"
    {
        "driver"            "sqlite"
        "host"                "localhost"
        "database"            "clientprefs-sqlite"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"            "0"
    }

Last edited by ShinyRazu; 01-13-2015 at 08:28.
ShinyRazu is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 01-13-2015 , 08:30   Re: SourceBans Problem
Reply With Quote #6

You forgot a '}' at the end of the file
Rytis is offline
ShinyRazu
Member
Join Date: Feb 2014
Old 01-13-2015 , 08:36   Re: SourceBans Problem
Reply With Quote #7

No, I said its an extract, so there are more databases. The last bit:

Code:
    "stamm_sql"
    {
        "driver"            "mysql"
        "host"              "*****"
        "database"          "*****"
        "user"              "*****"
        "pass"              "*****"
    }
}
ShinyRazu is offline
ShinyRazu
Member
Join Date: Feb 2014
Old 01-15-2015 , 08:50   Re: SourceBans Problem
Reply With Quote #8

OK Well. Seems like the problem is that the host won't open Port 27015. Not sure what I can do to get this working (yes it is shared hosting but to get dedicated when the site is not used much & my VDS is already over $100 monthly isn't possible). Does anybody know of any (preferably free) hosting that allows this port to be open?
ShinyRazu is offline
balonfx
AlliedModders Donor
Join Date: Dec 2013
Location: New Haven, CT
Old 01-15-2015 , 22:43   Re: SourceBans Problem
Reply With Quote #9

Add me on steam, we can talk about sourcebans hosting.
__________________
balonfx 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 19:01.


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