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

Error Connection, HELP pls!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Karotte
Member
Join Date: Feb 2014
Old 04-10-2014 , 09:02   Error Connection, HELP pls!
Reply With Quote #1

Hey guys..i installed Sourcebans on my Webspace

"http://www.encore.storage-plan.org/sourcebans/"

on my Gameserver i installed it too.

database.cfg:

Spoiler

I read, that "host" has to be the IP of my MYSQL, not "localhost". How can i find it?

I am customer of "www.storage-plan.org" with phpMyAdmin.

My problem is, on sourcebans, there is "Error Connecting".

Last edited by Karotte; 04-10-2014 at 09:03.
Karotte is offline
Donski
Senior Member
Join Date: Sep 2012
Old 04-10-2014 , 11:00   Re: Error Connection, HELP pls!
Reply With Quote #2

If you're referring to the Error Connecting on your website, it has nothing to do with your databases.cfg file.

Just make sure the address is correct so it can query the server properly.

With a little stalking, found out that your server runs on 27105, but the one on your Sourcebans say 27015 (default). Try changing that.
Donski is offline
Karotte
Member
Join Date: Feb 2014
Old 04-10-2014 , 14:08   Re: Error Connection, HELP pls!
Reply With Quote #3

okey haha... yea i changed it, but still Error message :/

but could you tell me, how i can find the "host" for my database.cfg?

BTW: i am using sourcebans 1.5 and 1.4.11 on website, is that ok ?

Last edited by Karotte; 04-10-2014 at 14:10.
Karotte is offline
Karotte
Member
Join Date: Feb 2014
Old 04-12-2014 , 09:49   Re: Error Connection, HELP pls!
Reply With Quote #4

EDIT: i removed the Error now.. BUT if i ban on the server, nothing happens on the Website and if i add a ban on sourcebans, im not banned on the server... whats wrong?

Database.cfg
Spoiler

My Webspace-Host said "84.201.35.94" is the IP from webspace, is that the "host" in database?
And why is that port 3306?

Last edited by Karotte; 04-12-2014 at 09:50.
Karotte is offline
que
SourceMod Donor
Join Date: Jan 2014
Location: Poland
Old 04-12-2014 , 18:32   Re: Error Connection, HELP pls!
Reply With Quote #5

SAME PROBLEM HERE
que is offline
sixten_8_9@
Senior Member
Join Date: Jun 2009
Location: Sweden
Old 04-12-2014 , 19:37   Re: Error Connection, HELP pls!
Reply With Quote #6

Mysql install correct in database??
check server log for connect/error mysql!!

all correct?

then add correct id
in sourcebans.cfg exempel picture here were u found id on website

__________________
My Nick name is Nouton^
i have played cs for around 12years+
have build servers for about 12years
my website and my servers are: http://Nouton.se

i host at home did build my own server station for around 1300$.

Last edited by sixten_8_9@; 04-12-2014 at 19:40.
sixten_8_9@ is offline
Karotte
Member
Join Date: Feb 2014
Old 04-12-2014 , 21:04   Re: Error Connection, HELP pls!
Reply With Quote #7

I dont know how to install mysql with sourcebans... my webspace with sourcebans ip is 84.201.35.94.
I dont know how to configurate my database.cfg ...

Database.cfg:
Spoiler

sourcebans.cfg (in configs/ and configs/sourcebans/ because i dont know where to put in):
Spoiler

sourcebans.log:
Spoiler

Please Help

Last edited by Karotte; 04-13-2014 at 06:41.
Karotte is offline
que
SourceMod Donor
Join Date: Jan 2014
Location: Poland
Old 04-13-2014 , 06:30   Re: Error Connection, HELP pls!
Reply With Quote #8

Quote:
Mysql install correct in database??
check server log for connect/error mysql!!
Where i/we can found this log in which folder?
que is offline
Karotte
Member
Join Date: Feb 2014
Old 04-13-2014 , 06:36   Re: Error Connection, HELP pls!
Reply With Quote #9

Quote:
Originally Posted by que View Post
Where i/we can found this log in which folder?
you need to create the folder "logs" in addons/sourcemod because it isnt auto created. When you did it you can see logs after restart
Karotte is offline
que
SourceMod Donor
Join Date: Jan 2014
Location: Poland
Old 04-13-2014 , 07:10   Re: Error Connection, HELP pls!
Reply With Quote #10

@Karotte
Thanks for that.
I repaired my Web SourceBans (Last added bans)
If youre using DirectAdmin (at your website) you need to go there:
YourDomain / MySQL Management / DataBase Name / Access from Hosts and add " % "

Good Luck!
que 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 20:40.


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