Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure-ArcGIS hangs on ArcGIS_License #103

Closed
ghost opened this issue Oct 10, 2018 · 2 comments
Closed

Configure-ArcGIS hangs on ArcGIS_License #103

ghost opened this issue Oct 10, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 10, 2018

I have 2 Azure VMs on which I'm trying to use a customized BaseDeployment-SingleMachine.json. On both instances, I have .ecp files stored on the d:\ drive, and the "LicenseFilePath" entries in the .json file reference these:

"Server":  {
                                      "LicenseFilePath":   "D:\\Authorization_Files\\ArcGIS Server keycodes.ecp",
}
"Portal":  {
                                      "LicenseFilePath": "D:\\Authorization_Files\\Portal for ArcGIS keycodes.ecp",
}

The installation appears to finish without error, but the ArcGISLicense process hangs:

Dot Sourcing the Configuration:- ArcGISLicense
Compiling the Configuration:- ArcGISLicense


    Directory: C:\Users\BAILEJO\ArcGISLicense


Mode                LastWriteTime         Length Name                                                                                                                         
----                -------------         ------ ----                                                                                                                         
-a----       10/10/2018   9:10 AM           3298 TC-EGIS-DSC.mof                                                                                                              
Starting DSC Job:- ArcGISLicense
VERBOSE: Time taken for configuration job to complete is 0.006 seconds
[TC-EGIS-DSC]: LCM:  [ Start  Set      ]
[TC-EGIS-DSC]: LCM:  [ Start  Resource ]  [[ArcGIS_License]ServerLicenseTC-EGIS-DSC]
[TC-EGIS-DSC]: LCM:  [ Start  Test     ]  [[ArcGIS_License]ServerLicenseTC-EGIS-DSC]
[TC-EGIS-DSC]: LCM:  [ End    Test     ]  [[ArcGIS_License]ServerLicenseTC-EGIS-DSC]  in 0.7070 seconds.
[TC-EGIS-DSC]: LCM:  [ Start  Set      ]  [[ArcGIS_License]ServerLicenseTC-EGIS-DSC]

As you can see, this process started at 9:10 AM. It's currently 2:29 PM. Similar results on the other machine.

@nshampur
Copy link
Collaborator

@spatialbridge .. we currently have a bug where if the license file has spaces, the license utility hangs (due to command line arguments formatting)
Till this bug is fixed, please rename your license file and remove whitespaces. That should unblock you

@shailesh91
Copy link
Contributor

@spatialbridge The Bug has been fixed and merged. Should be soon available on Powershell Gallery as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants