Sourcebans Database error.

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
mrcole50
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Wed Oct 14, 2015 6:45 am

Sourcebans Database error.

Post by mrcole50 »

Hello. Me and my friend just bought a TF2 server and we are trying to set up sourcebans for the first time. Sourcebans is up and running but I can't kick/ban people from the web pannel and none of the admin/admin groups are appearing in the admins.cfg/admin_groups.cfg. I looked in the sourcebans.log and found this

Code: Select all

L 10/14/2015 - 08:56:34: [sourcebans.smx] Database failure: Could not find Database conf "sourcebans". See FAQ: http://sourcebans.net/node/19
L 10/14/2015 - 08:57:18: [sourcebans.smx] plugins/basebans.smx was unloaded and moved to plugins/disabled/basebans.smx
Also here is my database.cfg

Code: Select all

"Databases"
{
	"driver_default"		"mysql"
	
	"sourcebans"
	{
		"driver"			"mysql"
		"host"				"sbtrading727.site.nfoservers.com"
		"database"			"sbtrading727_sourcebans"
		"user"				"sbtrading727"
		"pass"				"[redacted]"
		//"timeout"			"0"
		"port"			"3306"
	}
	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}
}
If you need anymore info let me know and thanks for the help!
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Sourcebans Database error.

Post by soja »

sbtrading727.site.nfoservers.com doesn't resolve to an IP address.

is the file called database.cfg or databases.cfg? It should be databases.cfg.

I sincerely hope that is not your real MySQL password. If it is edit it asap and change the password immediately.
Not a NFO employee
Post Reply