Erro no MYSQL

MyTrill
em Websites
  • 1
  • 2

MyTrill

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 19/04/13Posts: 33

Não sei se estar na area correta, se não tiver movam plx.

 

Meu servidor já tem 1 mês online e nunca deu nenhum problema. Hoje estava funcionando em perfeito estado depois ficou off de uma hora pra outra e o site tabém, quando fui olhar no SSH tava dando este erro.

 

Me ajudem por favor.

 

Imagem

 

 

[23:32:28.999] > Loading time: 63.572 seconds.

[23:32:36.811] [Error - LuaInterface::loadFile] cannot open data/npc/scripts/Seymour.lua: No such file or directory

[23:32:36.811] [Warning - NpcEvents::NpcEvents] Cannot load script: data/npc/scripts/Seymour.lua

[23:32:36.811] cannot open data/npc/scripts/Seymour.lua: No such file or directory

[23:32:36.827] [Error - LuaInterface::loadFile] cannot open data/npc/scripts/Tom.lua: No such file or directory

[23:32:36.827] [Warning - NpcEvents::NpcEvents] Cannot load script: data/npc/scripts/Tom.lua

[23:32:36.827] cannot open data/npc/scripts/Tom.lua: No such file or directory

[23:32:39.090] [Warning - Houses::loadFromXml] House entry not set for: Thais # Custom House # (2385)

[23:32:39.091] > Parsing time: 10.092 seconds.

[23:33:03.322] > Synchronization time: 24.23 seconds.

[23:33:03.830] > Unserialization time: 0.508 seconds.

[23:33:04.032] >> Checking world type... Open PvP

[23:33:04.032] >> Starting to dominate the world... done.

[23:33:04.032] >> Initializing game state and binding services...

[23:33:35.056] mysql_real_query(): SELECT *, SUBSTRING(CONVERT(attributes USING latin1) FROM 18) AS 'track' FROM player_items WHERE SUBSTRING(CONVERT(attributes USING latin1) FROM 18) IN (SELECT SUBSTRING(CONVERT(attributes USING latin1) FROM 18) FROM player_items WHERE CONVERT(attributes USING latin1) LIKE '%serial%' GROUP BY SUBSTRING(CONVERT(attributes USING latin1) FROM 18) HAVING COUNT(*) > 1) - MYSQL ERROR: Lost connection to MySQL server during query (2013)

[23:33:35.056] > WARNING: MYSQL Lost connection, attempting to reconnect...

[23:34:06.507] mysql_real_query(): SELECT *, SUBSTRING(CONVERT(attributes USING latin1) FROM 18) AS 'track' FROM player_depotitems WHERE SUBSTRING(CONVERT(attributes USING latin1) FROM 18) IN (SELECT SUBSTRING(CONVERT(attributes USING latin1) FROM 18) FROM player_depotitems WHERE CONVERT(attributes USING latin1) LIKE '%serial%' GROUP BY SUBSTRING(CONVERT(attributes USING latin1) FROM 18) HAVING COUNT(*) > 1) - MYSQL ERROR: Lost connection to MySQL server during query (2013)

[23:34:06.579] > WARNING: MYSQL Lost connection, attempting to reconnect...

[23:34:36.637] mysql_real_query(): SELECT *, SUBSTRING(CONVERT(attributes USING latin1) FROM 18) AS 'track' FROM player_items WHERE SUBSTRING(CONVERT(attributes USING latin1) FROM 18) IN (SELECT SUBSTRING(CONVERT(attributes USING latin1) FROM 18) FROM player_depotitems WHERE CONVERT(attributes USING latin1) LIKE '%serial%' GROUP BY SUBSTRING(CONVERT(attributes USING latin1) FROM 18) HAVING COUNT(*) > 0) - MYSQL ERROR: Lost connection to MySQL server during query (2013)

[23:34:36.649] > WARNING: MYSQL Lost connection, attempting to reconnect...

