Raised This Month: $ Target: $400
 0% 

[CSS] Server is not connecting to Sourcebans Database


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
King_kittan
Junior Member
Join Date: Dec 2014
Old 01-18-2015 , 22:24   [CSS] Server is not connecting to Sourcebans Database
Reply With Quote #1

Server OS: Ubuntu 14.04 LTS 64-bit
Processor: It's a virtual machine, so I just know its a dual core, which I believe is hyper-threaded at 4 threads.
Ram: 2 GB RAM
Game(s): Currently Counter-Strike Source, also running TF2 servers, not sure if that's working or not.
Start Up Command: start command is:
Code:
screen -A -m -d -S office office/srcds_run -console -game cstrike -port 27015 +ip (ip of server) +servercfgfile configfile.cfg +map cs_office +maxplayers 24
Admin Mods: I am running Sourcemod, metamod, and trying to get sourcebans to run. You guys may not know this, but I figured I would give it a shot.

CONFIG
server.cfg:
Code:
hostname Twilight Equilibrium 24/7 Office
rcon_password <rcon pass>
sv_password
exec banned_user.cfg
exec banned_ip.cfg
exec bots.cfg
mp_logdetail 0
mp_timelimit 0
mp_autokick 1
mp_autoteambalance 1
mp_c4timer 30
mp_flashlight 0
mp_footsteps 1
mp_freezetime 3
mp_friendlyfire 0
mp_hostagepenalty 4
mp_limitteams 1
mp_roundtime 4
mp_tkpunish 0
sv_restartround 1
sv_maxspeed 320
mp_startmoney 1600
mp_chattime
sv_allowupload 1
sv_voiceenable 1
sv_alltalk 0
mp_falldamage 0
sv_cheats 0
sv_lan 0
sv_contact
sv_region
sv_minrate 13000
sv_maxrate 25000
sv_minupdaterate 33
sv_maxupdaterate 67
sv_mincmdrate 33
sv_maxcmdrate 67
The only other config that I really run is the bots.cfg:
Code:
// Bot Basics

bot_join_after_player 0
bot_difficulty 1
bot_chatter off
bot_quota 20
bot_quota_mode fill
bot_allow_rogues 0
bot_prefix "[TwilightE]"
bot_join_team any
bot_allow_grenades 1
bot_allow_machine_guns 0
bot_allow_pistols 1
bot_allow_rifles 1
bot_allow_shotguns 1
bot_allow_snipers 0
bot_allow_sub_machine_guns 1
bot_auto_follow 1
bot_auto_vacate 1
bot_eco_limit 1600
I know that these use mysql, have that installed on my website, and in my databases.cfg I have

Code:
"driver"    "mysql"
"host"      "http://www.example.com"     <---- also had this set to the IP of the website
"database" "sourcebans"
"user"       "username"
"password"    "password"
"port"       "3306"
I have tried opening port 3306 on the game server just to try it, so I am unsure where to go at this point.

EDIT: I thought it could have been a bad download of source mod, so I removed my addons folder, and the cfg files in the cfg folder, and tried a new download of sourcebans and still doesn't work.

Last edited by King_kittan; 01-18-2015 at 23:58.
King_kittan is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 01-18-2015 , 23:38   Re: [CSS] Server is not connecting to Sourcebans Database
Reply With Quote #2

You should remove the rcon_password from your post and change it since you didn't remove it. (well, assuming that's the actual password and you didn't change it for this post, which you might have...)

Check your addons/sourcemod/logs folder and see if there are any error logs.
__________________

Last edited by splewis; 01-18-2015 at 23:39.
splewis is offline
King_kittan
Junior Member
Join Date: Dec 2014
Old 01-18-2015 , 23:59   Re: [CSS] Server is not connecting to Sourcebans Database
Reply With Quote #3

/sourcemod/logs: Empty directory Listings

no logs.


EDIT: It looks like sourcemod is not loading sourcebans.smx... trying to figure it out.

Last edited by King_kittan; 01-19-2015 at 02:25.
King_kittan is offline
King_kittan
Junior Member
Join Date: Dec 2014
Old 01-19-2015 , 04:36   Re: [CSS] Server is not connecting to Sourcebans Database
Reply With Quote #4

Update:

The plugin is not loading on startup. I think that is due to an error:

I did
Code:
sm plugins load sourcebans
in the server console, and then did
Code:
sm plugins list
and it says
Code:
18 <Error> "Sourcebans" (1.4.11) by SourceBans Development Team
Load Errors:
SourceBans: Error detected in plugin startup (see error logs)
I checked sourcemod/logs, still no file at all.
King_kittan is offline
King_kittan
Junior Member
Join Date: Dec 2014
Old 01-19-2015 , 23:49   Re: [CSS] Server is not connecting to Sourcebans Database
Reply With Quote #5

Alright --

I have got it running.. Sourcebans webpanel connects to DB and the server connects to the DB as far as admin configuration goes..

However, when I ban myself on the webpanel, it does initially kick me, however, I can just double click on the server and reconnect.

If I ban myself in-game, it kicks me and I can't reconnect, but It doesn't show up under bans..
King_kittan is offline
King_kittan
Junior Member
Join Date: Dec 2014
Old 01-20-2015 , 22:11   Re: [CSS] Server is not connecting to Sourcebans Database
Reply With Quote #6

Getting This Error:

[sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
King_kittan 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 08:45.


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