I've been messing with getting this Aion server up and running for a few hours now, I've gotten past a barrage of other problems, but for the time being I am stuck... Gameserver receives the following error on start.
[FATAL] 2010-11-10 01:57:45 - NioServer Initialization Error: java.net
tion: Address already in use: bind
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.aionemu.commons.network.NioServer.connect(NioServer.jav
at com.aionengine.gameserver.GameServer.startServers(Unknown S
at com.aionengine.gameserver.GameServer.main(Unknown Source)
[ERROR] 2010-11-10 01:57:45 - Critical Error - Thread: main terminated
: java.lang.Error: NioServer Initialization Error!
java.lang.Error: NioServer Initialization Error!
at com.aionemu.commons.network.NioServer.connect(NioServer.jav
at com.aionengine.gameserver.GameServer.startServers(Unknown S
at com.aionengine.gameserver.GameServer.main(Unknown Source)
[INFO] 2010-11-10 01:57:49 - Spawning rift : ELTNEN_AM
[INFO] 2010-11-10 01:57:49 - Spawning rift : HEIRON_AM
[INFO] 2010-11-10 01:57:49 - Spawning rift : MORHEIM_BM
[INFO] 2010-11-10 01:57:49 - Spawning rift : BELUSLAN_FM
[INFO] 2010-11-10 01:58:13 - AbyssRankService: Rankings were reloaded!
Through searching I've come up with that it has to be some error in my game server and login server network config files.. Therefore here are the relevant excerpts from both files..
# GameServer ID
gameserver.network.login.gsid = 1
# GameServer bind IP address (* for all available IP)
gameserver.network.client.host = *
# GameServer bind TCP port
gameserver.network.client.port = 3306
# RDC (Remote Data Call) bind IP address
gameserver.network.rdc.client.host = *
# RDC bind TCP port
gameserver.network.rdc.client.port = 732
# Online players limit
gameserver.network.client.maxplayers = 1000
# Required access level to enter gameserver
# If set to bigger than 0 only GM's are able to connect
# and normal players can't see server on serverlist
# Default = 0
gameserver.network.client.requiredlevel = 0
# LoginServer location
gameserver.network.login.address = localhost:9014
# LoginServer password for this GameServer
gameserver.network.login.password = aion
# ChatServer location
gameserver.network.chat.address = localhost:9021
# ChatServer password for this ChatServer
gameserver.network.chat.password = password
# Enable debug information from network layer
gameserver.network.nio.debug = false
# Additional threads that are used to read network data
gameserver.network.nio.threads.read = 1
# Number of retries to do when reading a packet
gameserver.network.nio.threads.read.retries = 8
# Additional threads that are used to write network data
gameserver.network.nio.threads.write = 1
# Number of retries to do when writing a packet
gameserver.network.nio.threads.write.retries = 8
# Enable additional threads (workers) to handle data processing
gameserver.network.nio.threads.workers.enable = false
# Number of workers
gameserver.network.nio.threads.workers = 1
# Number of buffers by worker
gameserver.network.nio.threads.workers.buffers = 16
# Display/hide unknown packets received by server
gameserver.network.display.unknownpackets = false
# ===================================
and
# LoginServer will listen for connections on specified port
loginserver.network.client.port = 7777
# LoginServer will bind specified network interface
# * - bind all interfaces
loginserver.network.client.host = *
# How many times player can try to login before he get's banned for bruteforcing
loginserver.network.client.logintrybeforeban = 5
# For what time in minutes player should be banned in case of bruteforcing
loginserver.network.client.bantimeforbruteforcing = 15
# Host that will be used by LS to listen for GS connections
loginserver.network.gameserver.host = *
# Port that will be used by LS to listen for GS connections
loginserver.network.gameserver.port = 9014
# Nuber of additional threads for NIO that will handle only reading
loginserver.network.nio.threads.read = 1
# Nuber of additional threads for NIO that will handle only writing
loginserver.network.nio.threads.write = 1
# Create accounts automatically or not?
loginserver.accounts.autocreate = true
also the ingame error is after login at server selection I get the error that
"The server you have selected is down, therefore you cannot access it(8)"
any help would be great fully appreciated..
Resolved
Also in login server databse, under gamerservers table# GameServer bind TCP port
gameserver.network.client.port = 7777
I had to fix the gameserver password.





