Raised This Month: $51 Target: $400
 12% 

[CSS]Sourcebans Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Android050497
Member
Join Date: Dec 2012
Old 03-04-2013 , 16:06   [CSS]Sourcebans Error
Reply With Quote #1

Hi

Ive just installed sourcebans on my webpage and added my servers and uploaded plugins to webserver as was said in manual and edited databases.cfg in gameserver ftp,I did all as was said in sourcebans manual but when I ban some player or myself on server it isnt showed on webpanel that he is banned.It is all empty.I can kick,ban,psay in webpanel but I cant see bans which I made in server in webpanel.

Please help me.
Thanks in advance!

Last edited by Android050497; 03-04-2013 at 16:07.
Android050497 is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 03-04-2013 , 23:27   Re: [CSS]Sourcebans Error
Reply With Quote #2

Hello,
please go into /sourcemod/logs and find sourcebans.log

post here what you have there.

Also make sure that the mysql server is accepting connections from the gameserver and that the info in databases.cfg are correct
__________________
nikooo777 is offline
Android050497
Member
Join Date: Dec 2012
Old 03-05-2013 , 08:01   Re: [CSS]Sourcebans Error
Reply With Quote #3

Quote:
Originally Posted by nikooo777 View Post
Hello,
please go into /sourcemod/logs and find sourcebans.log

post here what you have there.

Also make sure that the mysql server is accepting connections from the gameserver and that the info in databases.cfg are correct
I dont have /logs directory in my sourcemod folder.Databases.cfg is edited correctly.
Android050497 is offline
Android050497
Member
Join Date: Dec 2012
Old 03-05-2013 , 11:33   Re: [CSS]Sourcebans Error
Reply With Quote #4

My databases.cfg:

Quote:
"Databases"
{
"driver_default" "mysql"

"sourcebans"
{
"driver" "mysql"
"host" "localhost"
"database" "team-ars_sourcebans"
"user" "team-_sourcebans"
"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 Android050497; 03-05-2013 at 14:33.
Android050497 is offline
Android050497
Member
Join Date: Dec 2012
Old 03-05-2013 , 14:34   Re: [CSS]Sourcebans Error
Reply With Quote #5

Oh,here I found sourcebans.log file now,here are errors:

L 03/05/2013 - 17:54:50: [sourcebans.smx] plugins/basebans.smx was unloaded and moved to plugins/disabled/basebans.smx
L 03/05/2013 - 17:54:50: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20
L 03/05/2013 - 19:49:48: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20

Last edited by Android050497; 03-05-2013 at 14:34.
Android050497 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-05-2013 , 19:03   Re: [CSS]Sourcebans Error
Reply With Quote #6

Use 127.0.0.1 instead
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 03-05-2013 , 23:12   Re: [CSS]Sourcebans Error
Reply With Quote #7

Quote:
Originally Posted by YamiKaitou View Post
Use 127.0.0.1 instead
this, and make sure that your database is ACCEPTING connections from localhost!

also just out of curiosity, are you running on 64 or 32 bit?
__________________
nikooo777 is offline
Android050497
Member
Join Date: Dec 2012
Old 03-06-2013 , 04:56   Re: [CSS]Sourcebans Error
Reply With Quote #8

Quote:
Originally Posted by YamiKaitou View Post
Use 127.0.0.1 instead
Use that instead of?Where should I put that?

@nikooo,I dont know how to check it :/ And how to allow connections to database from my gameservers?

Last edited by Android050497; 03-06-2013 at 05:06.
Android050497 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-06-2013 , 05:40   Re: [CSS]Sourcebans Error
Reply With Quote #9

Quote:
Originally Posted by Android050497 View Post
Use that instead of?Where should I put that?
Instead of localhost

Unless the MySQL server is not on the same server as the game server, then you should use the IP of the MySQL server
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Android050497
Member
Join Date: Dec 2012
Old 03-06-2013 , 06:35   Re: [CSS]Sourcebans Error
Reply With Quote #10

So I just enter 127.0.0.1 instead of localhost in databases.cfg?Thats IP of my mysql database?
Android050497 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 23:14.


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