Re: Openfire + MySQL + Debian Lenny
Marcelo Terres <[email protected]> Tue, 11 May 2010 23:03:40 -0300
| Newsgroups | gmane.org.user-groups.debian.riograndedosul |
|---|---|
| Message-ID | <[email protected]> |
Me parece que teu mysql ou não está rodando... Ele está no mesmo servidor do Openfire ? Se não, ele não está fazendo bind só no localhost ? []s Marcelo H. Terres [email protected] **************************************** ICQ: 6649932 MSN: [email protected] Jabber: mhterres-/[email protected] http://twitter.com/mhterres http://identi.ca/mhterres **************************************** http://mundoopensource.blogspot.com/ http://www.propus.com.br 2010/5/11 Diego Vaz <[email protected]> > Pessoal, boa noite a todos. > Hoje pela manhã instalei o Openfire 3.6.4, MySQL em um servidor Debian > Lenny, seguindo este tutorial: > http://www.vivaolinux.com.br/artigo/Servidor-Jabber-com-Openfire-+-MySQL-+-Debian-Lenny?pagina=1porém, não funcionou, conseguí logar no console de configuração do Openfire > ( http://ip_servidor:9090 ), escolhí a opção de usar um banco de dados > externo, como é descrito no tutorial, mas o Openfire emite uma mensagem de > erro de conexão ao banco. > Se algum de vocês já teve alguma experiência bem sucedida com o Postgres e > tem uma documentação legal e que realmente funciona, estou aberto a mudar o > banco, não tem problema. Só preciso fazer isso funcionar. > > Segue a mensagem de erro: > > A connection to the database could not be made. View the error message by > opening the "/logs/error.log" log file, then go back to fix the problem. > > Aqui abaixo vou colocar a mensagem de erro que apurei no log do Openfire: > java.net.ConnectException > MESSAGE: Connection refused > > STACKTRACE: > > java.net.ConnectException: Connection refused > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) > at java.net.Socket.connect(Socket.java:519) > at java.net.Socket.connect(Socket.java:469) > at java.net.Socket.<init>(Socket.java:366) > at java.net.Socket.<init>(Socket.java:209) > at > com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256) > at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271) > at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771) > at com.mysql.jdbc.Connection.<init>(Connection.java:1555) > at > com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285) > at java.sql.DriverManager.getConnection(DriverManager.java:582) > at java.sql.DriverManager.getConnection(DriverManager.java:154) > 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) > > > ** END NESTED EXCEPTION ** > > > Desde já agradeço, obrigado! > > > -- > Diego Vaz > Linux User nº 41570 > Notebook Linux nº 401703 > http://counter.li.org/ > > _______________________________________________ > Debian-RS mailing list > [email protected] > http://listas.cipsga.org.br/cgi-bin/mailman/listinfo/debian-rs > > _______________________________________________ Debian-RS mailing list [email protected] http://listas.cipsga.org.br/cgi-bin/mailman/listinfo/debian-rs