server.properties
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 = 7778
login. properties
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
ipconfig
Code: Select all
<?xml version="1.0" encoding="UTF-8"?><!-- Externalhost here (Internet IP) or Localhost IP for local test --><gameserver address="46.4.94.147" 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>
ports are not used by any other program checked.
i have this error also
Code: Select all
MLog clients using java 1.4+ standard logging.Failed to get local InetAddress for VMID. This is unlikely to matter. At all. We'll add some extra randomnessjava.net.UnknownHostException: L2NewWorld: L2NewWorld at java.net.InetAddress.getLocalHost(InetAddress.java:1354) at com.mchange.v2.c3p0.impl.C3P0ImplUtils.generateVmId(C3P0ImplUtils.java:120) at com.mchange.v2.c3p0.impl.C3P0ImplUtils.<clinit>(C3P0ImplUtils.java:98) at com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase.<init>(PoolBackedDataSourceBase.java:227) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.<init>(AbstractPoolBackedDataSource.java:62) at com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:109) at com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:105) at com.l2jserver.L2DatabaseFactory.<init>(L2DatabaseFactory.java:57) at com.l2jserver.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:211) at com.l2jserver.gameserver.GameServer.main(GameServer.java:499) 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 -> 1xn6329dvpfikesmc90|603b1d04, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1xn6329dvpfikesmc90|603b1d04, idleConnectionTestPeriod -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://46.4.94.147/l2jdb, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, 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 ]L2J Server Version: ${l2j.revision}L2J Datapack Version: ${l2jdp.revision}Updated characters online status.Cleaned 0 elements from database in 0 sCleaned 0 expired timestamps from database.IDFactory: 102912 id's available.
and this one on login logs
Code: Select all
nice: cannot set niceness: Permission deniedloading login configLoading mmo.propertiesMLog clients using java 1.4+ standard logging.Failed to get local InetAddress for VMID. This is unlikely to matter. At all. We'll add some extra randomnessjava.net.UnknownHostException: L2NewWorld: L2NewWorld at java.net.InetAddress.getLocalHost(InetAddress.java:1354) at com.mchange.v2.c3p0.impl.C3P0ImplUtils.generateVmId(C3P0ImplUtils.java:120) at com.mchange.v2.c3p0.impl.C3P0ImplUtils.<clinit>(C3P0ImplUtils.java:98) at com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase.<init>(PoolBackedDataSourceBase.java:227) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.<init>(AbstractPoolBackedDataSource.java:62) at com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:109) at com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:105) at com.l2jserver.L2DatabaseFactory.<init>(L2DatabaseFactory.java:57) at com.l2jserver.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:211) at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:109) at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:56) 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 -> h7atq9dvpfkv11xg0xg|1ac88440, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> h7atq9dvpfkv11xg0xg|1ac88440, idleConnectionTestPeriod -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://46.4.94.147/l2jlg, 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 2 registered Game ServersCached 10 RSA keys for Game Server communication.Loaded 2 IP Bans.Listening for GameServers on *:9014Telnet StatusServer started successfully, listening on Port: 12345Failed to start the Telnet Server. Reason: Address already in usejava.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.<init>(ServerSocket.java:194) at java.net.ServerSocket.<init>(ServerSocket.java:106) at com.l2jserver.status.Status.<init>(Status.java:122) at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:191) at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:56) FATAL: Failed to open server socket. Reason: Address already in usejava.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.mmocore.network.SelectorThread.openServerSocket(SelectorThread.java:110) at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:206) at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:56)
all servers are offline because ports or IP is used by other program ... but so far only server using those ports and ip . dont know what else to check , help me ><
edit: port 7778 is also inside client.
1 more log error
Code: Select all
Aug 26, 2011 6:31:01 PM com.mchange.v2.c3p0.impl.C3P0ImplUtils generateVmIdINFO: Failed to get local InetAddress for VMID. This is unlikely to matter. At all. We'll add some extra randomnessjava.net.UnknownHostException: L2NewWorld: L2NewWorld at java.net.InetAddress.getLocalHost(InetAddress.java:1354) at com.mchange.v2.c3p0.impl.C3P0ImplUtils.generateVmId(C3P0ImplUtils.java:120) at com.mchange.v2.c3p0.impl.C3P0ImplUtils.<clinit>(C3P0ImplUtils.java:98) at com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase.<init>(PoolBackedDataSourceBase.java:227) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.<init>(AbstractPoolBackedDataSource.java:62) at com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:109) at com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:105) at com.l2jserver.L2DatabaseFactory.<init>(L2DatabaseFactory.java:57) at com.l2jserver.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:211) at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:109) at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:56)Aug 26, 2011 6:31:02 PM com.l2jserver.loginserver.L2LoginServer <init>WARNING: Failed to start the Telnet Server. Reason: Address already in usejava.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.<init>(ServerSocket.java:194) at java.net.ServerSocket.<init>(ServerSocket.java:106) at com.l2jserver.status.Status.<init>(Status.java:122) at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:191) at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:56)Aug 26, 2011 6:31:02 PM com.l2jserver.loginserver.L2LoginServer <init>SEVERE: FATAL: Failed to open server socket. Reason: Address already in usejava.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.mmocore.network.SelectorThread.openServerSocket(SelectorThread.java:110) at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:206) at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:56)