So, so.
Me take BNS Server 2020 from VM in 1st post to my VM.
Me translate comments in configuration .XML-Files
Me correct default IP addresses (192.168.200.128 and 10.10.66.88) in config files (.XML & .DSN) with my's Server IP and SQL login data.
Me correct paths in configs to new place
Me attach databases include GoodsDB
Me fix records in Database:
- LobbiDb-dbo.GameWorlsCluster
GamePublicIPv4Address
GameIternalIPv4Address
Basically it's enough to run other game server like TERA, AiON and MU2, but in this me catch some strange things when launch start.bat or start's daemons step by step like in start.bat:
-
RankingDaemon - starts normaly no error messages
-
AccountInventoryDaemon - starts but in log's me see some messages about errors and AccountInventoryDaemon close
Code:
2021/09/10-12:37:50.598,TransactionJob.cpp,434,(notice),[tranjob],setup transaction log
2021/09/10-12:37:50.598,Daemon.cpp,511,(debug),[accountinventoryd], Starting, daemon: Blade&Soul AccountInventory Daemon, version: 0.0.381.571, desc: Blade&Soul AccountInventory Daemon
2021/09/10-12:37:50.598,Daemon.cpp,512,(debug),[accountinventoryd], Network Configuration, daemon: Blade&Soul AccountInventory Daemon, hostname: VN-TST, public: 0.0.0.0, internal: 172.16.200.119
<.........>
2021/09/10-12:11:32.241,Connection.cpp,151,(debug),[session], test, reconnect, this:00000000049E0188, addr:(0.0.0.0:51799)
2021/09/10-12:11:32.241,Session.cpp,433,(debug),[session], connect to, port id: 1, id:100000001, this:00000000049E0000, ip:172.16.200.119, port:6601
2021/09/10-12:11:32.241,SharedChannel.cpp,26,(debug),[shared-channel], try connect ok
2021/09/10-12:11:32.241,NPChannel2.cpp,420,(debug),[np], try connect success
2021/09/10-12:11:32.241,NPServiceChannel.cpp,541,(debug),[np], [np-servch-mgr], initialize ok, port-id:1, ip:172.16.200.119, port:6601, timeout:5(sec)
2021/09/10-12:11:33.257,Session.cpp,530,(debug),[session], trying to reconnect after 5000 msec, id:100000001, this:00000000049E0000, addr:(172.16.200.119:6601)
2021/09/10-12:11:33.257,Connection.cpp,151,(debug),[session], test, reconnect, this:00000000049E0188, addr:(0.0.0.0:51799)
2021/09/10-12:11:33.257,Session.cpp,716,(debug),[session], close called; don't remove session, id:100000001, this:00000000049E0000, state:3
2021/09/10-12:11:34.281,Session.cpp,530,(debug),[session], trying to reconnect after 5000 msec, id:100000001, this:00000000049E0000, addr:(172.16.200.119:6601)
2021/09/10-12:11:34.281,Connection.cpp,151,(debug),[session], test, reconnect, this:00000000049E0188, addr:(0.0.0.0:51799)
2021/09/10-12:11:34.281,Session.cpp,716,(debug),[session], close called; don't remove session, id:100000001, this:00000000049E0000, state:3
2021/09/10-12:11:35.297,Session.cpp,530,(debug),[session], trying to reconnect after 5000 msec, id:100000001, this:00000000049E0000, addr:(172.16.200.119:6601)
2021/09/10-12:11:35.297,Connection.cpp,151,(debug),[session], test, reconnect, this:00000000049E0188, addr:(0.0.0.0:51799)
2021/09/10-12:11:35.297,Session.cpp,716,(debug),[session], close called; don't remove session, id:100000001, this:00000000049E0000, state:3
2021/09/10-12:11:36.313,Session.cpp,530,(debug),[session], trying to reconnect after 5000 msec, id:100000001, this:00000000049E0000, addr:(172.16.200.119:6601)
2021/09/10-12:11:36.313,Connection.cpp,151,(debug),[session], test, reconnect, this:00000000049E0188, addr:(0.0.0.0:51799)
2021/09/10-12:11:36.313,Session.cpp,716,(debug),[session], close called; don't remove session, id:100000001, this:00000000049E0000, state:3
2021/09/10-12:11:37.328,Session.cpp,530,(debug),[session], trying to reconnect after 5000 msec, id:100000001, this:00000000049E0000, addr:(172.16.200.119:6601)
2021/09/10-12:11:37.328,Session.cpp,552,(debug),[session], connect timeout, id:100000001, this:00000000049E0000
2021/09/10-12:11:37.328,Session.cpp,709,(debug),[session], close called; remove session, id:100000001, this:00000000049E0000, state:0
2021/09/10-12:11:37.328,Port.cpp,480,(debug),[session], removed, port-id:1, session-id:100000001, session:00000000049E0000
2021/09/10-12:11:38.250,AccountInventoryDaemon.cpp,1244,(error),[accountinventoryd], start np channel fail; wait initiali connect fail
2021/09/10-12:11:38.250,AccountInventoryDaemon.cpp,875,(error),[accountinventoryd], start np fail
2021/09/10-12:11:38.250,Daemon.cpp,555,(error),[accountinventoryd], onStart fail, daemon: Blade&Soul AccountInventory Daemon
Me look into configs of
AccountInventoryDaemon but not find IP 0.0.0.0
-
CacheDaemon crashes - Database
BlGame not exist, me not find it's in database folder from source VM
-
CacheGate situation like with
AccountInventoryDaemon try connect to 0.0.0.0 IP, but:
Code:
2021/09/10-12:21:09.571,Daemon.cpp,511,(debug),[cacheGate], Starting, daemon: Blade&Soul OuterWorld CacheGate, version: 0.0.381.561, desc: Blade&Soul OuterWorld CacheGate
2021/09/10-12:21:09.571,Daemon.cpp,512,(debug),[cacheGate], Network Configuration, daemon: Blade&Soul OuterWorld CacheGate, hostname: VN-TST, public: 0.0.0.0, internal: 172.16.200.119
<.........>
2021/09/10-12:21:10.602,CacheGate.cpp,186,(debug),[cg], network initialize ok.
2021/09/10-12:21:10.602,Daemon.cpp,563,(debug),[cacheGate], start, daemon: Blade&Soul OuterWorld CacheGate, version: 0.0.381.561, loading time: 1032
2021/09/10-12:21:11.618,Session.cpp,530,(debug),[session], trying to reconnect after 5000 msec, id:200000001, this:0000001BD8830000, addr:(172.16.200.119:20202)
2021/09/10-12:21:11.618,Connection.cpp,151,(debug),[session], test, reconnect, this:0000001BD8830188, addr:(0.0.0.0:51804)
2021/09/10-12:21:11.618,Session.cpp,716,(debug),[session], close called; don't remove session, id:200000001, this:0000001BD8830000, state:3
2021/09/10-12:21:12.618,Session.cpp,530,(debug),[session], trying to reconnect after 5000 msec, id:200000001, this:0000001BD8830000, addr:(172.16.200.119:20202)
2021/09/10-12:21:12.618,Connection.cpp,151,(debug),[session], test, reconnect, this:0000001BD8830188, addr:(0.0.0.0:51804)
2021/09/10-12:21:12.618,Session.cpp,716,(debug),[session], close called; don't remove session, id:200000001, this:0000001BD8830000, state:3
write this till me close it
Me look into configs of
CacheGate but not find IP 0.0.0.0
-
PostOfficeDaemon needed
CacheGate and so writes orrors:
Code:
2021/09/10-12:48:18.221,Daemon.cpp,510,(debug),[postofficed], Starting, daemon: Blade&Soul PostOffice Daemon, version: 0.0.356.485, desc: Blade&Soul PostOffice Daemon
2021/09/10-12:48:18.221,Daemon.cpp,511,(debug),[postofficed], Network Configuration, daemon: Blade&Soul PostOffice Daemon, hostname: VN-TST, public: 0.0.0.0, internal: 172.16.200.119
<.........>
2021/09/10-12:48:19.242,Daemon.cpp,562,(debug),[postofficed], start, daemon: Blade&Soul PostOffice Daemon, version: 0.0.356.485, loading time: 1031
2021/09/10-12:48:20.242,UnsentPostChecker.cpp,23,(debug),[unsent post checker], UnsentPostChecker::HandleEvent; <BEGIN TIMER HANDLER>
2021/09/10-12:48:20.242,UnsentPostChecker.cpp,27,(debug),[unsent post checker], UnsentPostChecker::HandleEvent; <END TIMER HANDLER>
2021/09/10-12:48:20.242,RelayTimeoutChecker.cpp,24,(debug),[relay timeout checker], RelayTimeoutChecker::HandleEvent; <BEGIN TIMER HANDLER>
2021/09/10-12:48:20.242,RelayTimeoutChecker.cpp,28,(debug),[relay timeout checker], RelayTimeoutChecker::HandleEvent; <END TIMER HANDLER>
2021/09/10-12:48:20.242,PingGenerator.cpp,25,(debug),[ping generator], PingGenerator::HandleEvent; <BEGIN TIMER HANDLER>
2021/09/10-12:48:20.242,PostOfficeDaemon.cpp,569,(error),[postofficed], PostOfficeDaemon::checkCacheGateServiceState; cachegate service state is unavailable
2021/09/10-12:48:20.242,PingGenerator.cpp,49,(error),[ping generator], PingGenerator::sendPing; cannot send ping relay request, wid:1
2021/09/10-12:48:20.242,PingGenerator.cpp,29,(debug),[ping generator], PingGenerator::HandleEvent; <END TIMER HANDLER>
2021/09/10-12:48:20.257,Session.cpp,528,(debug),[session], trying to reconnect after 5000 msec, id:100000001, this:00000000005F0000, addr:(172.16.200.119:20800)
2021/09/10-12:48:20.257,Connection.cpp,151,(debug),[session], test, reconnect, this:00000000005F0188, addr:(0.0.0.0:51835)
2021/09/10-12:48:20.257,Session.cpp,714,(debug),[session], close called; don't remove session, id:100000001, this:00000000005F0000, state:3
2021/09/10-12:48:21.242,RelayTimeoutChecker.cpp,24,(debug),[relay timeout checker], RelayTimeoutChecker::HandleEvent; <BEGIN TIMER HANDLER>
2021/09/10-12:48:21.242,RelayTimeoutChecker.cpp,28,(debug),[relay timeout checker], RelayTimeoutChecker::HandleEvent; <END TIMER HANDLER>
So me ununderstand where and how fix this mess
- - - Updated - - -
Me returns untranslated configs and change only IPs, paths and SQL creds, but errors - still present.
Problem is strange, and it's with all...
P.S. No me not try run exists vm from 1st post cos me have one of them and it's in Ingles and works fine with other Game's Servers AiON. TERA, MU2 me haven't more res for more VMS for more games, sry...
- - - Updated - - -
How fine and nice - part of databases puts in MS SQL default folder, it's so fine so me catch facepalm twice...
- - - Updated - - -
So me get Langpack for Windows Server 2016 from
THIS install it trough console by call "lpksetup.exe" and select "<CDDrive>:\langpacks\en-us\x64fre_Server_en-us_lp.cab" file from image-file
Me sad 46 SQL Databases only for BNS 2020...