ArcGIS Server 10.3 Upgrade Join Machine Issue

5255
4
Jump to solution
05-06-2015 11:26 AM
IgorBalotsky1
Occasional Contributor

Hello,

I had a 2 server cluster running in ArcGIS Server 10.2.2 and I upgraded to 10.3. I noticed that the one server that got successfully upgraded is in the cluster, but after I upgraded the second server and attempted it rejoin in to the cluster, I got the following error:

Failed to join the site 'http://server01:6080/arcgis/admin'. Server machine 'http://server01:6080/arcgis/admin/machines/register' returned an error. 'A JSONObject text must begin with '{' at character 0 of '

Does anyone know how to get around this or has seen this before?

Thanks,

Igor

1 Solution

Accepted Solutions
IgorBalotsky1
Occasional Contributor

I have solved the problem and the issue was that there were some files and folder pertaining to the machine that was giving errors in the config-store\machines folder. I had to remove all these files and then the joining worked.

Igor

View solution in original post

4 Replies
JakeSkinner
Esri Esteemed Contributor

Hi Igor,

I've seen this error when trying to join a site using the URL http://hostname:6080 (withouth /arcgis/admin).  Try joining with the following URL:

http://hostname:6080/arcgis/admin

0 Kudos
IgorBalotsky1
Occasional Contributor

I have solved the problem and the issue was that there were some files and folder pertaining to the machine that was giving errors in the config-store\machines folder. I had to remove all these files and then the joining worked.

Igor

KennethOGuinn
New Contributor III

I did want to mention that one way I've found to work around these kinds of problems is to browse to the Manager page >Site > Machines, and remove the problematic machine from the site. Then add it back in. If something has gone haywire, this normally helps smooth it out. Though as a warning, if things are not working correctly to begin with, you may find yourself with the machine removed and difficulties adding it back in.

As a result, I normally recommend to anyone with a 10.2 or newer server to take advantage of the backup functionality before making any changes to the server. Here are the docs for this as well.

http://resources.arcgis.com/en/help/main/10.2/index.html#//015500000666000000 - Linux instructions

http://resources.arcgis.com/en/help/main/10.2/0154/01540000065s000000.htm ​- Windows Instructions

JoshuaDalton
New Contributor III

We were getting same error when trying to re-register a machine with site after it went bad, and had been rebuilt.  We got the JSONObject error "'A JSONObject text must begin with '{' at character 0 of '".  The machine was not listed in the admin endpoint for the live main site, but it still had files left over in the config-store\machines folder.  Once I removed those files, the site was able to register with the server once again.

Thanks for the fix!

0 Kudos