kbengine 開啓報錯 Can modify the components-CID and UID to avoid conflict

 INFO root [2020-01-08 16:21:44,953] - ---- dbmgr is running ----
 DEBUG root [2020-01-08 16:21:44,953] - Components::process(): Request for the process of identity...
 ERROR root [2020-01-08 16:21:45,073] - Components::process: found dbmgr, addr:192.168.137.1:53988
 ERROR root [2020-01-08 16:21:45,074] - ServerApp::onIdentityillegal: The current process and dbmgr(componentID=4000 ->conflicted???, pid=9624, addr=192.168.137.1) conflict, the process will exit!
Can modify the components-CID and UID to avoid conflict.
  INFO root [2020-01-08 16:21:45,076] - Shutdowner::onShutdownBegin: shutting down(period=1, tickPeriod=1)
S_INFO root [2020-01-08 16:21:45,076] - onDBMgrShutDown()
  INFO root [2020-01-08 16:21:45,084] - ServerApp::onRegisterNewApp: uid:20795, username:Administrator, componentType:interfaces, componentID:3000, globalorderID=-1, grouporderID=-1, intaddr:192.168.100.156, intport:30099, extaddr:nonsupport, extport:0,  from 127.0.0.1:30099/0/0/0.
  INFO root [2020-01-08 16:21:45,085] - Components::addComponent: reset orderLog, uid=20795!
  INFO root [2020-01-08 16:21:45,085] - Components::addComponent[interfaces], uid=20795, componentID=3000, globalorderid=1, grouporderid=1, totalcount=1
  INFO root [2020-01-08 16:21:46,086] - Shutdowner::onShutdown: shutting down
  INFO root [2020-01-08 16:21:46,174] - Components::removeComponentByChannel: interfaces : 3000, Normal exit!
  INFO root [2020-01-08 16:21:47,087] - Shutdowner::onShutdownEnd: shutting down
 DEBUG root [2020-01-08 16:21:47,189] - ThreadPool::destroy(): starting size 5.
  WARN root [2020-01-08 16:21:47,489] - ThreadPool::destroy(): waiting for thread(5)[0x50bd10,0x50bd98,0x50be20,0x50bea8,0x50bf30,], try=1
 DEBUG root [2020-01-08 16:21:47,490] - DBThread::onEnd(): 0x50be20!
 


  INFO root [2020-01-08 16:26:24,121] - Resmgr::initialize: KBE_ROOT=D:/kbengine/server/kbengine-2.5.8/
  INFO root [2020-01-08 16:26:24,122] - Resmgr::initialize: KBE_RES_PATH=D:/kbengine/server/kbengine-2.5.8/kbe/res/;D:/kbengine/server/kbengine-2.5.8/server_getstarted_assets/;D:/kbengine/server/kbengine-2.5.8/server_getstarted_assets/scripts/;D:/kbengine/server/kbengine-2.5.8/server_getstarted_assets/res/
  INFO root [2020-01-08 16:26:24,122] - Resmgr::initialize: KBE_BIN_PATH=D:/kbengine/server/kbengine-2.5.8/kbe/bin/server/
  INFO root [2020-01-08 16:26:24,130] - NetworkInterface::initialize(INTERNAL-TCP): bound to all interfaces with default route interface on 192.168.100.156 ( 192.168.100.156:58225 )
  INFO root [2020-01-08 16:26:24,131] - NetworkInterface::initialize(INTERNAL-TCP): address 192.168.100.156:58225, SOMAXCONN=511.
  INFO root [2020-01-08 16:26:24,131] - server-configs:
  INFO root [2020-01-08 16:26:24,131] -     internalTcpAddr : 192.168.100.156:58225
  INFO root [2020-01-08 16:26:24,131] -     componentID : 6000
  WARN root [2020-01-08 16:26:24,132] - invalid UID(0) <= 0, please check UID for environment! automatically set to 20795.
  INFO root [2020-01-08 16:26:25,640] - ---- cellappmgr Version: 2.5.8. ScriptVersion: 0.1.0. Pythoncore: 3.7.3. Protocol: AFC10615FCF531D416E7A56B687CCF1A. Config: Debug X86. Built: 18:28:08 Dec 25 2019. AppID: 6000. UID: 20795. PID: 10132 ----
  INFO root [2020-01-08 16:26:25,674] - Server Administrator:        Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz with 4194303kB RAM
  INFO root [2020-01-08 16:26:25,676] - ThreadPool::createThreadPool: creating  threadpool...
  INFO root [2020-01-08 16:26:25,677] - ThreadPool::createThreadPool: successfully(2), newThreadCount=1, normalMaxThreadCount=2, maxThreadCount=8
  INFO root [2020-01-08 16:26:26,758] - ---- cellappmgr is running ----
 DEBUG root [2020-01-08 16:26:26,780] - Components::process(): Request for the process of identity...
 ERROR root [2020-01-08 16:26:27,055] - Components::process: found cellappmgr, addr:192.168.137.1:53989
 ERROR root [2020-01-08 16:26:27,056] - ServerApp::onIdentityillegal: The current process and cellappmgr(componentID=6000 ->conflicted???, pid=6752, addr=192.168.137.1) conflict, the process will exit!
Can modify the components-CID and UID to avoid conflict.

  INFO root [2020-01-08 16:26:27,057] - Shutdowner::onShutdownBegin: shutting down(period=1, tickPeriod=1)
  INFO root [2020-01-08 16:26:28,058] - Shutdowner::onShutdown: shutting down

 


現象: ERROR root [2016-12-22 16:51:08,656] - ServerApp::onIdentityillegal: The current process and cellappmgr(componentID=6000 ->conflicted???, pid=xxx, addr=xxx) conflict, the process will exit!
Can modify the components-CID and UID to avoid conflict.

 

原因: 

其他ip(本機或本局域網內)上有和你一樣的cid


解決方式:

修改  start_server.bat 中cid參數,止到和服務器組其他不衝突爲止。
例:start %KBE_BIN_PATH%/machine.exe --cid=1800 --gus=1

 

 

發佈了65 篇原創文章 · 獲贊 30 · 訪問量 27萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章