1. 程式人生 > >ArcGIS license服務無法啟動案例一

ArcGIS license服務無法啟動案例一

 arcgis10.2 無法啟動許可程式

一、錯誤報錯

1.1 外在症狀,license manager點選啟動服務無反應,在計算機管理裡面發現lincese服務正常啟動著。

1.2 lmgrd.log裡錯誤體現:

Vendor daemon can't talk to lmgrd (Cannot connect to license server system. (-15,10:10061 "WinSock: Connection refused"))

EXITING DUE TO SIGNAL 28 Exit reason 5

ARCGIS exited with status 28 (Communications error)

1.3 cmd命令列裡啟動許可程式報錯

啟動語句 d:\progra~1\arcgis\license10.2\bin\lmgrd -z-c service.txt

返回錯誤 :(lmgrd) Failed to open the TCP port number in the license.

 

二、錯誤原因

經1.3發現是tcp埠被佔用,在service.txt裡面的定義的27000埠被佔用

 

三、解決方案

3.1 方案一 在service.txt 把埠改為27000-27009直接的其他埠,例如27001;

3.2 方案二 殺掉佔用27000埠的程式

    3.2.1 查詢哪個pid佔用的:  netstat -aon|findstr "8189"  8189即是埠號;

            

    3.2.2  關閉那個程序:   taskkill /pid 13064 /f

    3.2.3 重新啟動lincense程式即可

 

 四、指定許可服務為本機localhost

       啟動arcgis adminstrator,指定許可伺服器為localhost

       此時若許可伺服器地址無法修改,則用修改登錄檔的方法:

      把ArcGIS的許可指到本機(服務設為@l者機器名)通過修改登錄檔實現

 

五、參考資料

“連不上 ArcGIS License Manager ”的一點常用診斷方法

LicensenManager10.2啟動失敗解決方法

解決Arcgis 10.2 license無法啟動的問題