Перейти к содержанию
Авторизация  
Egor

Не Запускается Логин Сервер

Рекомендуемые сообщения

Суть проблемы - не хочет стартовать логин сервер, если в настройках сменить айпи на любой кроме 127001, вот что пишет:

Starting L2J Login Server.

 

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; tra

ce: 10]

Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireInc

rement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnCl

ose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailu

re -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connec

tionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSou

rceName -> 2svfa590pzy9e393zapz|30c01f1c, debugUnreturnedConnectionStackTraces -

> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClass

Location -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 2

svfa590pzy9e393zapz|30c01f1c, idleConnectionTestPeriod -> 3600, initialPoolSize

-> 10, jdbcUrl -> jdbc:mysql://localhost/l2jls, maxAdministrativeTaskTime -> 0,

maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxP

oolSize -> 10, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSiz

e -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, pref

erredTestQuery -> null, properties -> {user=******, password=******}, propertyCy

cle -> 0, statementCacheNumDeferredCloseThreads -> 0, statementDestroyerNumActiv

eThreads -> -1, statementDestroyerNumConnectionsInUseAllUsers -> -1, statementDe

stroyerNumConnectionsInUseDefaultUser -> -1, statementDestroyerNumConnectionsWit

hDeferredDestroyStatementsAllUsers -> -1, statementDestroyerNumConnectionsWithDe

ferredDestroyStatementsDefaultUser -> -1, statementDestroyerNumDeferredDestroySt

atementsAllUsers -> -1, statementDestroyerNumDeferredDestroyStatementsDefaultUse

r -> -1, statementDestroyerNumIdleThreads -> -1, statementDestroyerNumTasksPendi

ng -> -1, statementDestroyerNumThreads -> -1, testConnectionOnCheckin -> false,

testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditi

onalReflectiveProxies -> false ]

Loading LoginController...

Cached 10 KeyPairs for RSA communication

Stored 20 keys for Blowfish communication

Loaded 127 server names

Loaded 1 registered Game Servers

Cached 10 RSA keys for Game Server communication.

Loaded 2 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:52)

at com.l2jserver.loginserver.GameServerListener.<init>(GameServerListene

r.java:37)

at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:185

)

at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:59)

 

 

Server terminated abnormaly

 

 

server terminated

 

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

 

 

 

Вот сами настройки:

 

 

# ---------------------------------------------------------------------------

# 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 = 93.125.74.133

 

# 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: * (0.0.0.0)

LoginHostname = 10.25.67.29

 

# The port on which login will listen for GameServers

# Default: 9014

LoginPort = 9014

 

10.25.67.29 мой внутренний айпи сети (мне не важно чтобы через него можно было зайти)

93.125.74.133 и мой внешний (именно через него я и хочу чтобы заходили)

 

роутеров всяких нет, подключение у меня на прямую в свитч к провайдеру идет

 

 

Что где искать\настраивать нужно?

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Сборка l2jserver как я понял.

Там для настройки внешнего ип есть файл конфигурации ipconfig.xml

Вот так настрой конфиги: (выделил зеленым цветом все ip адреса)

# ---------------------------------------------------------------------------

# 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: Please don't change default IPs here if you don't know what are you doing!

# WARNING: External/Internal IPs are now inside "ipconfig.xml" file.

# 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: Please don't change default IPs here if you don't know what are you doing!

# WARNING: External/Internal IPs are now inside "ipconfig.xml" file.

# Default: * (0.0.0.0)

LoginHostname = 127.0.0.1

 

# The port on which login will listen for GameServers

# Default: 9014

LoginPort = 9014

 

 

# ---------------------------------------------------------------------------

# 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

 

 

 

<?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="93.125.74.133" xmlns:xsi="http://www.w3.org/20...chema-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>

 

Изменено пользователем Aries

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Так вроде запустился, но зайти на сервер я могу только с систем в которой в л2.ини прописан айпи 127.0.0.1, я так понимаю, на сервер с этой систем никто кроме меня не зайдет? Менял айпи на свой и тогда бесконечный коннект

 

 

Protocol=unreal

ProtocolDescription=Unreal Protocol

Name=Player

Map=Index.unr

LocalMap=Entry.unr

Host=

Portal=

MapExt=unr

EXEName=l2.exe

SaveExt=usa

Port=7777

Class=LineageWarrior.MFighter

ServerAddr=93.125.74.133

IsL2NetLogin=True

IsL2Console=True

IsL2Seamless=True

IsL2Projector=True

ISL2Mark=2

ForceAspectRatio=False

AspectRatio=1.334

IsDefaultShaodw=False

IsUnderWaterEffect=False

IsUseCommand=True

L2VersionCheck=false

IsL2MemLog=False

L2ThreadFilter=1

L2TestServer=false

EnablePurgeLevel=True

SharedSky=True

L2MaxPawnResourceLoad=1.0

L2UseKeyCrypt=true

L2UseReplayManager=true

EnableSecondWindow=true

IsUseXMLUI=True

L2ShaderPath=.\

UseNewPetition=false

L2HomeURL=http://www.l2darkrealm.ru/

UseAuthUserData=true

NOGG_Auth=true

NetSendHardWare=false

 

Может ещё куда-то айпи нужно прописать?

 

а понял, я должен через систем 127.0.0.1, а остальные через мой айпи настоящий. Всё работает, спасибо!

Изменено пользователем Egor

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

менаешь ип в гс и в лс на свой где нужно. и в патче на свой. Тогда смогут конектиться. Гайдов куча в интернете , как это сделать. например вот , самый старый гайд мб

http://svoyl2.ru/index/0-7 ( не реклама)

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Для публикации сообщений создайте учётную запись или авторизуйтесь

Вы должны быть пользователем, чтобы оставить комментарий

Создать учетную запись

Зарегистрируйте новую учётную запись в нашем сообществе. Это очень просто!

Регистрация нового пользователя

Войти

Уже есть аккаунт? Войти в систему.

Войти
Авторизация  

  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

×
×
  • Создать...