Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

TetrisX

Użytkownik
  • Postów

    62
  • Dołączył

  • Ostatnia wizyta

Odpowiedzi opublikowane przez TetrisX

  1. Przed chwilą, moonster napisał:

    Localhost jest jak sama nazwa mówi lokalnym hostem czyli umiejscowionym w tym samym miejscu.

    Jaki jest host twojego vpsa czy tez hostingu na minthost(znajdziesz w Panelu Administracyjnym).

    Host tzn to ip, którym wbija się na serwer ?  185.38.249.16:28085

  2. 2 minuty temu, tellek napisał:

    Mówisz, że masz serwer jak i sb ulokowane na vpsie.. termianl albo masz w panelu hostingu albo logujesz się do niego przez putty na roota

    Nie, mówię, że sb mam na tej samej bazie mysql co forum, nie mam terminalu, mam tylko dostęp do ftp

  3. Przed chwilą, moonster napisał:

    Na www Source Bans jest zakładka "server" pokaż co ci generuje link do wklejenia na serwerze.

    Serwer gry masz też na minthost ?

    Serwer gry mam od multigamers.pl

     

    "Databases"
    {
        "driver_default"        "mysql"
        
        "sourcebans"
        {
            "driver"            "mysql"
            "host"                "localhost"
            "database"            "csvacxxx_forum"
            "user"                "csvacxxx_forum"
            "pass"                "xxxxxx"
            //"timeout"            "0"
            "port"            "3306"
        }
        
        "storage-local"
        {
            "driver"            "sqlite"
            "database"            "sourcemod-local"
        }
    }
     

  4. 4 minuty temu, moonster napisał:

    Serwer nie łączy ci się z bazą danych, przyczyn może być kilka:

    1. Nieprawidłowe dane podane w pliku database.cfg.

    2. Zablokowane połączenia przychodzące do serwera www (zapytaj o to support mięty).

     

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

    Mam to w tej samej bazie co forum i mam % w dostępie z hostów. Co do serwera www to czekam na odpowiedź.

  5. Przed chwilą, moonster napisał:

    Na jakim hostingu masz zainstalowane Source Bans ?

    Jakieś błędy w logach(jeśli są to w addons/sourcemod/logs powinien ci się utworzyć takowy) ?

    Na mintshost, a tutaj wszystko z logów:

     

    L 12/15/2015 - 19:22:30: [sourcebans.smx] plugins/basebans.smx was unloaded and moved to plugins/disabled/basebans.smx
    L 12/15/2015 - 20:26:15: [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 12/15/2015 - 20:26:30: [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 12/15/2015 - 20:26:55: [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 12/15/2015 - 20:27:10: [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 12/15/2015 - 20:27:29: [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 12/15/2015 - 20:28:20: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 20:29:48: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 20:30:23: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 21:01:42: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 21:06:23: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 22:00:47: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 22:14:18: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 22:14:50: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 22:16:10: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 22:16:19: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 22:33:09: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 22:33:31: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 22:36:22: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 22:36:33: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 22:49:05: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/15/2015 - 22:49:10: [sourcebans.smx] Database failure: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111. See FAQ: http://www.sourcebans.net/node/20
    L 12/16/2015 - 15:12:01: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: SourceBans FAQ
    L 12/16/2015 - 15:12:04: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: SourceBans FAQ
    L 12/16/2015 - 15:12:10: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: SourceBans FAQ
    L 12/16/2015 - 15:12:13: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: SourceBans FAQ
    L 12/16/2015 - 15:12:31: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: SourceBans FAQ
     

  6. Oto mój plik databases.cfg:

     

    "Databases"
    {
        "driver_default"        "mysql"
        
        // When specifying "host", you may use an IP address, a hostname, or a socket file path
        
        "default"
        {
            "driver"            "default"
            "host"                "localhost"
            "database"            "sourcemod"
            "user"                "root"
            "pass"                ""
            //"timeout"            "0"
            //"port"            "0"
        }
        
        "storage-local"
        {
            "driver"            "sqlite"
            "database"            "sourcemod-local"
        }

        "clientprefs"
        {
            "driver"            "sqlite"
            "host"                "localhost"
            "database"            "clientprefs-sqlite"
            "user"                "root"
            "pass"                ""
            //"timeout"            "0"
            //"port"            "0"
        }
        
        "sourcebans"
        {
            "driver"            "mysql"
            "host"                "xxx.xx.xxx.xx"
            "database"            "csxxxxxx_forum"
            "user"                "csxxxxxx_forum"
            "pass"                "mojetajnehaslo"
    }

     

    Wiesz może co zrobiłem źle i jak to naprawić?

×
×
  • Dodaj nową pozycję...