Create Site: Failed to Register Activation Group

2821
1
04-10-2019 07:42 AM
BenRomlein
Occasional Contributor

I have a fresh install of ArcGIS Server 10.7 Linux and I'm getting this error when I try to create a site through the Server Manager web interface.

All the threads I've read about this seem to indicate it's a license issue. I've tried Authorizing with a .prvc file through both the command line tool and the GUI and both methods display successful completion messages at the end. I've also tried stopping the server, deleting the keycodes file, re-authorizing, and starting the server.

When I check the Authorization status:

tools/authorizeSoftware -s
--------------------------------------------------------------------------
Starting the ArcGIS Software Authorization Wizard

Run this script with -h for additional information.
--------------------------------------------------------------------------
Product Ver ECP# Expires
-------------------------------------------------
arcsdeserver 107 ecp######### 28-aug-2019
datareviewersvr 107 ecp######### 28-aug-2019
highwayssvr 107 ecp######### 28-aug-2019
jtxserver 107 ecp######### 28-aug-2019
networkserver 107 ecp######### 28-aug-2019
svradv 107 ecp######### 28-aug-2019
svradv_4 107 ecp######### 28-aug-2019
svrenterprise 107 ecp######### 28-aug-2019
utilnetworksvr 107 ecp######### 28-aug-2019

In the server log I see:

<Msg time="2019-04-10T08:41:59,338" type="INFO" code="7252" source="Admin" process="10606" thread="1" methodName="" machine="myMachine" user="" elapsed="" requestID="">Creating a new site.</Msg>
<Msg time="2019-04-10T08:41:59,339" type="INFO" code="7064" source="Admin" process="10606" thread="1" methodName="" machine="myMachine" user="" elapsed="" requestID="">Checking and validating server licenses.</Msg>
<Msg time="2019-04-10T08:41:59,339" type="INFO" code="7241" source="Admin" process="10606" thread="1" methodName="" machine="myMachine" user="" elapsed="" requestID="">Server license check was successful.</Msg>
<Msg time="2019-04-10T08:41:59,339" type="FINE" code="7510" source="Admin" process="10606" thread="1" methodName="" machine="myMachine" user="" elapsed="" requestID="">Time elapsed in 'License' module is '0 millis (~ 0 minutes)'.</Msg>

... ....

<Msg time="2019-04-10T08:42:01,40" type="SEVERE" code="6533" source="Admin" process="10606" thread="1" methodName="" machine="myMachine" user="" elapsed="" requestID="">Failed to create the site. com.esri.arcgis.discovery.servicelib.AGSException:
Failed to register the activation group.</Msg>

I can't really tell if my software authorization was successful or not. What is the authorization status supposed to look like? Should I have a line for arcgisserver in there? Or is the software properly licensed/authorized and this issue related to something else entirely?

EDIT: I just tried re-installing and re-authorizing ArcGIS Server after stopping both firewalld and iptables services with the same results.

0 Kudos
1 Reply
BenRomlein
Occasional Contributor

I was able to resolve this problem by ensuring that all the IP addresses registered to the machine resolved to the same hostname.

The cloud environment I was using gave the instance an internal IP that didn't resolve to the DNS hostname (in addition to the public one that did resolve--discovered this by checking the outputs of hostname -i and hostname -I). Adding a line to /etc/hosts to assign the fully qualified domain name of the machine to the internal address (output of hostname -I) and then installing ArcGIS Server fixed the problem.

0 Kudos