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
Solved! Go to Solution.
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
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:
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
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
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!