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 ("--").
上次发布: May 14, 2018ArcGIS GIS Server
漏洞 ID 编号
BUG-000113840
已提交
May 8, 2018
上次修改时间
June 5, 2024
适用范围
ArcGIS GIS Server
找到的版本
10.6
操作系统
Windows OS
操作系统版本
2012 R2
修正版本
10.7
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
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.