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

What means with server id on Sourcebans?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
k3rex
Senior Member
Join Date: Aug 2013
Old 07-16-2014 , 22:02   What means with server id on Sourcebans?
Reply With Quote #1

What means with server id on Sourcebans in cfg/sourcecbans/sourcebans.cfg?
And how to see my server id? Can't see on sourcebans, my server is not connecting!

Last edited by k3rex; 07-16-2014 at 22:03.
k3rex is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 07-16-2014 , 22:09   Re: What means with server id on Sourcebans?
Reply With Quote #2

the server id is the id assigned by SB, when you add a new server in your SB panel

and then in your sourcebans.cfg (on your gameserver), you need to specify the server id

this is important so SB knows which server is which


see, here

[img]http://s14.************/mm72vhrtd/awdaw.png[/img]
__________________

Last edited by PresidentEvil; 07-16-2014 at 22:11.
PresidentEvil is offline
k3rex
Senior Member
Join Date: Aug 2013
Old 07-16-2014 , 22:35   Re: What means with server id on Sourcebans?
Reply With Quote #3

Quote:
Originally Posted by PresidentEvil View Post
the server id is the id assigned by SB, when you add a new server in your SB panel

and then in your sourcebans.cfg (on your gameserver), you need to specify the server id

this is important so SB knows which server is which


see, here

[img]http://s14.************/mm72vhrtd/awdaw.png[/img]
Why i get error connection? And its right databases info and everything -.-
and my id has "1" and i writed it in but its not connecting

EDIT: Found the problem. But where to found the MySQL hostname on cPanel?



EDIT: If i use my domain name its came this error -.-

But when i run localhost it workin but then the Sourcebans can't connect?

Last edited by k3rex; 07-16-2014 at 23:13.
k3rex is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 07-16-2014 , 23:50   Re: What means with server id on Sourcebans?
Reply With Quote #4

from what I see, I don't think you installed sourcebans correctly

get that fixed first
__________________
PresidentEvil is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 07-17-2014 , 04:08   Re: What means with server id on Sourcebans?
Reply With Quote #5

Working on localhost and not working on URL is a hint for wrong firewallsettings. Try to google what ports have to be open für Mysql and for Sourcebans in your Firewall.

Just for checking (NOT AS SOLUTION): Try to open all. If it works it has to be the ports ^^
__________________
micazoid is offline
k3rex
Senior Member
Join Date: Aug 2013
Old 07-17-2014 , 09:59   Re: What means with server id on Sourcebans?
Reply With Quote #6

Quote:
Originally Posted by micazoid View Post
Working on localhost and not working on URL is a hint for wrong firewallsettings. Try to google what ports have to be open für Mysql and for Sourcebans in your Firewall.

Just for checking (NOT AS SOLUTION): Try to open all. If it works it has to be the ports ^^
Ok. Its working with localhost and i talked to my webhoster and they said "localhost".
Now i looking in my logs from sourcebans, the logs Said it can't connect to the database "localhost"? Why?
k3rex is offline
k3rex
Senior Member
Join Date: Aug 2013
Old 07-17-2014 , 10:07   Re: What means with server id on Sourcebans?
Reply With Quote #7

The databases.cfg can't connect to localhost? So wich host it gonna be?
k3rex is offline
k3rex
Senior Member
Join Date: Aug 2013
Old 07-17-2014 , 10:18   Re: What means with server id on Sourcebans?
Reply With Quote #8

It cant be localhost. Mysql dont running on the same game server .
k3rex is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 07-17-2014 , 15:10   Re: What means with server id on Sourcebans?
Reply With Quote #9

Quote:
Originally Posted by k3rex View Post
It cant be localhost. Mysql dont running on the same game server .
The IP of wherever MySQL is installed then.
__________________
11530 is offline
k3rex
Senior Member
Join Date: Aug 2013
Old 07-17-2014 , 15:31   Re: What means with server id on Sourcebans?
Reply With Quote #10

Quote:
Originally Posted by 11530 View Post
The IP of wherever MySQL is installed then.
where i found the mysql ip?

Last edited by k3rex; 07-17-2014 at 15:31.
k3rex 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 05:24.


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