[23:35:06.866] mysql_real_query(): SELECT *, SUBSTRING(CONVERT(attributes USING latin1) FROM 18) AS 'track' FROM player_items WHERE SUBSTRING(CONVERT(attributes USING latin1) FROM 18) IN (SELECT SUBSTRING(CONVERT(attributes USING latin1) FROM 18) FROM tile_items WHERE CONVERT(attributes USING latin1) LIKE '%serial%' GROUP BY SUBSTRING(CONVERT(attributes USING latin1) FROM 18) HAVING COUNT(*) > 0) - MYSQL ERROR: Lost connection to MySQL server during query (2013)

[23:35:06.866] > WARNING: MYSQL Lost connection, attempting to reconnect...

[23:35:37.326] mysql_real_query(): SELECT *, SUBSTRING(CONVERT(attributes USING latin1) FROM 18) AS 'track' FROM player_depotitems WHERE SUBSTRING(CONVERT(attributes USING latin1) FROM 18) IN (SELECT SUBSTRING(CONVERT(attributes USING latin1) FROM 18) FROM tile_items WHERE CONVERT(attributes USING latin1) LIKE '%serial%' GROUP BY SUBSTRING(CONVERT(attributes USING latin1) FROM 18) HAVING COUNT(*) > 0) - MYSQL ERROR: Lost connection to MySQL server during query (2013)

[23:35:37.TMI] >> Item Tracker: 0 duplicated items have been deleted...

[23:35:37.510] > WARNING: MYSQL Lost connection, attempting to reconnect...

 

 

 

Alexclusive

Um bom Veterano...
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 25/10/12Posts: 2399Gênero: MasculinoChar no Tibia: Nuncative

Tente substituir o arquivo data/npc/scripts/Seymour.lua, ele pode ter sido danificado.

 

CURTA O FACEBOOK DO Ekz.

graphic_design.png  Seja um incentivador de pessoas. O mundo já tem críticos demais.  hardware_19.png

 

 

 

MyTrill

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 19/04/13Posts: 33

Não é bem isso, o site do meu ot não abre, o PHPMYADMIN não abre, webadmin não abre..

 

Executei o Mysqlthunder.pl e deu isso, mais não sei como resolver.

 

 

 

-------- Storage Engine Statistics -------------------------------------------

