ArcGIS License不能正常启动,删除注册表,关掉防火墙,关掉杀毒软件都不起作用的可能原因:端口占用。
下面是解决办法,共三步:
1、在arcgis license 安装目录的BIN文件夹运行lmgrd -z -c service.txt,报错Failed to open the TCP port number in the license.
C:\Program Files (x86)\ArcGIS\License10.2\bin>lmgrd -z -c service.txt
22:22:13 (lmgrd) -----------------------------------------------
22:22:13 (lmgrd) Please Note:
22:22:13 (lmgrd)
22:22:13 (lmgrd) This log is intended for debug purposes only.
22:22:13 (lmgrd) In order to capture accurate license
22:22:13 (lmgrd) usage data into an organized repository,
22:22:13 (lmgrd) please enable report logging. Use Flexera Software LLC's
22:22:13 (lmgrd) software license administration solution,
22:22:13 (lmgrd) FlexNet Manager, to readily gain visibility
22:22:13 (lmgrd) into license usage data and to create
22:22:13 (lmgrd) insightful reports on critical information like
22:22:13 (lmgrd) license availability and usage. FlexNet Manager
22:22:13 (lmgrd) can be fully automated to run these reports on
22:22:13 (lmgrd) schedule and can be used to track license
22:22:13 (lmgrd) servers and usage across a heterogeneous
22:22:13 (lmgrd) network of servers including Windows NT, Linux
22:22:13 (lmgrd) and UNIX. Contact Flexera Software LLC at
22:22:13 (lmgrd) www.flexerasoftware.com for more details on how to
22:22:13 (lmgrd) obtain an evaluation copy of FlexNet Manager
22:22:13 (lmgrd) for your enterprise.
22:22:13 (lmgrd)
22:22:13 (lmgrd) -----------------------------------------------
22:22:13 (lmgrd)
22:22:13 (lmgrd)
22:22:13 (lmgrd) pid 5068
22:22:13 (lmgrd) Failed to open the TCP port number in the license.
2、找到和27000冲突的PID,此处为3632,用taskkill /pid 3632 -t 删除冲突的端口
C:\Program Files (x86)\ArcGIS\License10.2\bin>netstat -aon|findstr "27000"
TCP 0.0.0.0:27000 0.0.0.0:0 LISTENING 3632
C:\Program Files (x86)\ArcGIS\License10.2\bin>taskkill /pid 3632 -t
错误: 无法终止 PID 3632 (属于 PID 3176 子进程)的进程。
原因: 只能强行终止这个进程(带 /F 选项)。
C:\Program Files (x86)\ArcGIS\License10.2\bin>taskkill /pid 3632 -t /f
成功: 已终止 PID 3632 (属于 PID 3176 子进程)的进程。
3、再次启动lmgrd -z -c service.txt,如果弹出下列信息则表示成功解决。关掉命令提示符,在License Server Administrator中启动即可。
C:\Program Files (x86)\ArcGIS\License10.2\bin>lmgrd -z -c service.txt
22:27:06 (lmgrd) -----------------------------------------------
22:27:06 (lmgrd) Please Note:
22:27:06 (lmgrd)
22:27:06 (lmgrd) This log is intended for debug purposes only.
22:27:06 (lmgrd) In order to capture accurate license
22:27:06 (lmgrd) usage data into an organized repository,
22:27:06 (lmgrd) please enable report logging. Use Flexera Software LLC's
22:27:06 (lmgrd) software license administration solution,
22:27:06 (lmgrd) FlexNet Manager, to readily gain visibility
22:27:06 (lmgrd) into license usage data and to create
22:27:06 (lmgrd) insightful reports on critical information like
22:27:06 (lmgrd) license availability and usage. FlexNet Manager
22:27:06 (lmgrd) can be fully automated to run these reports on
22:27:06 (lmgrd) schedule and can be used to track license
22:27:06 (lmgrd) servers and usage across a heterogeneous
22:27:06 (lmgrd) network of servers including Windows NT, Linux
22:27:06 (lmgrd) and UNIX. Contact Flexera Software LLC at
22:27:06 (lmgrd) www.flexerasoftware.com for more details on how to
22:27:06 (lmgrd) obtain an evaluation copy of FlexNet Manager
22:27:06 (lmgrd) for your enterprise.
22:27:06 (lmgrd)
22:27:06 (lmgrd) -----------------------------------------------
22:27:06 (lmgrd)
22:27:06 (lmgrd)
22:27:06 (lmgrd) pid 4880
22:27:06 (lmgrd) Done rereading
22:27:06 (lmgrd) FlexNet Licensing (v11.11.1.0 build 116574 i86_n3) started on L
OCALHOST (IBM PC) (12/17/2018)
22:27:06 (lmgrd) Copyright (c) 1988-2013 Flexera Software LLC. All Rights Reserv
ed.
22:27:06 (lmgrd) World Wide Web: http://www.flexerasoftware.com
22:27:06 (lmgrd) License file(s): service.txt
22:27:06 (lmgrd) lmgrd tcp-port 27000
22:27:06 (lmgrd) Starting vendor daemons ...
22:27:07 (lmgrd) Started ARCGIS (pid 1480)
22:27:07 (ARCGIS) FlexNet Licensing version v11.11.1.0 build 116574 i86_n3
22:27:07 (ARCGIS) Server started on LOCALHOST for: 3DEngine
22:27:07 (ARCGIS) Aeronautical AGSData AllEurope
22:27:07 (ARCGIS) ARC/INFO ArcEditor ArcExpress
22:27:07 (ARCGIS) ArcInfo ArcMapServer ArcPress
22:27:07 (ARCGIS) ArcReader ArcScan ArcSdeConnects
22:27:07 (ARCGIS) ArcSdeServer ArcSdl ArcServer
22:27:07 (ARCGIS) ArcStorm ArcStormEnable ArcView
22:27:07 (ARCGIS) ArcView3 ArcView31 ArcView4
22:27:07 (ARCGIS) Austria AV3D1 AVArcPress1
22:27:07 (ARCGIS) Avenue AVIMAGE1 AVIMS1
22:27:07 (ARCGIS) AVIMSGIF AVLAND1 AVNetwork1
22:27:07 (ARCGIS) AVNetwork2 AVSpatial1 AVSpatial2
22:27:07 (ARCGIS) AVSurface1 AVSurface2 AVTRACK1
22:27:07 (ARCGIS) AVVRP1 BaseBISData Belgium
22:27:07 (ARCGIS) BingMaps BingMapsEng Business
22:27:07 (ARCGIS) BusinessPrem COGO Coverages
22:27:07 (ARCGIS) DataReViewer DB2 Defense
22:27:07 (ARCGIS) DefenseINTL DefenseINTLEng DefenseUS
22:27:07 (ARCGIS) DefenseUSEng Denmark Designer
22:27:07 (ARCGIS) DMTIData Editor Foundation
22:27:07 (ARCGIS) France GDBEdit GeoStats
22:27:07 (ARCGIS) Germany Grid ImageExt
22:27:07 (ARCGIS) Informix IntelAgency Internal
22:27:07 (ARCGIS) Interop InteropEngine Italy
22:27:07 (ARCGIS) JTX Luxembourg MajorRdEurope
22:27:07 (ARCGIS) Maplex MaplexEngine MappingAgency
22:27:07 (ARCGIS) MPSAtlas MrSID Nautical
22:27:07 (ARCGIS) Netherlands Network NetworkEngine
22:27:07 (ARCGIS) Plotting Portugal Publisher
22:27:07 (ARCGIS) Reader ReaderPro SchematicEngine
22:27:07 (ARCGIS) Schematics SchematicsSDK SdePersonal
22:27:07 (ARCGIS) SdeStandard SdeWorkGroup Spain
22:27:07 (ARCGIS) SpatialEngine StandardEngine StreetMap
22:27:07 (ARCGIS) StreetMapBA Survey SvrAdvanced
22:27:07 (ARCGIS) SvrEnterprise SvrStandard Sweden
22:27:07 (ARCGIS) Switzerland Sybase TIFFLZW
22:27:07 (ARCGIS) TIN Tracking TrackingEngine
22:27:07 (ARCGIS) UnitedKingdom VBA Vector
22:27:07 (ARCGIS) Viewer VirtualEarthEng
22:27:07 (ARCGIS) EXTERNAL FILTERS are OFF
22:27:07 (lmgrd) ARCGIS using TCP-port 53858
22:27:25 (ARCGIS) TCP_NODELAY NOT enabled
22:27:30 (lmgrd) Rereading license file... Requested from Administrator@geoplat
22:27:30 22:27:30 (ARCGIS) (lmgrd) Rereading license file...
Done rereading
22:27:30 (lmgrd) ...Finished rereading
22:27:30 (ARCGIS) Server started on LOCALHOST for: 3DEngine
22:27:30 (ARCGIS) Aeronautical AGSData AllEurope
22:27:30 (ARCGIS) ARC/INFO ArcEditor ArcExpress
22:27:30 (ARCGIS) ArcInfo ArcMapServer ArcPress
22:27:30 (ARCGIS) ArcReader ArcScan ArcSdeConnects
22:27:30 (ARCGIS) ArcSdeServer ArcSdl ArcServer
22:27:30 (ARCGIS) ArcStorm ArcStormEnable ArcView
22:27:30 (ARCGIS) ArcView3 ArcView31 ArcView4
22:27:30 (ARCGIS) Austria AV3D1 AVArcPress1
22:27:30 (ARCGIS) Avenue AVIMAGE1 AVIMS1
22:27:30 (ARCGIS) AVIMSGIF AVLAND1 AVNetwork1
22:27:30 (ARCGIS) AVNetwork2 AVSpatial1 AVSpatial2
22:27:30 (ARCGIS) AVSurface1 AVSurface2 AVTRACK1
22:27:30 (ARCGIS) AVVRP1 BaseBISData Belgium
22:27:30 (ARCGIS) BingMaps BingMapsEng Business
22:27:30 (ARCGIS) BusinessPrem COGO Coverages
22:27:30 (ARCGIS) DataReViewer DB2 Defense
22:27:30 (ARCGIS) DefenseINTL DefenseINTLEng DefenseUS
22:27:30 (ARCGIS) DefenseUSEng Denmark Designer
22:27:30 (ARCGIS) DMTIData Editor Foundation
22:27:30 (ARCGIS) France GDBEdit GeoStats
22:27:30 (ARCGIS) Germany Grid ImageExt
22:27:30 (ARCGIS) Informix IntelAgency Internal
22:27:30 (ARCGIS) Interop InteropEngine Italy
22:27:30 (ARCGIS) JTX Luxembourg MajorRdEurope
22:27:30 (ARCGIS) Maplex MaplexEngine MappingAgency
22:27:30 (ARCGIS) MPSAtlas MrSID Nautical
22:27:30 (ARCGIS) Netherlands Network NetworkEngine
22:27:30 (ARCGIS) Plotting Portugal Publisher
22:27:30 (ARCGIS) Reader ReaderPro SchematicEngine
22:27:30 (ARCGIS) Schematics SchematicsSDK SdePersonal
22:27:30 (ARCGIS) SdeStandard SdeWorkGroup Spain
22:27:30 (ARCGIS) SpatialEngine StandardEngine StreetMap
22:27:30 (ARCGIS) StreetMapBA Survey SvrAdvanced
22:27:30 (ARCGIS) SvrEnterprise SvrStandard Sweden
22:27:30 (ARCGIS) Switzerland Sybase TIFFLZW
22:27:30 (ARCGIS) TIN Tracking TrackingEngine
22:27:30 (ARCGIS) UnitedKingdom VBA Vector
22:27:30 (ARCGIS) Viewer VirtualEarthEng
22:27:30 (ARCGIS) Updating feature 3DEngine
22:27:30 (ARCGIS) Updating feature Aeronautical
22:27:30 (ARCGIS) Updating feature AGSData
22:27:30 (ARCGIS) Updating feature AllEurope
22:27:30 (ARCGIS) Updating feature ARC/INFO
22:27:30 (ARCGIS) Updating feature ArcEditor
22:27:30 (ARCGIS) Updating feature ArcExpress
22:27:30 (ARCGIS) Updating feature ArcInfo
22:27:30 (ARCGIS) Updating feature ArcMapServer
22:27:30 (ARCGIS) Updating feature ArcPress
22:27:30 (ARCGIS) Updating feature ArcReader
22:27:30 (ARCGIS) Updating feature ArcScan
22:27:30 (ARCGIS) Updating feature ArcSdeConnects
22:27:30 (ARCGIS) Updating feature ArcSdeServer
22:27:30 (ARCGIS) Updating feature ArcSdl
22:27:30 (ARCGIS) Updating feature ArcServer
22:27:30 (ARCGIS) Updating feature ArcStorm
22:27:30 (ARCGIS) Updating feature ArcStormEnable
22:27:30 (ARCGIS) Updating feature ArcView
22:27:30 (ARCGIS) Updating feature ArcView3
22:27:30 (ARCGIS) Updating feature ArcView31
22:27:30 (ARCGIS) Updating feature ArcView4
22:27:30 (ARCGIS) Updating feature Austria
22:27:30 (ARCGIS) Updating feature AV3D1
22:27:30 (ARCGIS) Updating feature AVArcPress1
22:27:30 (ARCGIS) Updating feature Avenue
22:27:30 (ARCGIS) Updating feature AVIMAGE1
22:27:30 (ARCGIS) Updating feature AVIMS1
22:27:30 (ARCGIS) Updating feature AVIMSGIF
22:27:30 (ARCGIS) Updating feature AVLAND1
22:27:30 (ARCGIS) Updating feature AVNetwork1
22:27:30 (ARCGIS) Updating feature AVNetwork2
22:27:30 (ARCGIS) Updating feature AVSpatial1
22:27:30 (ARCGIS) Updating feature AVSpatial2
22:27:30 (ARCGIS) Updating feature AVSurface1
22:27:30 (ARCGIS) Updating feature AVSurface2
22:27:30 (ARCGIS) Updating feature AVTRACK1
22:27:30 (ARCGIS) Updating feature AVVRP1
22:27:30 (ARCGIS) Updating feature BaseBISData
22:27:30 (ARCGIS) Updating feature Belgium
22:27:30 (ARCGIS) Updating feature BingMaps
22:27:30 (ARCGIS) Updating feature BingMapsEng
22:27:30 (ARCGIS) Updating feature Business
22:27:30 (ARCGIS) Updating feature BusinessPrem
22:27:30 (ARCGIS) Updating feature COGO
22:27:30 (ARCGIS) Updating feature Coverages
22:27:30 (ARCGIS) Updating feature DataReViewer
22:27:30 (ARCGIS) Updating feature DB2
22:27:30 (ARCGIS) Updating feature Defense
22:27:30 (ARCGIS) Updating feature DefenseINTL
22:27:30 (ARCGIS) Updating feature DefenseINTLEng
22:27:30 (ARCGIS) Updating feature DefenseUS
22:27:30 (ARCGIS) Updating feature DefenseUSEng
22:27:30 (ARCGIS) Updating feature Denmark
22:27:30 (ARCGIS) Updating feature Designer
22:27:30 (ARCGIS) Updating feature DMTIData
22:27:30 (ARCGIS) Updating feature Editor
22:27:30 (ARCGIS) Updating feature Foundation
22:27:30 (ARCGIS) Updating feature France
22:27:30 (ARCGIS) Updating feature GDBEdit
22:27:30 (ARCGIS) Updating feature GeoStats
22:27:30 (ARCGIS) Updating feature Germany
22:27:30 (ARCGIS) Updating feature Grid
22:27:30 (ARCGIS) Updating feature ImageExt
22:27:30 (ARCGIS) Updating feature Informix
22:27:30 (ARCGIS) Updating feature IntelAgency
22:27:30 (ARCGIS) Updating feature Internal
22:27:30 (ARCGIS) Updating feature Interop
22:27:30 (ARCGIS) Updating feature InteropEngine
22:27:30 (ARCGIS) Updating feature Italy
22:27:30 (ARCGIS) Updating feature JTX
22:27:30 (ARCGIS) Updating feature Luxembourg
22:27:30 (ARCGIS) Updating feature MajorRdEurope
22:27:30 (ARCGIS) Updating feature Maplex
22:27:30 (ARCGIS) Updating feature MaplexEngine
22:27:30 (ARCGIS) Updating feature MappingAgency
22:27:30 (ARCGIS) Updating feature MPSAtlas
22:27:30 (ARCGIS) Updating feature MrSID
22:27:30 (ARCGIS) Updating feature Nautical
22:27:30 (ARCGIS) Updating feature Netherlands
22:27:30 (ARCGIS) Updating feature Network
22:27:30 (ARCGIS) Updating feature NetworkEngine
22:27:30 (ARCGIS) Updating feature Plotting
22:27:30 (ARCGIS) Updating feature Portugal
22:27:30 (ARCGIS) Updating feature Publisher
22:27:30 (ARCGIS) Updating feature Reader
22:27:30 (ARCGIS) Updating feature ReaderPro
22:27:30 (ARCGIS) Updating feature SchematicEngine
22:27:30 (ARCGIS) Updating feature Schematics
22:27:30 (ARCGIS) Updating feature SchematicsSDK
22:27:30 (ARCGIS) Updating feature SdePersonal
22:27:30 (ARCGIS) Updating feature SdeStandard
22:27:30 (ARCGIS) Updating feature SdeWorkGroup
22:27:30 (ARCGIS) Updating feature Spain
22:27:30 (ARCGIS) Updating feature SpatialEngine
22:27:30 (ARCGIS) Updating feature StandardEngine
22:27:30 (ARCGIS) Updating feature StreetMap
22:27:30 (ARCGIS) Updating feature StreetMapBA
22:27:30 (ARCGIS) Updating feature Survey
22:27:30 (ARCGIS) Updating feature SvrAdvanced
22:27:30 (ARCGIS) Updating feature SvrEnterprise
22:27:30 (ARCGIS) Updating feature SvrStandard
22:27:30 (ARCGIS) Updating feature Sweden
22:27:30 (ARCGIS) Updating feature Switzerland
22:27:30 (ARCGIS) Updating feature Sybase
22:27:30 (ARCGIS) Updating feature TIFFLZW
22:27:30 (ARCGIS) Updating feature TIN
22:27:30 (ARCGIS) Updating feature Tracking
22:27:30 (ARCGIS) Updating feature TrackingEngine
22:27:30 (ARCGIS) Updating feature UnitedKingdom
22:27:30 (ARCGIS) Updating feature VBA
22:27:30 (ARCGIS) Updating feature Vector
22:27:30 (ARCGIS) Updating feature Viewer
22:27:30 (ARCGIS) Updating feature VirtualEarthEng
22:27:30 (ARCGIS) Rereading options file...
22:27:30 (ARCGIS) ...Finished rereading
22:31:42 (ARCGIS) OUT: "ARC/INFO" Administrator@geoplat