sourcebans-pp
sourcebans-pp copied to clipboard
Once again Unable to bind admin CONSOLE to identity STEAM_ID_SERVER
I have seen a few threads about it in the past but none of them give the right solution how to get rid of those errors in server logs and sourcebans logs. I thought they will go away after upgrading from sb 1.5.4.7 to sb 1.6.2 but it seems nothing has changed. The errors in sourcebans.log looks:
L 02/15/2018 - 11:48:38: [sbpp_main.smx] Unable to bind admin CONSOLE to identity STEAM_ID_SERVER
and in errors_...log:
L 02/16/2018 - 02:21:19: [sbpp_admcfg.smx] Error(s) Detected Parsing addons/sourcemod/configs/sourcebans/sb_admins.cfg L 02/16/2018 - 02:21:19: [sbpp_admcfg.smx] (line 6) Failed to bind auth "steam" to identity "STEAM_ID_SERVER" L 02/16/2018 - 02:21:19: [sbpp_admcfg.smx] (line 430) Failed to bind auth "steam" to identity "STEAM_ID_SERVER" L 02/16/2018 - 02:31:51: [sbpp_admcfg.smx] Error(s) Detected Parsing addons/sourcemod/configs/sourcebans/sb_admins.cfg L 02/16/2018 - 02:31:51: [sbpp_admcfg.smx] (line 6) Failed to bind auth "steam" to identity "STEAM_ID_SERVER" L 02/16/2018 - 02:31:51: [sbpp_admcfg.smx] (line 436) Failed to bind auth "steam" to identity "STEAM_ID_SERVER"
What hapens is it gives me an entry in sb_admins.cfg like this:
"admins" { "CONSOLE" { "auth" "steam" "identity" "STEAM_ID_SERVER" }
Deleting it from sb_admins.cfg didn't work as it comes back every map change or after server is restarted. So i have checked my admins table in database and found that there is an entry there as in this picture
Possible Solution
To get rid of those errors in logs you can just delete that entry in your db but what happens then is that if some player is banned by lets say smac anticheat in sourcebans web page where it says 'baned by console" it will be 'baned by admin deleted' so this approach not quite solves the problem.
Context
I know those errors probably safe to ignore but still would be better to get rid of them. Bare in mind that ServerID's are setup correctly in sourcebans.cfg and everythig works as it shoud be except that annoying spamm in the logs. If anyone finds the solution to this problem I'll appreciate it. Thanks
This error occurs because the plugin loads the "system" entry of the admin.
Check aid value on CONSOLE admin. Value must be 0.
aid value on CONSOLE is 0 , see per this picture. Or this value should be set somewhere else?
The only reason I can think about is that this can be somehow related to server grouping. Because I have four servers connected to sb. One server is tf2 which is in tf2 only group and the rest three servers are csgo who share one mutual csgo group. And my tf2 server is the only one who doesn't have those errors in logs.
Looks I find out how to reproduce this error. It is definitely related to server grouping. For example you create server group X then create server group A and server group B. Add server A and server B to an server group X. Add server A to server group A and add server B to server group B. And this how it starts to throw this error Failed to bind auth "steam" to identity "STEAM_ID_SERVER" Hopefully I explained it clear enough?