Jump to content
  • 0

Error On Ubuntu


Question

Posted

hey guys i got a dedicated server a couple hours ago after i finish the whole installation (mysql, jdk 7, apache, phpmyadmin) etc i could make to install the db but im getting this wierd error can someone helpme with it? :D

 

 

loading login config

L2Properties: Missing property for key - DatapackRoot

Loading mmo.properties

MLog clients using java 1.4+ standard logging.

Initializing c3p0-0.9.2-pre1 [built 27-May-2010 01:00:49 -0400; debug? true; trace: 10]

Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ java.beans.IntrospectionException: java.lang.reflect.InvocationTargetException [numThreadsAwaitingCheckoutDefaultUser] ]

FATAL: Failed initializing database. Reason: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
   at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
   at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
   at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:344)
   at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2332)
   at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
   at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
   at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)
   at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
   at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
   at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
   at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
   at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:119)
   at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:143)
   at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:132)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAutomaticTestTable(C3P0PooledConnectionPoolManager.java:866)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooledConnectionPool(C3P0PooledConnectionPoolManager.java:789)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:298)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:312)
   at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
   at com.l2jserver.L2DatabaseFactory.<init>(L2DatabaseFactory.java:95)
   at com.l2jserver.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:202)
   at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:113)
   at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:60)
Caused by: java.net.ConnectException: Conexión rehusada
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:337)
   at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)
   at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
   at java.net.Socket.connect(Socket.java:579)
   at java.net.Socket.connect(Socket.java:528)
   at java.net.Socket.<init>(Socket.java:425)
   at java.net.Socket.<init>(Socket.java:241)
   at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)
   at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:294)
   ... 24 more

3 answers to this question

Recommended Posts

  • 0
Posted

yes i try to do it like you put it on your guide but it gave me this error so i just install each thing without lamp and it works just fine now thanks for your guide :D

 

gracias bigboss :D

Guest
This topic is now closed to further replies.
×
×
  • Create New...