[Openfire-br] Serviço caindo - Linux
comandante meo
meo-comandante em hotmail.com
Quarta Outubro 14 09:29:29 BRT 2009
Pode ter acontexido isso sim, imagina que um user crie um registo com milhares de caracteres... se nao tiver segurança contra isso o OF crasha!
Date: Wed, 14 Oct 2009 09:27:29 -0300
From: filipe.c.sanches em gmail.com
To: openfire-br em listas.softwarelivre.org
Subject: Re: [Openfire-br] Serviço caindo - Linux
Como assim?
Um usuário que logou e ferrou é isto?
2009/10/14 Lucio Antoniolo <lucioantoniolo em gmail.com>
Posso estar enganado, mas parece ser uma mensagem de usuário que está dando erro...
Pesquisa nas tabelas do OF se acha algo parecido.
Lucio Antoniolo
www.carasqueacreditam.org
"Eu posso, portanto, eu sou". (Simone Weil)
2009/10/14 Filipe Calandra Sanches <filipe.c.sanches em gmail.com>
Pessoal, dentro do "error.log" está o seguinte:
2009.10.14 09:15:49 [org.jivesoftware.util.log.util.CommonsLogFactory$1.error(CommonsLogFactory.java:92)] Prototype
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '????????????????????????????????' at line 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3277)
at com.mysql.jdbc.Connection.configureClientCharacterSet(Connection.java:2525)
at com.mysql.jdbc.Connection.initializePropsFromServer(Connection.java:4139)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2789)
at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
at java.sql.DriverManager.getConnection(libgcj.so.9)
at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39)
at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)
at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:102)
at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:44)
2009.10.14 09:15:49 [org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectionManager.java:501)]
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '????????????????????????????????' at line 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3277)
at com.mysql.jdbc.Connection.configureClientCharacterSet(Connection.java:2525)
at com.mysql.jdbc.Connection.initializePropsFromServer(Connection.java:4139)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2789)
at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
at java.sql.DriverManager.getConnection(libgcj.so.9)
at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39)
at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)
at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:211)
at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89)
at java.sql.DriverManager.getConnection(libgcj.so.9)
at org.jivesoftware.database.DefaultConnectionProvider.getConnection(DefaultConnectionProvider.java:75)
at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectionManager.java:494)
at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:79)
at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:335)
at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:73)
at org.jivesoftware.util.JiveProperties$JivePropertyHolder.<clinit>(JiveProperties.java:40)
Ai tem mais coisas pro final do arquivo tipo isso:
at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:335)
at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:73)
at org.jivesoftware.util.JiveProperties$JivePropertyHolder.<clinit>(JiveProperties.java:40)
at java.lang.Class.initializeClass(libgcj.so.9)
at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:52)
at org.jivesoftware.util.JiveGlobals.getProperty(JiveGlobals.java:532)
at org.jivesoftware.openfire.XMPPServer.initialize(XMPPServer.java:298)
at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:415)
at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:161)
at java.lang.Class.newInstance(libgcj.so.9)
at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:106)
at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:51)
2009.10.14 09:15:57 [org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:709)] Database could not be accessed
java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '????????????????????????????????' at line 1
at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:124)
at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:698)
at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:427)
at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:161)
at java.lang.Class.newInstance(libgcj.so.9)
at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:106)
at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:51)
2009.10.14 09:15:58 [org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:457)]
java.lang.IllegalArgumentException: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '????????????????????????????????' at line 1
at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:710)
at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:427)
at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:161)
at java.lang.Class.newInstance(libgcj.so.9)
at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:106)
at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:51)
Caused by: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '????????????????????????????????' at line 1
at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:124)
at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:698)
...5 more
Parece que tem um monte de ???????????????? em alguma linha
é isso que ele quer dizer????
2009/10/14 Filipe Calandra Sanches <filipe.c.sanches em gmail.com>
descobri aonde ficam, eu posso excluir os arquivos de logs para gerar outros arquivos?
2009/10/14 Filipe Calandra Sanches <filipe.c.sanches em gmail.com>
Aonde fica os logs?
2009/10/14 Lucio Antoniolo <lucioantoniolo em gmail.com>
Faz o seguinte:
1. limpa os logs
2. reinicia o serviço
3. manda o log para nós depois que der erro
Talvez possamos ver algum problema.
Lucio Antoniolo
www.carasqueacreditam.org
"Eu posso, portanto, eu sou". (Simone Weil)
2009/10/14 Filipe Calandra Sanches <filipe.c.sanches em gmail.com>
não consiguo entrar no console do openfire
tipo
o mysql ta rodando perfeitinho
as tabelas estao todas ok
o apache tb ta rodando ok
subo o serviço
fica 10 segundos no ar e cai o serviço
n consiguo acessar o spark nem o console
2009/10/14 comandante meo <meo-comandante em hotmail.com>
Mas consegue entrar na consola de admin?
Ja limpou o cache do java...
Ja tentou limpar os chaces na consola?
.... tente isso...
Date: Wed, 14 Oct 2009 08:49:57 -0300
From: filipe.c.sanches em gmail.com
To: openfire-br em listas.softwarelivre.org
Subject: Re: [Openfire-br] Serviço caindo - Linux
O problema é que dentro do mysql tenho mais 4 bd's.
Dei um mysqlcheck -r no banco de dados do openfire e ele consta que as tabelas estão ok =/
Só que o serviço continua caindo
2009/10/14 comandante meo <meo-comandante em hotmail.com>
Desculpe a demora, eu fiz o seguinte quando me aconteceu, tirei a tabela dos users, conversas, e algumas coisas mais com transportes, vcards etc e instalei um novo OF e uma nova bd quando vi que estava tudo normal apaguei a outra bd e o of...
Percebe?...
tabelas de:
para usuários:
ofGroupUser
ofUser
ofPrivacyList
ofPubsubAffiliation
ofVcard
para conversas:
ofMessageArchive
ofConversation
ofConParticipant
Date: Wed, 14 Oct 2009 08:17:34 -0300
From: filipe.c.sanches em gmail.com
To: openfire-br em listas.softwarelivre.org
Subject: Re: [Openfire-br] Serviço caindo - Linux
então
é um banco de dados mysql
nele tem o banco do openfire e do glpi
como faria para corrigir?
2009/10/14 comandante meo <meo-comandante em hotmail.com>
erro da BD.... corriga a mesma... se fox externa maravilha caso contrario é um trabalho dificil...
Date: Wed, 14 Oct 2009 08:11:44 -0300
From: filipe.c.sanches em gmail.com
To: openfire-br em listas.softwarelivre.org
Subject: [Openfire-br] Serviço caindo - Linux
Bom dia Pessoal,
Durante a noite tivemos problemas no servidor do OpenFire, o no-break acabou descarregando a bateria e desligou o sever que é um OpenSuse 11.
Iniciando novamente a máquina, os serviços subiram normalmente, inclusive o do OpenFire.
Porém quando vou logar com o admin ele diz que a senha esta errada.
Então paro o serviço e subo de novo, e aí o serviço fica caindo.
Ele sobe, roda por alguns segundos e cai.
Alguem tem alguma dica para me passar?
Grato,
Filipe
Mantenha os seus amigos actualizados - mesmo quando não tem sessão iniciada.
_______________________________________________
Openfire-br mailing list
Openfire-br em listas.softwarelivre.org
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
Wiki: http://openfire.opentecnologia.com
Visite também o canal #openfire-br na rede IRC Freenode (irc.freenode.net)
Para sair da lista ou mudar suas opções acesse http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
Windows Live: Os seus amigos obtêm as actualizações do Flickr, LinkedIn e Digg quando lhe enviam mensagens de correio electrónico.
_______________________________________________
Openfire-br mailing list
Openfire-br em listas.softwarelivre.org
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
Wiki: http://openfire.opentecnologia.com
Visite também o canal #openfire-br na rede IRC Freenode (irc.freenode.net)
Para sair da lista ou mudar suas opções acesse http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
Windows Live: Deixe que os seus amigos vejam facilmente com as suas novidades no Facebook.
_______________________________________________
Openfire-br mailing list
Openfire-br em listas.softwarelivre.org
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
Wiki: http://openfire.opentecnologia.com
Visite também o canal #openfire-br na rede IRC Freenode (irc.freenode.net)
Para sair da lista ou mudar suas opções acesse http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
_______________________________________________
Openfire-br mailing list
Openfire-br em listas.softwarelivre.org
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
Wiki: http://openfire.opentecnologia.com
Visite também o canal #openfire-br na rede IRC Freenode (irc.freenode.net)
Para sair da lista ou mudar suas opções acesse http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
_______________________________________________
Openfire-br mailing list
Openfire-br em listas.softwarelivre.org
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
Wiki: http://openfire.opentecnologia.com
Visite também o canal #openfire-br na rede IRC Freenode (irc.freenode.net)
Para sair da lista ou mudar suas opções acesse http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
_______________________________________________
Openfire-br mailing list
Openfire-br em listas.softwarelivre.org
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
Wiki: http://openfire.opentecnologia.com
Visite também o canal #openfire-br na rede IRC Freenode (irc.freenode.net)
Para sair da lista ou mudar suas opções acesse http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
_______________________________________________
Openfire-br mailing list
Openfire-br em listas.softwarelivre.org
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
Wiki: http://openfire.opentecnologia.com
Visite também o canal #openfire-br na rede IRC Freenode (irc.freenode.net)
Para sair da lista ou mudar suas opções acesse http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
_________________________________________________________________
Obtenha 30 Emoticons grátis para o seu Windows Live Messenger
http://www.livemessenger-emoticons.com/funfamily/pt-pt/
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.softwarelivre.org/pipermail/openfire-br/attachments/20091014/fb64fc0c/attachment-0001.htm>
More information about the Openfire-br
mailing list