Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie
CS:GO

Error connecting - SourceBans 1.4.10Brak połączenia z serwerem

cs:go

  • Zamknięty Temat jest zamknięty
2 odpowiedzi w tym temacie

#1 polanek

    Życzliwy

  • Zbanowany

Reputacja: 1
Nowy

  • Postów:25
  • Imię:Dawid
  • Lokalizacja:Tczew
Offline

Napisano 15.01.2014 03:07

Witajcie od razu przejdę do rzeczy

 

logi od sourcebansa

 

L 01/14/2014 - 18:00:51: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20
L 01/14/2014 - 19:24:26: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20
L 01/14/2014 - 20:07:54: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20

błedy w logach:

 

L 01/14/2014 - 13:10:27: SourceMod error session started
L 01/14/2014 - 13:10:27: Info (map "de_dust2") (file "errors_20140114.log")
L 01/14/2014 - 13:10:27: [sourcebans.smx] Could not connect to the database. ([2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))
L 01/14/2014 - 13:10:32: [sourcebans.smx] Could not connect to the database. ([2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))
L 01/14/2014 - 13:10:38: [sourcebans.smx] Could not connect to the database. ([2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))
L 01/14/2014 - 13:10:38: [sourcebans.smx] Could not connect to the database. ([2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))
L 01/14/2014 - 13:10:38: [sourcebans.smx] Could not connect to the database. ([2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))
L 01/14/2014 - 13:10:38: [sourcebans.smx] Could not connect to the database. ([2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))
L 01/14/2014 - 13:10:38: [sourcebans.smx] Could not connect to the database. ([2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))
L 01/14/2014 - 13:10:38: [sourcebans.smx] Could not connect to the database. ([2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2))
L 01/14/2014 - 20:08:56: SourceMod error session started
L 01/14/2014 - 20:08:56: Info (map "de_dust2") (file "errors_20140114.log")
L 01/14/2014 - 20:08:56: [SM] Native "BanClient" reported: Cannot ban fake client 2
L 01/14/2014 - 20:08:56: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 01/14/2014 - 20:08:56: [SM]   [0]  Line 2412, D:\scripting\sourcebans.sp::PrepareBan()
L 01/14/2014 - 20:08:56: [SM]   [1]  Line 792, D:\scripting\sourcebans.sp::HackingSelected()

Plik databases.cfg

 

"Databases"
{
"driver_default" "mysql"


"sourcebans"
{
        "driver"       "mysql"
        "host"         "localhost"
        "database"     "lolchamp_sbans"
        "user"         "lolchamp_sbans"
        "pass"         "mojeultrahaslo"
        //"timeout"    "0"
        "port"         "3306"
}

"storage-local"
{
        "driver" "sqlite"
        "database" "sourcemod-local"
}

}

Oraz plik sourcebans.cfg

/**
* sourcebans.cfg
*
* This file contains settings for the SourceBans Source Server Plugin
* @author SteamFriends Development Team
* @version 0.0.0.$Rev: 74 $
* @copyright SteamFriends (www.steamfriends.com)
* @package SourceBans
*/

"SourceBans"
{
	"Config"
	{
		// Website address to tell where the player to go for unban, etc
		"Website"			"http://www.SerweryCS.eu"

		// Allow or disallow admins access to addban command
		"Addban"			"1"

		// Allow or disallow admins access to unban command
		"Unban"				"1"
        
        // The Tableprefix you set while installing the webpanel. (default: "sb")
		"DatabasePrefix"	"sbbany"

		// How many seconds to wait before retrying when a players ban fails to be checked. Min = 15.0 Max = 60.0
		"RetryTime"			"45.0"
		
		// How often should we process the failed ban queue in minutes
		"ProcessQueueTime"	"5"

		// Should the plugin automaticaly add the server to sourcebans 
		// (servers without -ip being set on startup need this set to 0)
		"AutoAddServer"		"0"

		// Enable backing up config files after getting admins from database (1 = enabled, 0 = disabled)
		"BackupConfigs"	"1"

		// Enable admin part of the plugin (1 = enabled, 0 = disabled)
		"EnableAdmins"	"1"
        
		// Require the admin to login once into website
		"RequireSiteLogin"	"0"

		// This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
		"31.186.83.68:28105"		"-1"
	}

	/*
	 * Generic menu options for if a reason isn't supplied in a ban
	 * Without a supplied reason the ban will never be written to the database
	 */
	"BanReasons"
	{
		"Hacking"	"Hacking"
		"Exploit"	"General Exploit of Game/Map/Server"
		"TK"	"Team Killing"
		"TF"	"Team Flashing"
		"CommSpam"	"Spamming Mic/Chat"
		"BadSpray"	"Inappropriate Spray"
		"BadLang"	"Inappropriate Language"
		"BadName"	"Inappropriate Name"
		"IgnoreAdmin"	"Ignoring Admins"
        "Stacking"	"Team Stacking"
		"Own Reason"	"Own Reason"
	}
	
	/*
	 * Submenu options for when "Hacking" is selected
	 * If "Hacking" is removed from the menu above this will not be accessable
	 */
	"HackingReasons"
	{
		"Aimbot"	"Aimbot"
		"Antirecoil"	"Anti Recoil"
		"Wallhack"	"Wallhack"
		"Spinhack"	"Spinhack"
		"Speedhack"	"Speedhack"
		"Multi-Hack"	"Multi-Hack"
		"No Smoke"	"No Smoke"
		"No Flash"	"No Flash"
	}
}

adres gdzie znajduje sie strona serwerycs.eu/bany

 
 
Wykonałem tak jak w temacie:
 
Proszę o pomoc!

 

 


Tworzymy serwery cs go dla Ciebie! Sprawdź!


#2 JaBydlak

    Wszechpomocny

  • Użytkownik

Reputacja: 70
Pomocny

  • Postów:332
  • Steam:steam
  • Imię:Michał
  • Lokalizacja:Kraków
Offline

Napisano 15.01.2014 17:22


Can't connect to local MySQL server through socket

I czego tu nie rozumiesz?

Podałeś zły adres do serwera bazy danych


  • +
  • -
  • 0

#3 polanek

    Życzliwy

  • Autor tematu
  • Zbanowany

Reputacja: 1
Nowy

  • Postów:25
  • Imię:Dawid
  • Lokalizacja:Tczew
Offline

Napisano 15.01.2014 19:37

Tak zły adres :facepalm: proszę cie.. problem został już rozwiązany.. 


Tworzymy serwery cs go dla Ciebie! Sprawdź!






Również z jednym lub większą ilością słów kluczowych: cs:go

Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych