laptop and a wrench

Bogue

Publishing hosted feature layers in Portal for ArcGIS fails if the ArcGIS Data Store resides on a machine with the hostname containing two consecutive dashes ("--").

Dernière publication: May 14, 2018 ArcGIS GIS Server
Numéro d’ID de bogue BUG-000113840
EnvoiMay 8, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS GIS Server
Version trouvée10.6
Système d’exploitationWindows OS
Version du système d’exploitation2012 R2
Version de correction10.7
StatutFixed

Solution de contournement

One approach is to change the machine name. However, a workaround that doesn't require renaming the machine is to instead simply give the machine another name.  An IP address can have multiple DNS entries.  That way this machine would comply with the naming rules of the IT department and work properly with our software.  This can be accomplished by editing the /etc/hosts files. It’s important to make these entries in the ArcGIS Data Store machine and ArcGIS Server machine or machines as well. When the ArcGIS Data Store service restarts, it will pick up that hostname as its own machine name and tell ArcGIS Server the same thing. Verify that the hostname changes for the registered Data Store in the Admin API under arcgis/admin/data/items/enterpriseDatabases/<ds_name>/machines. It should list the new machine name without the double dash. You should be able to publish a hosted service after this change is made.  In the event that multiple IP addresses resolve, make changes for all that resolve.

Étapes pour reproduire

ID de bogue: BUG-000113840

Logiciel:

  • ArcGIS GIS Server

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement