Форум администраторов игровых серверов

Форум администраторов игровых серверов (https://forum.zone-game.info/TT.php)
-   Lineage II (https://forum.zone-game.info/forumdisplay.php?f=34)
-   -   Помогите понять ошибку! (https://forum.zone-game.info/showthread.php?t=36783)

Maiden7 28.10.2014 01:22

Помогите разобраться пожалуйста!
 
При запуске серва получаю такую финтиплюху
Код:

Initializing L2EmuProject LoginServer.

=====================================================-[ Network Configuration ]
Loading: ./config/network/network.properties.
========================================================-[ Main Configuration ]
Loading: ./config/main/ban.properties.
Loading: ./config/main/loginserver.properties.
===================================================-[ Developer Configuration ]
=================================================-[ Versionning Configuration ]
Loading: ./config/versionning/build-time.properties.
==================================================================-[ Database ]
INFO : Database Connection Tested and Working
INFO : ..................................................
INFO : System Time: 28-10-2014 02:20:36 AM
INFO : ..................................................
INFO : OS: Windows 7 Build: 6.1
INFO : OS Arch: amd64
INFO : ..................................................
INFO : ..................................................
INFO : Avaible CPU(s): 8
INFO : Processor(s) Identifier: Intel64 Family 6 Model 60 Stepping 3, GenuineInt
el
INFO : ..................................................
INFO : ..................................................
INFO : Runtime Information
INFO : Current Free Heap Size: 49 mb
INFO : Current Heap Size: 61 mb
INFO : Maximum Heap Size: 61 mb
INFO : ..................................................
INFO : ..................................................
INFO : Java Platform Information
INFO : Java Runtime  Name: Java(TM) SE Runtime Environment
INFO : Java Version: 1.8.0_25
INFO : Java Class Version: 52.0
INFO : ..................................................
INFO : ..................................................
INFO : Virtual Machine Information (JVM)
INFO : JVM Name: Java HotSpot(TM) 64-Bit Server VM
INFO : JVM installation directory: C:\Program Files\Java\jre1.8.0_25
INFO : JVM version: 25.25-b02
INFO : JVM Vendor: Oracle Corporation
INFO : JVM Info: mixed mode
INFO : ..................................................
INFO : ..................................................
INFO : LoginManager initiating
INFO : Cached 10 KeyPairs for RSA communication
INFO : Stored 20 keys for Blowfish communication
INFO : Loaded 127 server names
INFO : GameServerManager: Loaded 1
INFO : Cached 10 RSA keys for Game Server communication.
INFO : BanManager: Loaded 3 banned ip/subnet(s).
INFO : Listening for GameServers on *:9014
INFO : Telnet server is currently disabled.
=====================================-[ L2Emu Enterprise Server: Login Server ]
INFO : Revision: unknown
INFO : Build Date: 26-10-2012 11:04:06 AM
INFO : JDK version: 1.7.0_07
INFO : Archiver-Version: Plexus Archiver
INFO : Created-By: Apache Maven
INFO : Built-By: Visor123
INFO : Manifest-Version: 1.0
====================================================================-[ Status ]
FATAL : FATAL: Failed to open server socket. Reason: * java.net.UnknownHostExcep
tion: *
        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$2.lookupAllHostAddr(Unknown Source)
        at java.net.InetAddress.getAddressesFromNameService(Unknown Source)
        at java.net.InetAddress.getAllByName0(Unknown Source)
        at java.net.InetAddress.getAllByName(Unknown Source)
        at java.net.InetAddress.getAllByName(Unknown Source)
        at java.net.InetAddress.getByName(Unknown Source)
        at net.l2emuproject.loginserver.L2LoginServer.startServer(L2LoginServer.
java:184)
        at net.l2emuproject.loginserver.L2LoginServer.<init>(L2LoginServer.java:
175)
        at net.l2emuproject.loginserver.L2LoginServer.main(L2LoginServer.java:85
)


LoginServer terminated abnormaly


LoginServer terminated

Для продолжения нажмите любую клавишу . . .

Если это ява, то в чем конкретно дело?

gorodetskiy 28.10.2014 09:32

Re: Помогите понять ошибку!
 
FATAL : FATAL: Failed to open server socket. Reason: * java.net.UnknownHostExcep
tion: *

В конфигах ошибка, а точнее в символе *

Maiden7 28.10.2014 10:08

Re: Помогите понять ошибку!
 
Очень прошу, обьясните пожалуйста как на свой IP настроить конфиги?

Часа 4 мучаюсь, толку ноль!
Код:

---------------------------------------------------------------------------
# Game Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.

# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------

# 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.1
LoginHost = 127.0.0.1

# TCP port the login server listen to for gameserver connection requests
# Default: 9014
LoginPort = 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: 7777
GameserverPort = 7777

Код:

# ---------------------------------------------------------------------------
# Login Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------

# 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: 2106
LoginserverPort = 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: 127.0.0.1
LoginHostname = *

# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014

Код:

IP config
<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: If file is named "ipconfig.xml" this data will be used as network configuration, otherwise server will configure it automatically! -->
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="188.134.30.112" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/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>

Помогите люди добрые!

MasVild 28.10.2014 11:14

Re: Помогите понять ошибку!
 
GameserverHostname = *
LoginserverHostname = *
LoginHostname = *

Смени на свой IP

Maiden7 28.10.2014 11:22

Re: Помогите понять ошибку!
 
Получаю вот опять

Код:

Starting L2PS Login Server.

Loading LoginController...
Cached 10 KeyPairs for RSA communication
Stored 20 keys for Blowfish communication
GameServerTable: Loaded 127 server names
GameServerTable: Loaded 2 registered Game Servers
GameServerTable: Cached 10 RSA keys for Game Server communication.
Loaded 0 IP Bans.
FATAL: Failed to start the Game Server Listener. Reason: Cannot assign requested
 address: JVM_Bind
java.net.BindException: Cannot assign requested address: JVM_Bind
        at java.net.DualStackPlainSocketImpl.bind0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
        at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at com.l2jserver.loginserver.FloodProtectedListener.<init>(FloodProtecte
dListener.java:54)
        at com.l2jserver.loginserver.GameServerListener.<init>(GameServerListene
r.java:40)
        at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:159
)
        at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:62)


Login Server terminated abnormally!


Login Server Terminated.

Для продолжения нажмите любую клавишу . . .


helly 28.10.2014 11:36

Re: Помогите понять ошибку!
 
Код:

FATAL: Failed to start the Game Server Listener. Reason: Cannot assign requested
 address: JVM_Bind
java.net.BindException: Cannot assign requested address: JVM_Bind

Переводите и смотрите.

Maiden7 28.10.2014 11:48

Re: Помогите понять ошибку!
 
Как не меняй что не пиши, все одно и тоже, либо ошибка, либо на локалке они цепляются! А мне на внешку надо.

flopix 28.10.2014 11:57

Re: Помогите понять ошибку!
 
В любом случае необходимо прописывать локальный адрес сетевой карты.
Доступ из внешки достигается пробрасыванием портов на роутере.

Maiden7 28.10.2014 12:00

Re: Помогите понять ошибку!
 
Цитата:

Сообщение от flopix (Сообщение 377858)
В любом случае необходимо прописывать локальный адрес сетевой карты.
Доступ из внешки достигается пробрасыванием портов на роутере.

Не могли бы вы обьяснить как это сделать пожалуйста?

gorodetskiy 28.10.2014 12:06

Re: Помогите понять ошибку!
 
https://forum.zone-game.info/showthread.php?t=7238
Эх, когда же научитесь пользоваться поиском и поисковиками ...


Текущее время: 16:29. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot