Failed to create the site. Failed to configure the server machine ...

2687
5
06-21-2018 12:11 PM

Failed to create the site. Failed to configure the server machine ...

I encountered the problem Jimmy Dobbins‌ describes in his post Failed to configure the server machine...not a local server machine‌ and wanted to add some information without burying it beneath his answer to the issue.

Every year, for the International User Conference, Esri's IST staff prepare an image for hundreds of computers in the Showcase. Why I've never encountered this issue before, I have no idea, but this year I was seeing the following error in the ArcGIS Server Manager web application when attempting to 'Create Site':

Failed to create the site. Failed to configure the server machine 'WHATEVER-NAME.ESRI.COM'.
Server machine 'WHATEVER-NAME.ESRI.COM' is not a local server machine.

It turns our that there is an XML file, which the ArcGIS Server Manager creates, which contains information on the machine. The machine image, of course, picks up this file, and when the machine to which the image is applied is assigned a different name, ArcGIS Server site creation fails.

The solution is to either edit the XML file to update the machine name to match the localhost's current name ... or stop the ArcGIS Server service, delete (or simply rename) the XML file, then restart ArcGIS Server and launch the Server Manager web application (which should recreate the XML file with the correct machine name). Here's the file path and name:

C:\Program Files\ArcGIS\Server\framework\etc\machine-config.xml

Illustration attached -

RJ

Attachments
Comments

Thanks! Great post! Helped me! 

Hi, I am having the same error message when I create arcgis server site. I have installed ArcGIS Server 10.7.1 in Linux OS (Red Hat Enterprise Linux Server 7.6 (Maipo)). I cannot find machine-config.xml file in my installation directory. /app/datavg/arcgis/server/framework/etc/.  May I know how to resolve this issue in Linux environment?

Thanks in advance.

Hi August,

Can you try this location:

<install_directory>/arcgis/server/framework/runtime/.wine/drive_c/Program Files/ArcGIS/Server/framework/etc/

If this did not work, please let me know and I can create a Technical Support case for you.

Regards,

Richardson

Hi Richardson,

Thank you for the reply. I found  the machine-config.xml file in <install_directory>/arcgis/server/framework/runtime/.wine/drive_c/Program Files/ArcGIS/Server/framework/etc/ folder.

I have overcome the issue by adding below line in the /etc/hosts file. 

127.0.0.1   <machinehostname>

The arcgis server is up and running now. Do I still need to change in the machine-config.xml file with actual machine name? Currently machine-config.xml file is using LOCALHOST. Below is the screenshot of current machine-config.xml file.

Hi August,

I am glad that adding a entry in the /etc/hosts file resolved the issue for you.

Since everything is running fine now, I would recommend 'not' making any changes to the machine-config.xml file.

Regards,
Richardson

Version history
Revision #:
1 of 1
Last update:
‎06-21-2018 12:11 PM
Updated by:
 
Contributors