Problema start.sh

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Avatar utilizator
xMarius
Nivel 2

Nivel 2
Mesaje: 170
Membru din: 21 Mar 2015, 23:03
Regat: Shinsoo
Aprecieri: 16  
Mulţumiri: 6  
Medalii

Salutare ! Cum pot rezolva asta ?
Apare dupa ce dau sh start.sh

Este facut pe ip meu ..
BAZA DE DATE
Real Server
Log Offmysql_real_connect: Can't connect to local MySQL server through socket '/ tmp/mysql.sock' (2)
failed, retrying in 5 seconds

AUTH
PUBLIC_IP: 192.168.1.0 interface em0
HOSTNAME: randy_auth
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
cannot open direct sql connection to host: localhost user: randy db: common
cannot start server while no common sql connected

GAME99
PUBLIC_IP: 192.168.1.0 interface em0
HOSTNAME: randy_game99
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
cannot open direct sql connection to host: localhost user: randy db: common
cannot start server while no common sql connected
PUBLIC_IP: 192.168.1.0 interface em0
HOSTNAME: randy_auth
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
cannot open direct sql connection to host: localhost user: randy db: common
cannot start server while no common sql connected



mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
failed, retrying in 5 seconds

Ch1 CORE1
PUBLIC_IP: 192.168.1.0 interface em0
HOSTNAME: randy_ch1_core1
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
cannot open direct sql connection to host: localhost user: randy db: common
cannot start server while no common sql connected

Ch1 Core2
PUBLIC_IP: 192.168.1.0 interface em0
HOSTNAME: randy_ch1_core2
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
cannot open direct sql connection to host: localhost user: randy db: common
cannot start server while no common sql connected
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
failed, retrying in 5 seconds^Cmysql_real_connect: Can't connect to local MyS QL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 seconds
root@metin2pvp:/usr/game #
root@metin2pvp:/usr/game # mysql_real_connect: Can't connect to local MySQL serv er through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsSuccess PLAYER
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsSuccess ACCOUNT
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsSuccess COMMON
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsSuccess HOTBACKUP
Avatar utilizator
GameruBandit
Nivel 3

Nivel 3
Mesaje: 353
Membru din: 02 Mai 2016, 23:27
Server: Loading. . .
Regat: Jinno
Aprecieri: 0
Mulţumiri: 15  
 Contact:
Medalii

Trebuie sa intri in /var/db/mysql stergi mysql si dupa ii refaceti setarile!
Imagine
Afișează semnătura
Avatar utilizator
xMarius
Nivel 2

Nivel 2
Mesaje: 170
Membru din: 21 Mar 2015, 23:03
Regat: Shinsoo
Aprecieri: 16  
Mulţumiri: 6  
Medalii

GameruBandit scrie:Trebuie sa intri in /var/db/mysql stergi mysql si dupa ii refaceti setarile!
Am reinstalat mysql si tot asa da..
Avatar utilizator
xMarius
Nivel 2

Nivel 2
Mesaje: 170
Membru din: 21 Mar 2015, 23:03
Regat: Shinsoo
Aprecieri: 16  
Mulţumiri: 6  
Medalii

up
Avatar utilizator
xMarius
Nivel 2

Nivel 2
Mesaje: 170
Membru din: 21 Mar 2015, 23:03
Regat: Shinsoo
Aprecieri: 16  
Mulţumiri: 6  
Medalii

Cineva? :(( de 2 zile imi bat capu sa-l fac
Avatar utilizator
AlexTzutzu
Nivel 10

Nivel 10
Mesaje: 2345
Membru din: 12 Feb 2014, 13:59
Server: Am RENUNTAT
Regat: Jinno
Aprecieri: 18  
Mulţumiri: 91  
 Contact:
Medalii

Sigur o sa ma injure careva dar incerca si ce zic eu,dute in Navicat in DB si in tabelul log dai Empty Table si da un restart la server.
Cumva Mysql ruleaza? si ai dat permisiune 777 la tot folderul mysql ?
Imagine


The quieter you become,the more you are able to hear.
Afișează semnătura
Avatar utilizator
xMarius
Nivel 2

Nivel 2
Mesaje: 170
Membru din: 21 Mar 2015, 23:03
Regat: Shinsoo
Aprecieri: 16  
Mulţumiri: 6  
Medalii

AlexTzutzu scrie:Sigur o sa ma injure careva dar incerca si ce zic eu,dute in Navicat in DB si in tabelul log dai Empty Table si da un restart la server.
Cumva Mysql ruleaza? si ai dat permisiune 777 la tot folderul mysql ?
Nu pot intra in navicat zice ca nu e buna parola ...
Avatar utilizator
AlexTzutzu
Nivel 10

Nivel 10
Mesaje: 2345
Membru din: 12 Feb 2014, 13:59
Server: Am RENUNTAT
Regat: Jinno
Aprecieri: 18  
Mulţumiri: 91  
 Contact:
Medalii

Pai atunci reseteaza parola mysql
Poftim,la mine functioneaza de fiecare data cu acest TuT

Cod: Selectaţi tot

  >>Resetare Parola MySQL<<

1. Oprim serverul mysql

/usr/local/etc/rc.d/mysql-server stop

2. Se porneste serverul mysql fără parola de root 

mysqld_safe --skip-grant-tables &

3. Ne conectăm ca si root la serverul mysql 

mysql -u root

4. Rulăm următoarele comenzi, care vor reseta parola de root: 

use mysql;

update user set password=PASSWORD("PAROLA_NOUA") where User='root';

flush privileges;

quit

5. Oprim serverul mysql: 

/usr/local/etc/rc.d/mysql-server stop

6. Îl pornim normal: 

/usr/local/etc/rc.d/mysql-server start

7. Dăm un reboot la server prin comanda "reboot" si asta a fost tot.
Imagine


The quieter you become,the more you are able to hear.
Afișează semnătura
Avatar utilizator
xMarius
Nivel 2

Nivel 2
Mesaje: 170
Membru din: 21 Mar 2015, 23:03
Regat: Shinsoo
Aprecieri: 16  
Mulţumiri: 6  
Medalii

Astea imi apar :((

Copyright @ 2016! Randy Work
1
BAZA DE DATE

AUTH

GAME99

Ch1 CORE1

Ch1 Core2
Real Server
Log Offmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsPUBLIC_IP: 192.168.1.0 interface em0
PUBLIC_IP: 192.168.1.0 interface em0
PUBLIC_IP: 192.168.1.0 interface em0
PUBLIC_IP: 192.168.1.0 interface em0
HOSTNAME: randy_auth
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
cannot open direct sql connection to host: localhost user: randy db: common
cannot start server while no common sql connected
HOSTNAME: randy_game99
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
cannot open direct sql connection to host: localhost user: randy db: common
cannot start server while no common sql connected
HOSTNAME: randy_ch1_core2
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
cannot open direct sql connection to host: localhost user: randy db: common
cannot start server while no common sql connected
HOSTNAME: randy_ch1_core1
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
cannot open direct sql connection to host: localhost user: randy db: common
cannot start server while no common sql connected
Randy Core !
root@metin2pvp:/usr/game # mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsSuccess PLAYER
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsmysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 secondsSuccess ACCOUNT
mysql_real_connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
failed, retrying in 5 seconds
Avatar utilizator
AlexTzutzu
Nivel 10

Nivel 10
Mesaje: 2345
Membru din: 12 Feb 2014, 13:59
Server: Am RENUNTAT
Regat: Jinno
Aprecieri: 18  
Mulţumiri: 91  
 Contact:
Medalii

Deschide si conecteaza-te la server,da restart la putty,Doar de loghezi cu user & parola si urmaresti tut meu postat mai sus.Daca nici asa nu merge o sa te ajut maine cand ajung acasa la PC.
Bafta.

[ Postat de pe Samsung Galaxy Note 3 ] Imagine
Imagine


The quieter you become,the more you are able to hear.
Afișează semnătura
Închis
Răspunsuri
7
Vizualizări
831
Răspunsuri
5
Vizualizări
322
Răspunsuri
4
Vizualizări
280

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 73 vizitatori