AnsweredAssumed Answered

Cannot create new site using ArcGIS Server 10-2?

Question asked by jarredgrignon on May 7, 2018

We are trying to create a new ArcGIS site on a fresh install of ArcGIS 10.2 and are having issues with the site being created. The arcgis server is locally hosted, and the tomcat service looks to be running / hosting the site web services from what we can tell. We’ve attempted several reinstalls with the same issue.

Our ‘serverinfo’ report looks like the following, for reference:

 

Server: 10.2.3370
JRE: 1.7.0_17
Tomcat: 7.0.32.0
Geronimo: 2.2.2
Wine: v1.4-rc1-final-99-g80c19d7


We’re using the ‘create a site’ example code located at https://enterprise.arcgis.com/en/server/10.3/administer/linux/example-create-a-site.htm.

When we use this, we receive the following error:

Error returned by operation. {"status":"error","messages":["Connection to callback URL 'http://arcgis:6080/arcgis/services' failed. For more information, see the ArcGIS Server help topic \u0091Ports used by ArcGIS Server\u0092. You can access this topic in the table of contents by navigating to Administering ArcGIS for Server > Securing your ArcGIS Server site > Configuring a secure environment for ArcGIS Server."]}

Attempting to create the site using the web UI via /arcgis/manager provides the same result. Curling 'http://arcgis:6080/arcgis/services' provides a response of “HTTP Status 400”, “The request sent by the client was syntactically incorrect.”

Below is the output from the arcgis server log when the site creation is attempted.

 

