Page 1 of 1

Login problem.

Posted: Mon Nov 28, 2011 10:43 pm
by DareStrike
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 5097:
L2JDP Revision 8578:

CentOS Linux 5.7

what this error :S

Code: Select all

 loading login configL2Properties: Missing property for key - DatapackRootLoading mmo.propertiesMLog 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 [ acquireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnClose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1gb9kk58j1tmtrqamtvj4k|1248513, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1gb9kk58j1tmtrqamtvj4k|1248513, idleConnectionTestPeriod -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost/l2jls, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 10, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, statementDestroyerNumActiveThreads -> -1, statementDestroyerNumConnectionsInUseAllUsers -> -1, statementDestroyerNumConnectionsInUseDefaultUser -> -1, statementDestroyerNumConnectionsWithDeferredDestroyStatementsAllUsers -> -1, statementDestroyerNumConnectionsWithDeferredDestroyStatementsDefaultUser -> -1, statementDestroyerNumDeferredDestroyStatementsAllUsers -> -1, statementDestroyerNumDeferredDestroyStatementsDefaultUser -> -1, statementDestroyerNumIdleThreads -> -1, statementDestroyerNumTasksPending -> -1, statementDestroyerNumThreads -> -1, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]Loading LoginController...Cached 10 KeyPairs for RSA communicationStored 20 keys for Blowfish communicationLoaded 127 server namesLoaded 1 registered Game ServersCached 10 RSA keys for Game Server communication.Loaded 2 IP Bans.FATAL: Failed to start the Game Server Listener. Reason: Address already in usejava.net.BindException: Address already in use    at java.net.PlainSocketImpl.socketBind(Native Method)    at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:374)    at java.net.ServerSocket.bind(ServerSocket.java:376)    at java.net.ServerSocket.<init>(ServerSocket.java:237)    at java.net.ServerSocket.<init>(ServerSocket.java:128)    at com.l2jserver.loginserver.FloodProtectedListener.<init>(FloodProtectedListener.java:48)    at com.l2jserver.loginserver.GameServerListener.<init>(GameServerListener.java:37)    at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:186)    at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:60)  

Re: Login problem.

Posted: Mon Nov 28, 2011 11:06 pm
by MELERIX
show your configs (where is related to ip settings).

Re: Login problem.

Posted: Mon Nov 28, 2011 11:29 pm
by DareStrike
look config

Code: Select all

 <?xml version="1.0" encoding="UTF-8"?><!-- Externalhost here (Internet IP) or Localhost IP for local test --><gameserver address="no-ip" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">    <!-- Localhost here -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- Internalhosts here (LANs IPs) -->    <define subnet="10.0.0.0/8" address="10.0.0.0" />    <define subnet="172.16.0.0/19" address="172.16.0.0" />    <define subnet="192.168.0.0/16" address="192.168.0.0" /></gameserver> 
gameserver

Code: Select all

 # Where's the Login server this gameserver should connect to# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u># WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u># Default: 127.0.0.1LoginHost = 127.0.0.1 # TCP port the login server listen to for gameserver connection requests# Default: 9014LoginPort = 9014 # Bind address for gameserver. You should not need to change it in most cases.# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u># WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u># Default: * (0.0.0.0)GameserverHostname = * # Default: 7777GameserverPort = 7777  
login

Code: Select all

  # Bind ip of the LoginServer, use * to bind on all available IPs# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u># WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u># Default: * (0.0.0.0)LoginserverHostname = * # Default: 2106LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u># WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u># Default: * (0.0.0.0)LoginHostname = * # The port on which login will listen for GameServers# Default: 9014LoginPort = 9014  

Re: Login problem.

Posted: Mon Nov 28, 2011 11:36 pm
by nonom
FATAL: Failed to start the Game Server Listener. Reason: Address already in use
java.net.BindException: Address already in use
Probaly you have another loginserver instance running at same time

ps aux | grep "Login"
kill -9 <id>

Re: Login problem.

Posted: Tue Nov 29, 2011 12:07 am
by UnAfraid

Code: Select all

lsof -SPn|grep "LISTEN"

Re: Login problem.

Posted: Tue Nov 29, 2011 12:33 am
by DareStrike
Ths :)
problem fix locked