[--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster

[--] Data in MyISAM tables: 34K (Tables: 14)

[--] Data in InnoDB tables: 9M (Tables: 36)

[!!] Total fragmented tables: 36

 

 

Alexclusive

Um bom Veterano...
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 25/10/12Posts: 2399Gênero: MasculinoChar no Tibia: Nuncative

Qual versão do Xampp você usa?

 

CURTA O FACEBOOK DO Ekz.

graphic_design.png  Seja um incentivador de pessoas. O mundo já tem críticos demais.  hardware_19.png

 

 

 

MyTrill

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 19/04/13Posts: 33

Não uso Xampp, é linux, (apache)

Alexclusive

Um bom Veterano...
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 25/10/12Posts: 2399Gênero: MasculinoChar no Tibia: Nuncative

Bom, desculpa não poder te ajudar.

Irei mover seu tópico p/ pedidos e duvidas Website.

 

Espero que ache alguém que te ajude happy.png

 

CURTA O FACEBOOK DO Ekz.

graphic_design.png  Seja um incentivador de pessoas. O mundo já tem críticos demais.  hardware_19.png

 

 

 

MyTrill

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 19/04/13Posts: 33

Descobri que isso é um possível erro no sistema anticlone, mais não sei como resolver.

Enself

banido
avatar
Banidos
Banidos

INFOS

Grupo: BanidosRegistrado: 03/06/13Posts: 213

Poste o sistema para tentarmos resolver e após resolvermos voce exclui.

Usuário banido por divulgação indevida.

MyTrill

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 19/04/13Posts: 33

Está ae

 

 

 

tablesToCheck = {"player_items", "player_depotitems"}

 

function onStartup()

local text, final = "", ""

local filex = "data/logs/duplicated.txt"

local f = io.open(filex, "a+")

for i = 1, table.maxn(tablesToCheck) do

local query = db.getResult("SELECT *, SUBSTRING(CONVERT(attributes USING latin1) FROM 18) AS 'track' FROM " .. tablesToCheck .. " WHERE SUBSTRING(CONVERT(attributes USING latin1) FROM 18) IN (SELECT SUBSTRING(CONVERT(attributes USING latin1) FROM 18) FROM " .. tablesToCheck .. " WHERE CONVERT(attributes USING latin1) LIKE '%serial%' GROUP BY SUBSTRING(CONVERT(attributes USING latin1) FROM 18) HAVING COUNT(*) > 1)")

local duplicated = {}

if query:getID() ~= -1 then

while(true) do

text = "[!] -> Deleting item with duplicated serial: [Player: " .. getPlayerNameByGUID(query:getDataInt("player_id")) .. ", Item: " .. query:getDataInt("itemtype") .. ", Count: " .. query:getDataInt("count") .. ", Serial: " .. query:getDataString("track") .."]... "

local delete = db.executeQuery("delete from " .. tablesToCheck .. " where SUBSTRING(CONVERT(attributes USING latin1) FROM 18) = " .. db.escapeString(query:getDataString("track")) .. ";")

if delete then

text = text .. "Success!"

else

text = text .. "Failed!"

end

final = final .. (final ~= "" and "\n" or "") .. text

print(text)

if not query:next() then break end

end

if f ~= nil then

f:write(os.date() .. "\n" .. final .. "\n\n")

f:close()

else

print("[!] -> Cannot save info to file!")

end

else

print("[!] -> Cannot get info, table is empty, there are not items with duplicated serial or you have a problem on the query syntax: " .. tablesToCheck .. ".")

end

end

return true

end

 

 

Enself

banido
avatar
Banidos
Banidos

INFOS

Grupo: BanidosRegistrado: 03/06/13Posts: 213

Qual é o error que ocorre com o sistema de ant clone e qual a versão do ot.

Usuário banido por divulgação indevida.

MyTrill

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 19/04/13Posts: 33

O ot já conseguir por online havia sobrecarregado o banco de dados e como eu usava VPS não dava pra fazer muita coisa, passei para um dedicado e conseguir por online normalmente, mais ainda dá este erro no ServerLog

 

 

 

mysql_real_query(): SELECT *, SUBSTRING(CONVERT(attributes USING latin1) FROM 18) AS 'track' FROM player_items WHERE SUBSTRING(CONVERT(attributes USING latin1) FROM 18) IN (SELECT SUBSTRING(CONVERT(attributes USING latin1) FR OM 18) FROM player_items WHERE CONVERT(attributes USING latin1) LIKE '%serial%' GROUP BY SUBSTRING(CONVERT(attributes USING latin1) FROM 18) HAVING COUNT(*) > 1 ) - MYSQL ERROR: Lost connection to MySQL server during query (2013)

[!] -> Cannot get info, table is empty, there are not items with duplicated seri al or you have a problem on the query syntax: player_items.

[22:46:17.709] > WARNING: MYSQL Lost connection, attempting to reconnect...

[22:46:27.709] mysql_real_query(): SELECT *, SUBSTRING(CONVERT(attributes USING latin1) FROM 18) AS 'track' FROM player_depotitems WHERE SUBSTRING(CONVERT(attri butes USING latin1) FROM 18) IN (SELECT SUBSTRING(CONVERT(attributes USING latin 1) FROM 18) FROM player_depotitems WHERE CONVERT(attributes USING latin1) LIKE ' %serial%' GROUP BY SUBSTRING(CONVERT(attributes USING latin1) FROM 18) HAVING CO UNT(*) > 1) - MYSQL ERROR: Lost connection to MySQL server during query (2013)

[!] -> Cannot get info, table is empty, there are not items with duplicated seri al or you have a problem on the query syntax: player_depotitems.

[22:46:27.709] > WARNING: MYSQL Lost connection, attempting to reconnect...

 

 

Enself

banido
avatar
Banidos
Banidos

INFOS

Grupo: BanidosRegistrado: 03/06/13Posts: 213

O ot já conseguir por online havia sobrecarregado o banco de dados e como eu usava VPS não dava pra fazer muita coisa, passei para um dedicado e conseguir por online normalmente, mais ainda dá este erro no ServerLog

 

 

 

mysql_real_query(): SELECT *, SUBSTRING(CONVERT(attributes USING latin1) FROM 18) AS 'track' FROM player_items WHERE SUBSTRING(CONVERT(attributes USING latin1) FROM 18) IN (SELECT SUBSTRING(CONVERT(attributes USING latin1) FR OM 18) FROM player_items WHERE CONVERT(attributes USING latin1) LIKE '%serial%' GROUP BY SUBSTRING(CONVERT(attributes USING latin1) FROM 18) HAVING COUNT(*) > 1 ) - MYSQL ERROR: Lost connection to MySQL server during query (2013)

[!] -> Cannot get info, table is empty, there are not items with duplicated seri al or you have a problem on the query syntax: player_items.

[22:46:17.709] > WARNING: MYSQL Lost connection, attempting to reconnect...

[22:46:27.709] mysql_real_query(): SELECT *, SUBSTRING(CONVERT(attributes USING latin1) FROM 18) AS 'track' FROM player_depotitems WHERE SUBSTRING(CONVERT(attri butes USING latin1) FROM 18) IN (SELECT SUBSTRING(CONVERT(attributes USING latin 1) FROM 18) FROM player_depotitems WHERE CONVERT(attributes USING latin1) LIKE ' %serial%' GROUP BY SUBSTRING(CONVERT(attributes USING latin1) FROM 18) HAVING CO UNT(*) > 1) - MYSQL ERROR: Lost connection to MySQL server during query (2013)

[!] -> Cannot get info, table is empty, there are not items with duplicated seri al or you have a problem on the query syntax: player_depotitems.

[22:46:27.709] > WARNING: MYSQL Lost connection, attempting to reconnect...

 

 

Cara ja tentou outro sql ? parece que voce fica reconectando no database parece que cai e volta bagulho doido testa otra database nunca vi isso antes.

Usuário banido por divulgação indevida.

Beeki

Ex-Coordenador XDev
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 12/03/11Posts: 1900Gênero: MasculinoChar no Tibia: Nokte

Bom, desculpa não poder te ajudar.

Irei mover seu tópico p/ pedidos e duvidas Website.

 

Espero que ache alguém que te ajude happy.png

 

o que te fez pensar que essa dúvida se encaixaria em tal sessão "website"?, isso é uma dúvida de sistemas operacionais, está bem claro que o problema está na engine/mysql do servidor.

 

Mais atenção aê, vlw.

Fabio Augustus - Infraestrutura

Skype: guhsvasc

Alexclusive

Um bom Veterano...
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 25/10/12Posts: 2399Gênero: MasculinoChar no Tibia: Nuncative

Meu cérebro me fez pensar...O quete fez pensar que pode vim aqui falar pra mim ter mais atenção? Então... rs

E se não percebeu, o usuário começou outra duvida. A primeira era sobre o site.

 

Se está bem claro que o problema está na engine/mysql do servidor, faca algo útil e ajude o membro!

Vlw.

 

CURTA O FACEBOOK DO Ekz.

graphic_design.png  Seja um incentivador de pessoas. O mundo já tem críticos demais.  hardware_19.png

 

 

 

  • 1
  • 2