Raised This Month: $32 Target: $400
 8% 

Release SourceBans++ (v1.6.4) [Updated: 2021-10-06]


Post New Thread Closed Thread   
 
Thread Tools Display Modes
itzty.
Junior Member
Join Date: Jan 2019
Old 01-20-2019 , 09:35   SourceBans++ Errors
#1331

I gave up some time ago, but I am back in the fight to get sourcebans++ working. Although, the web works fine, the server console isn't. I have searched and searched through topics about both of this problems, but i don't have an /etc directory and other stuff.

Here are the errors from my sourcebans.log:

[sbpp_main.smx] Database failure: Could not find Database conf "sourcebans". See FAQ: https://sbpp.sarabveer.me/faq/ (x3)

[sbpp_main.smx] plugins/basebans.smx was unloaded and moved to plugins/disabled/basebans.smx (x1)

[sbpp_main.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: https://sbpp.sarabveer.me/faq/ (x23)

[sbpp_main.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: https://sbpp.sarabveer.me/faq/ (x2)

And if you ask here is my "sourcebans" in databases.cfg:

"sourcebans"
{
"driver" "default"
"host" "localhost"
"database" "******"
"user" "*******"
"pass" "*******"
//"timeout" "0"
"port" "3306"
}

database user and pass are longer, how they should be, but I censored them

EDIT: I also have this error: [SM] Unable to load plugin "sbpp_main.smx": Native "DataPack.DataPack" was not found

Last edited by itzty.; 01-20-2019 at 09:37.
itzty. is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 01-21-2019 , 01:58   Re: SourceBans++ Errors
#1332

The first error appears to be indicating your database.cfg file is malformed.
__________________
Neuro Toxin is offline
itzty.
Junior Member
Join Date: Jan 2019
Old 01-21-2019 , 12:20   Re: SourceBans++ Errors
#1333

Quote:
Originally Posted by Neuro Toxin View Post
The first error appears to be indicating your database.cfg file is malformed.
And how can I solve it?
itzty. is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 01-22-2019 , 01:11   Re: SourceBans++ Errors
#1334

Quote:
Originally Posted by itzty. View Post
And how can I solve it?

Code:
"Databases"
{
		"driver_default"		"mysql"
	
	// When specifying "host", you may use an IP address, a hostname, or a socket file path
	
		"database name 1"
	{
		"driver"		"default"
		"host"			"123.45.67.910"
		"database"		"db name"
		"user"			"db user"
		"pass"			"password"
		"port"			"3306"
	}

		"database name 2"
	{
		"driver"		"default"
		"host"			"123.45.67.910"
		"database"		"db name"
		"user"			"db user"
		"pass"			"password"
		"port"			"3306"
	}
}
__________________

Last edited by Phaiz; 01-22-2019 at 01:12.
Phaiz is offline
itzty.
Junior Member
Join Date: Jan 2019
Old 01-22-2019 , 09:30   Re: [RELEASE] SourceBans++ (v1.6.3) [Updated: 2018-04-06]
#1335

Ok i solved the one with conf, but i still have those:

[SM] Native "SetFailState" reported: Failed to connect to SourceBans DB, [2002]: Can't connect to local MySQ server through socket '/tmp/mysql.sock' (2)
[SM] Unable to load plugin "sbpp_main.smx": Native "DataPack.DataPack" was not found
itzty. is offline
itzty.
Junior Member
Join Date: Jan 2019
Old 01-26-2019 , 11:06   Re: [RELEASE] SourceBans++ (v1.6.3) [Updated: 2018-04-06]
#1336

Any replies?
itzty. is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-26-2019 , 12:13   Re: [RELEASE] SourceBans++ (v1.6.3) [Updated: 2018-04-06]
#1337

Quote:
Originally Posted by itzty. View Post
[SM] Native "SetFailState" reported: Failed to connect to SourceBans DB, [2002]: Can't connect to local MySQ server through socket '/tmp/mysql.sock' (2)
Use 127.0.0.1 instead of localhost as the host in databases.cfg.

Quote:
Originally Posted by itzty. View Post
[SM] Unable to load plugin "sbpp_main.smx": Native "DataPack.DataPack" was not found
Is your SM up to date?
__________________
asherkin is offline
ConverSiara
Junior Member
Join Date: Sep 2013
Old 01-26-2019 , 19:22   Re: [RELEASE] SourceBans++ (v1.6.3) [Updated: 2018-04-06]
#1338

Hello, I have a question.
Im using sourcebans 1.6.3 and i dont have comms list. I dont have an enable option in settings too. So how can I add my comms list?
Thank you.
ConverSiara is offline
BlagoYar
Member
Join Date: Nov 2018
Location: Чер
Old 01-27-2019 , 02:47   Re: [RELEASE] SourceBans++ (v1.6.3) [Updated: 2018-04-06]
#1339

Quote:
Originally Posted by ConverSiara View Post
Hello, I have a question.
Im using sourcebans 1.6.3 and i dont have comms list. I dont have an enable option in settings too. So how can I add my comms list?
Thank you.
Have you logs?
__________________
BlagoYar is offline
itzty.
Junior Member
Join Date: Jan 2019
Old 01-27-2019 , 05:21  
#1340

Quote:
Originally Posted by asherkin View Post
Use 127.0.0.1 instead of localhost as the host in databases.cfg.



Is your SM up to date?
I think yes, my host site adds the addons with sourcemod and metamod automatically.

EDIT: If i use 127.0.0.1 i still get errors and still doesn't work.
EDIT2: 127.0.0.1 : [SM] Native "SetFailState" reported: Failed to connect to SourceBans DB, [2013]: Lost connection to MySQ server at 'reading initial communication packet', system error: 111

UPDATE: My SourceMod version is 1.7.3-dev+5255, maybe this has to do with sourcebans and all that?

Still getting the Native DataPack.DataPack error when SourceMod 1.9 (the latest one) is installed.

Last edited by sneaK; 01-28-2019 at 12:09. Reason: merging 3 separate posts
itzty. is offline
Closed Thread



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 15:55.


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