Attempting to create an ArcGIS Server site in a Linux environment returns the following error message:
Error: Failed to create the site. Querying for licenses failed. The machine does not have a valid license. Please authorize ArcGIS Server by running the authorizeSoftware script found under '<installation directory>/ArcGIS/server/tools'.
There are three possible causes for this error:
Perform the following workarounds in sequence to resolve the issue.
Use the correct syntax
authorizeSoftware: Show SoftwareAuthorization Wizard GUI authorizeSoftware <-s>: Obtain authorization status authorizeSoftware <-h>: help/usage authorizeSoftware <-f .ecp>: Authorize using an .ecp license file authorizeSoftware <-f .prvc> <-e email>: Authorize using a .prvc license file authorizeSoftware <-f .prvc> <-e email> <-o filename.txt>: Generate an authorization file to be uploaded to Esri's Website or e-mail to receive an .ecp license file when machine is not connected to Internet
Note: When using a .prvc file to authorize the software, ensure the mandatory -e flag is not left out. This is a common oversight when authorizing using these syntaxes. For a complete list of available parameters, refer to ArcGIS Enterprise: Silently Authorize ArcGIS Server.
Ensure the license version matches the ArcGIS Server version
Populate empty fields in the .prvc file