arcgis-cookbook: Unable to Authorize Portal on Linux EC2 using Cinc
We are attempting to install ArcGIS Enterprise on a Linux EC2 machine and after working through a few issues, we are now stuck on the Portal Authorization step.
Below is the error getting thrown.
arcgis_enterprise_portal[Authorize Portal for ArcGIS] action authorize[2022-03-02T10:04:55-05:00] WARN: Util.wait_until_url_available timed out for https://[maskedIPaddress]:7443/arcgis/portaladmin after 2206.21 seconds.
================================================================================
Error executing action `authorize` on resource 'arcgis_enterprise_portal[Authorize Portal for ArcGIS]'
================================================================================
Net::HTTPFatalError
-------------------
503 "Service Unavailable"
Cookbook Trace: (most recent call first)
----------------------------------------
/root/.cinc/local-mode-cache/cache/cookbooks/arcgis-enterprise/libraries/portal_admin_client.rb:854:in `send_request'
/root/.cinc/local-mode-cache/cache/cookbooks/arcgis-enterprise/libraries/portal_admin_client.rb:750:in `is_user_type_licensing'
/root/.cinc/local-mode-cache/cache/cookbooks/arcgis-enterprise/providers/portal.rb:256:in `block in class_from_file'
Resource Declaration:
---------------------
# In /root/.cinc/local-mode-cache/cache/cookbooks/arcgis-enterprise/recipes/portal.rb
54: arcgis_enterprise_portal 'Authorize Portal for ArcGIS' do
55: authorization_file node['arcgis']['portal']['authorization_file']
56: authorization_file_version node['arcgis']['portal']['authorization_file_version']
57: user_license_type_id node['arcgis']['portal']['user_license_type_id']
58: portal_url node['arcgis']['portal']['url']
59: username node['arcgis']['portal']['admin_username']
60: password node['arcgis']['portal']['admin_password']
61: action :authorize
62: end
63:
Compiled Resource:
------------------
# Declared in /root/.cinc/local-mode-cache/cache/cookbooks/arcgis-enterprise/recipes/portal.rb:54:in `from_file'
arcgis_enterprise_portal("Authorize Portal for ArcGIS") do
action [:authorize]
default_guard_interpreter :default
declared_type :arcgis_enterprise_portal
cookbook_name "arcgis-enterprise"
recipe_name "portal"
setup_options ""
authorization_file "/opt/software/authorization_files/10.9.1/ArcGIS_Enterprise_Portal_109_353098_20211203.json"
authorization_file_version "10.9.1"
user_license_type_id ""
portal_url "https://[maskedIPaddress]:7443/arcgis"
username "portaladmin"
password "*********"
content_store_type "fileStore"
content_store_provider "FileSystem"
log_level "WARNING"
system_properties {}
user_store_config {}
role_store_config {}
end
System Info:
------------
chef_version=17.9.52
platform=redhat
platform_version=8.5
ruby=ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux]
program_name=/bin/cinc-client
executable=/opt/cinc/bin/cinc-client
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 30 (14 by maintainers)
closing issue, as we worked with Esri Support to resolve all related issues.
And this is the log file now.
[root@ip-[MaskedIP] .Setup]# more softwareauthorization.log Unable to load library icui18n “Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)” The following features were authorized
svradv svrenterprise networkserver arcsdeserver svradv_4
Hi Cameron - I did the offline method (not preferred) and it seemed to work. I re-ran the installer as root with the .json file btw. However, I am now seeing a permission error but it doesn’t specify what folder it needs to write to. Shouldn’t the installer automatically adjust permissions accordingly?
arcgis_enterprise_server[Authorize ArcGIS Server] action authorize
arcgis_enterprise_server[Stop ArcGIS Server] action stop
file[Cache server authorization file] action create (skipped due to only_if)
file[Cache server authorization file] action nothing (skipped due to action :nothing)
template[/opt/arcgis/server/framework/etc/hostname.properties] action create
arcgis_enterprise_server[Stop ArcGIS Server] action stop
directory[Delete ArcGIS Server certificates directory] action delete
arcgis_enterprise_server[Stop ArcGIS Server] action nothing (skipped due to action :nothing)
directory[Delete ArcGIS Server certificates directory] action nothing (skipped due to action :nothing)
arcgis_enterprise_server[Start ArcGIS Server] action start
directory[/gisdata/arcgisserver] action create
directory[/opt/arcgis/server/usr/logs] action create
arcgis_enterprise_server[Create ArcGIS Server site] action create_site[2022-03-08T08:11:27-05:00] ERROR: Failed to create ArcGIS Server site. Failed to create the site. The specified configuration store location is not accessible. Ensure that the ArcGIS Server account has read and write access to the location.