<Msg time="2018-05-01T10:47:11,224" type="VERBOSE" code="7711" source="Admin" process="18460" thread="1" methodName="" machine="TBX7" user="" elapsed="">ArcGIS Server is using 0 file handles out of a total limit of 65,535.</Msg>
<Msg time="2018-05-01T10:47:15,87" type="INFO" code="9011" source="Rest" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Application initialized.</Msg>
<Msg time="2018-05-01T10:47:16,344" type="INFO" code="7702" source="Admin" process="18460" thread="1" methodName="" machine="TBX7" user="" elapsed="">Web server started successfully.</Msg>
<Msg time="2018-05-01T10:48:48,256" type="INFO" code="7252" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Creating a new site.</Msg>
<Msg time="2018-05-01T10:48:48,261" type="INFO" code="7064" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Checking and validating server licenses.</Msg>
<Msg time="2018-05-01T10:48:48,271" type="INFO" code="7241" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server license check was successful.</Msg>
<Msg time="2018-05-01T10:48:48,272" type="INFO" code="7061" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Creating and initializing the configuration store.</Msg>
<Msg time="2018-05-01T10:48:48,272" type="INFO" code="6507" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Initializing the configuration store.</Msg>
<Msg time="2018-05-01T10:48:48,329" type="INFO" code="7046" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Creating the configuration store at '/mnt/mpa/arcgis/server/usr/config-store'</Msg>
<Msg time="2018-05-01T10:48:48,392" type="INFO" code="7242" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Configuration store initialization was successful.</Msg>
<Msg time="2018-05-01T10:48:48,394" type="INFO" code="7055" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Creating administrator account.</Msg>
<Msg time="2018-05-01T10:48:48,455" type="INFO" code="7243" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Security configuration was successful.</Msg>
<Msg time="2018-05-01T10:48:48,462" type="INFO" code="7052" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Creating server directories at '/mnt/mpa/arcgis/server/usr/directories/'.</Msg>
<Msg time="2018-05-01T10:48:48,462" type="INFO" code="6509" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Registering the server directory 'arcgiscache'.</Msg>
<Msg time="2018-05-01T10:48:48,531" type="INFO" code="6575" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server directory 'arcgiscache' was registered successfully.</Msg>
<Msg time="2018-05-01T10:48:48,532" type="INFO" code="6509" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Registering the server directory 'arcgisjobs'.</Msg>
<Msg time="2018-05-01T10:48:48,541" type="INFO" code="6575" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server directory 'arcgisjobs' was registered successfully.</Msg>
<Msg time="2018-05-01T10:48:48,541" type="INFO" code="6509" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Registering the server directory 'arcgisoutput'.</Msg>
<Msg time="2018-05-01T10:48:48,552" type="INFO" code="6575" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server directory 'arcgisoutput' was registered successfully.</Msg>
<Msg time="2018-05-01T10:48:48,552" type="INFO" code="6509" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Registering the server directory 'arcgissystem'.</Msg>
<Msg time="2018-05-01T10:48:48,565" type="INFO" code="6575" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server directory 'arcgissystem' was registered successfully.</Msg>
<Msg time="2018-05-01T10:48:48,565" type="INFO" code="6509" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Registering the server directory 'arcgisuploads'.</Msg>
<Msg time="2018-05-01T10:48:48,578" type="INFO" code="6575" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server directory 'arcgisuploads' was registered successfully.</Msg>
<Msg time="2018-05-01T10:48:48,578" type="INFO" code="6509" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Registering the server directory 'arcgisinput'.</Msg>
<Msg time="2018-05-01T10:48:48,590" type="INFO" code="6575" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server directory 'arcgisinput' was registered successfully.</Msg>
<Msg time="2018-05-01T10:48:48,590" type="INFO" code="6509" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Registering the server directory 'kml'.</Msg>
<Msg time="2018-05-01T10:48:48,602" type="INFO" code="6575" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server directory 'kml' was registered successfully.</Msg>
<Msg time="2018-05-01T10:48:48,603" type="INFO" code="6509" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Registering the server directory 'arcgisindex'.</Msg>
<Msg time="2018-05-01T10:48:48,615" type="INFO" code="6575" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server directory 'arcgisindex' was registered successfully.</Msg>
<Msg time="2018-05-01T10:48:48,615" type="INFO" code="6509" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Registering the server directory 'arcgisjobregistry'.</Msg>
<Msg time="2018-05-01T10:48:48,630" type="INFO" code="6575" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server directory 'arcgisjobregistry' was registered successfully.</Msg>
<Msg time="2018-05-01T10:48:48,662" type="INFO" code="7244" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server directories were successfully created and initialized.</Msg>
<Msg time="2018-05-01T10:48:48,662" type="INFO" code="7063" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Configuring the GIS server machine.</Msg>
<Msg time="2018-05-01T10:48:48,847" type="INFO" code="7245" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server machine was successfully configured.</Msg>
<Msg time="2018-05-01T10:48:48,851" type="INFO" code="7246" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Configuration store connection file was written to disk.</Msg>
<Msg time="2018-05-01T10:48:48,852" type="INFO" code="7056" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Configuring the default cluster.</Msg>
<Msg time="2018-05-01T10:48:48,876" type="INFO" code="6514" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Creating the cluster 'default'.</Msg>
<Msg time="2018-05-01T10:48:59,255" type="INFO" code="6549" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server machine 'TBX7' started successfully.</Msg>
<Msg time="2018-05-01T10:48:59,258" type="INFO" code="6517" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Cluster 'default' started successfully.</Msg>
<Msg time="2018-05-01T10:49:00,157" type="INFO" code="6515" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Cluster 'default' successfully created.</Msg>
<Msg time="2018-05-01T10:49:00,184" type="INFO" code="7253" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Testing the callback URL 'http://arcgis:6080/arcgis/services'.</Msg>
<Msg time="2018-05-01T10:49:06,771" type="SEVERE" code="7254" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Connection to callback URL 'http://arcgis:6080/arcgis/services' failed. For more information, see the ArcGIS Server help topic Ports used by ArcGIS Server. You can access this topic in the table of contents by navigating to Administering ArcGIS for Server &gt; Securing your ArcGIS Server site &gt; Configuring a secure environment for ArcGIS Server.</Msg>
<Msg time="2018-05-01T10:49:06,771" type="SEVERE" code="6533" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Failed to create the site. java.lang.Exception: Connection to callback URL 'http://arcgis:6080/arcgis/services' failed. For more information, see the ArcGIS Server help topic Ports used by ArcGIS Server. You can access this topic in the table of contents by navigating to Administering ArcGIS for Server &gt; Securing your ArcGIS Server site &gt; Configuring a secure environment for ArcGIS Server.</Msg>
<Msg time="2018-05-01T10:49:06,777" type="INFO" code="7057" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Disconnecting the site from the configuration store.</Msg>
<Msg time="2018-05-01T10:49:08,959" type="INFO" code="6552" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server machine 'TBX7' was stopped successfully .</Msg>
<Msg time="2018-05-01T10:49:08,960" type="INFO" code="6519" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Cluster 'default' stopped successfully.</Msg>
<Msg time="2018-05-01T10:49:09,84" type="INFO" code="6552" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Server machine 'TBX7' was stopped successfully .</Msg>
<Msg time="2018-05-01T10:49:09,415" type="INFO" code="6523" source="Admin" process="18615" thread="12" methodName="" machine="TBX7" user="" elapsed="">Cluster 'default' was deleted successfully. </Msg>

Outcomes