Sourcebans Database/server help!
-
- New to forums
- Posts: 5
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Jul 11, 2013 7:45 pm
Sourcebans Database/server help!
I have servers hosted on host17. I also have a webhost account with NFO. After a while going back and forth with NFO's Support Team, with multiple different staff members, I was still unable to come up with a solution. Heres the problem - Sourcebans is 100% completely installed correctly on the website, and correctly on the server side. The database.cfg is exactly as should be, provided by sourcebans webpage. I have tried a few different "host" settings > localhost, The IP address I get from back tracing my url [cslegendgaming.net](also hosted with NFO) and the url it self. Non of which seemed to work right. I dont actually get any errors in the sourcemod/logs folder but when i rehash the admins on the website, restart the server, and or refresh the admins list on the server it self, the admins.cfg file still remains blank. Also banning someone from the server, there SteamID, IP... etc. does not appear in the bans list. I have also checked off the box on the database list on the NFO panel for allowing external connections. I still can not come up with a solution for this problem.
Please if there is anyone that could help with this issue, that would be great. I hope I explained the problem well so you can understand it, if you don't, obviously... reply with a question. Thank you.
Please if there is anyone that could help with this issue, that would be great. I hope I explained the problem well so you can understand it, if you don't, obviously... reply with a question. Thank you.
Re: Sourcebans Database/server help!
Would you mind checking out the following?
1. Is there a "sourcebans.log" file that was created? If I remember correctly, Sourcebans creates it's own log file for errors.
2. Are there any current IP bans on your server? You can check this by using listip in console, then remove them using removeip. Sometimes if an RCON password for the Sourcebans web interface is not correct, the game server will ban the IP after so many failed attempts.
3. Did you specify the correct ServerID in your sourcebans.cfg file? This seems to be a common step that is missed.
1. Is there a "sourcebans.log" file that was created? If I remember correctly, Sourcebans creates it's own log file for errors.
2. Are there any current IP bans on your server? You can check this by using listip in console, then remove them using removeip. Sometimes if an RCON password for the Sourcebans web interface is not correct, the game server will ban the IP after so many failed attempts.
3. Did you specify the correct ServerID in your sourcebans.cfg file? This seems to be a common step that is missed.
Re: Sourcebans Database/server help!
First, when you ban someone, it won't show under bans list, because the sourcebans ban system replaces the default ban system, so all of your bans will show on the sourcemod page. (Are you saying your bans are not appearing on the sourcemod page?)
Second, could you post up whats inside your database.cfg file? (X out your credentials. IE: Username/PW)
Lastly, could you provide your sourcebans page link?
Second, could you post up whats inside your database.cfg file? (X out your credentials. IE: Username/PW)
Lastly, could you provide your sourcebans page link?


-
- New to forums
- Posts: 5
- Joined: Thu Jul 11, 2013 7:45 pm
Re: Sourcebans Database/server help!
Yes I already know that then I ban someone from the server it wont log into on the servers files... It's logged on the sourcebans ban list page... I'm not sure what you mean by sourcemod page?IcEWoLF wrote:First, when you ban someone, it won't show under bans list, because the sourcebans ban system replaces the default ban system, so all of your bans will show on the sourcemod page. (Are you saying your bans are not appearing on the sourcemod page?)
Second, could you post up whats inside your database.cfg file? (X out your credentials. IE: Username/PW)
Lastly, could you provide your sourcebans page link?
Sourcebans : http://www.cslegendgaming.net/sourcebans
Code: Select all
"Databases"
{
"sourcebans"
{
"driver" "mysql"
"host" "208.146.35.22"
"database" "cslegendgaming_XXXXXXXX"
"user" "XXXXXXXXXXXXX"
"pass" "XXXXXXXXXXXX"
//"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"
}
}
Spray wrote:Would you mind checking out the following?
1. Is there a "sourcebans.log" file that was created? If I remember correctly, Sourcebans creates it's own log file for errors.
2. Are there any current IP bans on your server? You can check this by using listip in console, then remove them using removeip. Sometimes if an RCON password for the Sourcebans web interface is not correct, the game server will ban the IP after so many failed attempts.
3. Did you specify the correct ServerID in your sourcebans.cfg file? This seems to be a common step that is missed.
Answer to your questions/statements in order:
1.

2. I checked:
Code: Select all
-> listip
IP filter list: empty
-
- New to forums
- Posts: 5
- Joined: Thu Jul 11, 2013 7:45 pm
Re: Sourcebans Database/server help!
Other info - I used that IP address when I set up my HLstatsX and it connected to the database without any issues.
Link to page - http://lgcsgodm.hlstatsx.nfoservers.com/hlstats.php
Link to page - http://lgcsgodm.hlstatsx.nfoservers.com/hlstats.php
Re: Sourcebans Database/server help!
Is it still currently set to -1? Would you try setting it to the one listed in the webpanel under Admin Panel > Servers?CSLG Element wrote: 3. Yes. I made sure the serverID was correct when I installed it. I think by default the sourcebans.cfg is set to -1 to auto set the sID.
-
- New to forums
- Posts: 5
- Joined: Thu Jul 11, 2013 7:45 pm
Re: Sourcebans Database/server help!
Each server is set in order from then i added them 1..2... etc.
Re: Sourcebans Database/server help!
I'm sorry, so the ServerID for each server is currently set to something other than -1 in sourcebans.cfg?CSLG Element wrote:Each server is set in order from then i added them 1..2... etc.
-
- New to forums
- Posts: 5
- Joined: Thu Jul 11, 2013 7:45 pm
Re: Sourcebans Database/server help!
Yes. They work now. Turns out there was some type of miscommunication between the database and the servers. Thanks for the help anyway guys!
Re: Sourcebans Database/server help!
-snip- Sorry about bump...