This topic lists questions or issues that you may encounter when working with ArcGIS Server and suggests possible solutions. If you don't find the issue you're looking for, you can also search for articles on the Esri Support Center website.
Installation
- When starting ArcGIS Server, I get a warning stating that my /etc/hosts entry for this machine does not match the IP address of the machine.
- Why does the setup prevent me from installing ArcGIS Server if the ArcGIS Server installation user has a file handle limit of less than 65,535 and a process limit of less than 25,059?
- Why are some folders left behind after uninstalling?
- I get an error message about my license being expired.
Administration
- I am concerned about the security implications of the primary site administrator password reset (passwordreset.sh) script. What can I do about this?
- Will ArcGIS Server work when disconnected from the network?
- I'm attempting to connect to the server in ArcGIS Pro through ArcGIS Web Adaptor, and my connection fails.
- Can I safely rename a GIS server machine in my ArcGIS Server site?
- How do I set access permissions on files created by ArcGIS Server at run time?
- I disabled HTTP-based communication in my ArcGIS Server site and now I can't access the help using the installed shortcuts.
- How can I view the current hardware specifications of a machine in my ArcGIS Server site?
- I see an Invalid database connection or The data item is inaccessible error when I try to register a database with ArcGIS Server.
- ArcGIS Web Adaptor does not recognize unavailable machines or new machines I've added to my site.
- How do I change the temp directory used by ArcGIS Server?
- Can I configure the same ArcGIS Web Adaptor to work with both ArcGIS Server and Portal for ArcGIS?
ArcGIS Server Manager
- I attempted to create or join an ArcGIS Server site and something failed. How do I troubleshoot the issue?
- I can't sign in to ArcGIS Server Manager.
- Which browsers are supported by ArcGIS Server Manager?
- How do I retrieve my Bing Maps key from ArcGIS Server Manager?
- When attempting to publish a service definition file in ArcGIS Server Manager, I can only browse my local file system. Why can I not see the server's file system?
Services
- I have an asynchronous job running on my geoprocessing service that I want to cancel.
- Why can't I publish map documents, address locators, and other GIS resources to the ArcGIS Server site using ArcGIS Server Manager?
- After creating an ArcGIS Server site, I notice services appearing in the services list in ArcGIS Server Manager. What are these? Why can't I delete some of them?
- I added a service to a web app, but the service seems to be unavailable.
- I updated my map document then stopped and started my service, but I don't see the updates in my map service.
- How do I install custom fonts for use with ArcGIS Server?
- I try to publish a service definition in ArcGIS Server Manager and my browser crashes.
- I encounter an error in ArcGIS Pro when attempting to publish a GIS resource that references data in a Microsoft Windows file share.
- I encounter an error in ArcGIS Pro when attempting to publish a GIS resource that references data in a Samba directory.
- What Open Geospatial Consortium (OGC)-compliant services can I publish with ArcGIS Server?
- I'm having trouble creating a service that contains layers from a database or geodatabase.
- I started creating a map cache, and it's taking a long time. When will it finish?
- I recently updated my map caches. Are client applications automatically aware that the updated tiles are available?
- I get an error message that says publishing of geoprocessing services is restricted. How can I resolve this?
Installation
When starting ArcGIS Server, I get a warning stating that my /etc/hosts entry for this machine does not match the IP address of the machine.
ArcGIS Server has several processes that communicate among themselves. Therefore, the machine's IP address for the machine must be correct for those components to work. There are two ways to address this issue:
- Remove the entry in the hosts file for the machine.
- If the entry is needed for some other purpose required by your organization, update the IP address. To make these changes, superuser access is required. To obtain the current IP address, run the ifconfig command. Then, open /etc/hosts in a text editor and either delete or modify the line.
Why does the setup prevent me from installing ArcGIS Server if the ArcGIS Server installation user has a file handle limit of less than 65,535 and a process limit of less than 25,059?
ArcGIS Server is a data-intensive server product, and many of its data formats consist of hundreds of thousands of files. In heavily used systems, thousands or tens of thousands of files may be in use at any given time. If there are insufficient file handles and processes, requests may start failing randomly, leading to system downtime. The actual number of file handles and processes needed varies based on the data and the number of instances (threads/processes) running. Setting a file handle limit of 65,535 and a process limit of 25,059 will allow you to ensure that the system remains running.
There are soft and hard limits for file handles and processes on Linux. To determine the hard limits, use the ulimit -Hn -Hu command (or limit -h descriptors if you're using csh). To determine the soft limits, use the ulimit -Sn -Su command (or limit descriptors if you're using csh).
To increase the soft and hard limits, you must edit the /etc/security/limits.conf file with superuser access. For example, you can add four lines in the file as follows:
<ArcGIS Server installation user> soft nofile 65535
<ArcGIS Server installation user> hard nofile 65535
<ArcGIS Server installation user> soft nproc 25059
<ArcGIS Server installation user> hard nproc 25059
After making this change, you must log out and log back in with the particular user for the new values to take effect. To verify that the limits have been modified appropriately, use the ulimit -Hn -Hu and ulimit -Sn -Su commands as described above.
When you uninstall ArcGIS Server, some folders and files are left on disk. These are left for your convenience if you reinstall or upgrade the product. If you don't plan to reinstall, you can delete these files.
You may notice persisting files located at <ArcGIS Server installation directory>/arcgis/server/usr that include the following:
- server directories
- config-store
- log files
Leaving these folders preserves map caches, your installation configuration, and other server resources that you may want to keep if you reinstall. Server directories that you created and registered on your own are also not affected by uninstalling.
If you receive a message about your license being expired, contact Esri Customer Service to obtain a new license and reauthorize ArcGIS Server using the ArcGIS Software Authorization Wizard.
Administration
I am concerned about the security implications of the primary site administrator password reset (passwordreset.sh) script. What can I do about this?
If you are in a highly secure environment, you should restrict file permissions to the configuration store, and disable the primary site administrator account. Performing these two tasks ensures that the primary site administrator account password reset script will have no effect on the security of your site.
To learn more, see Best practices for configuring a secure environment.
If you have multiple machines participating in your ArcGIS Server site, the site requires the network to function.
If you have a one-machine deployment—that is, one machine participating in an ArcGIS Server site—ArcGIS Server will operate correctly when disconnected from the network as long as all the data referenced by your GIS services are stored locally on that machine. Additionally, if the machine is part of a domain and you have disconnected the computer from the domain, you must specify a local account as the ArcGIS Server account.
I'm attempting to connect to the server in ArcGIS Pro through ArcGIS Web Adaptor, and my connection fails.
If your server administrator has configured the ArcGIS Web Adaptor to block administrative access to the server, you will not be able to connect to the server in ArcGIS Pro through the ArcGIS Web Adaptor URL using an administrative or publisher connection. Alternatively, you can connect directly to the GIS server in ArcGIS Pro by using the URL format https://gisserver.domain.com:6443/arcgis. For more information, see Connect to ArcGIS Server from ArcGIS Pro.
Yes. ArcGIS Server automatically detects a machine name change and reconfigures your site to use the new name. After you use your operating system's tools to rename the machine, you may see the following message in the server logs:
ArcGIS Server has detected that the server machine [old machine name] has been changed to [new machine name]. ArcGIS Server will be updated automatically to use the new host name.
Depending on your site deployment, you may need to perform some additional steps to ensure that your site is configured properly to use the new machine name:
- If you enabled HTTPS for your site and your certificate was using the previous machine name, you must generate a new certificate and configure your site to use it. For full instructions, see Secure ArcGIS Server communication..
- If you configured ArcGIS Web Adaptor to use your previous machine name, you must configure it with a new URL that uses the updated machine name. For full instructions, see Configure ArcGIS Web Adaptor after installation.
The files generated by ArcGIS Server at run time are only accessible by the account running ArcGIS Server. To change the access permissions of the files generated at run time (for example, server logs), you must set the user file mode creation mask (umask) in the init_user_param.sh script. To edit this script, navigate to the <ArcGIS Server installation directory>/arcgis/server/usr directory.
- By default, umask is set to 077, which means that no other users can read or write data to the runtime files. This is sufficient for most private ArcGIS Server systems.
- If umask is set to 022, it allows only the account running ArcGIS Server to read and write data. However, anyone on the system can read the data.
- Setting umask to 002 is a good option when the account running ArcGIS Server shares data with other users in the same group. Keep in mind that members of the group to which the account running ArcGIS Server belongs can also create and modify data files. Those outside of the group are not allowed to create and modify data files.
- Setting umask to 007 completely excludes users who are not group members of the account running ArcGIS Server.
You must restart ArcGIS Server immediately after modifying access permissions for your changes to take effect. Keep in mind that once you modify the umask setting to a value other than 077, you have altered the access permissions of all the files created by ArcGIS Server at run time.
I disabled HTTP-based communication in my ArcGIS Server site and now I can't access the help using the installed shortcuts.
After disabling HTTP-based communication, you will be unable to access local help documentation from the installed shortcuts since they are configured to use HTTP in their URLs. As a workaround, you can manually modify the shortcuts to use HTTPS. Keep in mind that this only applies to local help resources, not content hosted on the web by Esri.
The Hardware Configuration resource in the ArcGIS Server Administrator Directory displays hardware information for the specified machine in your ArcGIS Server site, giving the specifications of the CPU and operating system, amount of system memory, and number of physical and logical processors. It updates the information when it detects any changes to the configuration of your machine, as well as each time the machine is restarted.
I see an Invalid database connection or The data item is inaccessible error when I try to register a database with ArcGIS Server.
These errors can appear if the database client software or libraries are not found on the server machine. Each machine in your ArcGIS Server site must have the 64-bit version of the database client software installed to allow ArcGIS Server to access the database. You must install these clients before you can register your database with ArcGIS Server. See Database clients for more information.
Restart ArcGIS Server after you install the database client software.
By default, ArcGIS Web Adaptor checks the site for new or unavailable machines every minute. If you've waited over one minute since a machine was added, removed, or disabled, and the Web Adaptor still doesn't recognize the changes, it could be because you changed the properties of the user who originally registered the Web Adaptor with the site.
For example, if the account used to register ArcGIS Web Adaptor with the site was disabled, the password changed, or the role type was demoted to a role that does not have administrative privileges, the Web Adaptor will be unable to check the status of your site for new or unavailable machines. To fix this issue, you'll need to reconfigure the Web Adaptor. For full instructions, see Configure ArcGIS Web Adaptor after installation.
The default location for the temp directory is <ArcGIS Server installation directory>/arcgis/server/temp. To specify a different temp directory, set the SERVER_TEMP_DIR variable in the init_user_param.sh script. To edit this script, browse to the <ArcGIS Server installation directory>/arcgis/server/usr directory. Remove the # sign in front of the SERVER_TEMP_DIR environment variable, and specify the location of a new temp directory. The location you specify must be accessible by the account that was used to install ArcGIS Server.
# -----------------------------------------------------------------------
# Modify this section to change the temp directory
#
# The default location for the temp directory is at
# <ArcGIS Server installation directory>/arcgis/server/temp.
# The specified directory needs to be accessible by the account
# that was used to install ArcGIS Server.
# -----------------------------------------------------------------------
#SERVER_TEMP_DIR=<Location_to_temp_directory>
For your settings to take effect in the init_user_param.sh script, you must restart ArcGIS Server. To restart, run the startserver.sh script on each machine in the site.
ArcGIS Server Manager
I attempted to create or join an ArcGIS Server site and something failed. How do I troubleshoot the issue?
If you encounter a failure when creating or joining an ArcGIS Server site, you can troubleshoot the issue by addressing the error messages reported in the create site or join site summary panel. Additionally, a log of the event is recorded on disk, located at <ArcGIS Server installation directory>/arcgis/server/usr/logs/<machine name>/server. The messages in the log can provide additional insight into what caused the issue. To view the log, browse to the logs directory and open the log in a text editor.
To sign in to Server Manager, you must provide a username and password that has been granted administrator or publisher privileges to the ArcGIS Server site. Usernames and passwords are case sensitive. You must provide the proper case to sign in to Server Manager. Contact your server administrator to find out which username and password you should use. If you are the administrator, provide the username and password that you specified when creating the site. For more information, see Log in to Manager.
It is recommended that you use ArcGIS Server Manager with a supported web browser.
The ability to retrieve your Bing Maps key using Server Manager was removed beginning at 10.1. Visit the My Esri website or contact your Esri customer service representative to find out about your key.
Services
A suite of resources and operations allow server administrators to locate, monitor, and intervene in asynchronous jobs being run by a geoprocessing service. Each of these are available by accessing the service's page in the ArcGIS Server Administrator Directory (URL format https://server:port/arcgis/admin/services/[<folder>]/<serviceName.serviceType>).
From the Jobs page, you can query for jobs that meet specific conditions, purge the queue of all jobs with a current status of NEW, SUBMITTED, or WAITING, and view statistics about the current jobs for the service.
From the page of a specific job, you can cancel the job if it currently carries a status of SUBMITTED or EXECUTING (keeping the job information in the system), or delete the job regardless of current status, which will remove all trace of it from the service and cancel the job if applicable.
Why can't I publish map documents, address locators, and other GIS resources to the ArcGIS Server site using ArcGIS Server Manager?
GIS resources that you attempt to publish to ArcGIS Server are put through a rigorous analysis process to make sure they are ready to be exposed on the web. To analyze your GIS resources before publishing, use ArcGIS Pro to publish services to ArcGIS Server.
However, if you are in a cloud or highly secure environment, you can create service definition files that can be published to ArcGIS Server using ArcGIS Server Manager. Service definition files offer you a way to take a snapshot of your GIS resources and data and publish them to ArcGIS Server as services at a later time. Any GIS resource can be analyzed and encapsulated as a service definition file. Once the service definition file is created, you can browse to it in ArcGIS Server Manager and publish it as a service.
After creating an ArcGIS Server site, I notice services appearing in the services list in ArcGIS Server Manager. What are these? Why can't I delete some of them?
The ArcGIS Server installation comes with a variety of preconfigured services that help you do common tasks such as the following:
- Caching maps and image services (CachingTools, ReportingTools)
- Publishing services (PublishingTools)
- Printing web maps (PrintingTools)
- Performing geometric calculations (Geometry)
- Previewing the functionality of ArcGIS Server (SampleWorldCities)
- Synchronizing data between clients and ArcGIS Server (SyncTools)
Essential services, such as CachingTools, PublishingTools, and ReportingTools are started by default and cannot be deleted. Stopping these services would be detrimental to the performance and functionality of ArcGIS Server.
Nonessential services, such as Geometry and PrintingTools are stopped by default. If you need to use these services, you can explicitly start them in ArcGIS Server Manager. The SampleWorldCities map service is started by default and can be deleted at any time.
Keep in mind that server resources are consumed only when a service is started and requested to perform a task. For more information, see the preconfigured services section of What's included with ArcGIS Server.
If your web app references a service from a remote server (a different server from the one where your web app is hosted), the server hosting your web app needs to have permission from the remote server to access the service. Often, the server hosting your web app is the one installed with ArcGIS Web Adaptor, and the server hosting your services is a GIS server. If these two servers reside on different domains, the web browser plug-in running the web app is not allowed to access the service for security reasons. To access services across web domains, a client access policy file must be present in the root directory of the web server hosting the service.
If your server administrator has enabled security on your ArcGIS Server site, this file may need to be modified to include the domain of the server hosting your web app. For more information, see Restrict cross-domain requests to ArcGIS Server.
I updated my map document then stopped and started my service, but I don't see the updates in my map service.
When any changes are made to the GIS resource referenced by a service, you'll need to overwrite the service so clients see changes to your GIS resource and its source data.
For instructions on how to overwrite your service, see Overwrite a web layer.
ArcGIS Server only supports TrueType fonts and OpenType fonts. For fonts to be used successfully within a GIS service, the font must either reside on the server or the font must be embedded within the GIS resource. For example, most fonts can be embedded into a map document, but occasionally you may come across a situation in which a layer uses a font that is not embeddable. When you publish, a warning (20025) will display in ArcGIS Pro indicating that the layer uses fonts that are not embeddable and are not on the server.
To address this issue, install the fonts directly on the machines in the ArcGIS Server site. To so do, copy the fonts you want to use and place them in the <ArcGIS Server installation directory>/arcgis/server/fonts directory. Make sure the account running ArcGIS Server has read permission on the font files. For the changes to take effect, you must restart ArcGIS Server.
Service definitions that contain source GIS datasets can take a long time to publish because the data must be transferred to the server. However, it is a known limitation that service definitions over 2 GB in size cannot be published when running Server Manager in the Mozilla Firefox web browsers. Service definitions over 2 GB can be published when you run Server Manager in Google Chrome.
If you're unsure whether your service definition is over 2 GB, examine the file's properties immediately after you create it. If you didn't change the default staging location, the service definition will be in C:\Users\<user name>\AppData\Local\ESRI\ArcGISPro\Staging\SharingProcesses.
I encounter an error in ArcGIS Pro when attempting to publish a GIS resource that references data in a Microsoft Windows file share.
If the data referenced by your GIS resource resides in a Windows file share, you may encounter the following error in ArcGIS Pro when publishing:
Packaging succeeded, but publishing failed. ERROR 001369: Failed to create the service.
This failure may result from opportunistic locking, or oplocks, which is a Windows file-locking feature. When oplocks are enabled for your designated file share, the Windows machine is allowed to cache files locally. Usually, this is the machine that is being used to publish the service. If a second machine needs access to the data, it must receive an oplocks break from the Windows machine before the file is synchronized back to the second machine. Usually, this is the machine to which the service is being published. If a break is received by the Windows machine during publishing, the subsequent data synchronization may cause publishing to fail.
Other common issues related to opportunistic locking:
- A machine or machines in your multi-machine site enables locks on the config-store and directories, preventing other machines from accessing them.
- Publishing failures due to the reasons described above
- Issues accessing registered data in shared locations
- Issues accessing cached tiles stored in locations with oplocks
To work around these issues, disable oplocks for each file share you have configured.
For more information about oplocks, see Opportunistic Locks in the Microsoft documentation.
I encounter an error in ArcGIS Pro when attempting to publish a GIS resource that references data in a Samba directory.
If the data referenced by your GIS resource resides in a Samba directory, you may encounter the following error in ArcGIS Pro when publishing:
Packaging succeeded, but publishing failed. ERROR 001369: Failed to create the service.
This failure may result from opportunistic locking, or oplocks, which is a Windows file-locking feature. When oplocks are enabled in a Samba directory, the Windows machine is allowed to cache files locally. Usually, this is the machine that is being used to publish the service. If a second machine needs access to the data, it must receive an oplocks break from the Windows machine before the file is synchronized back to the second machine. Usually, this is the machine that the service is being published to. If a break is received by the Windows machine during publishing, the subsequent data synchronization may cause publishing to fail.
To work around this issue, disable oplocks for each Samba directory you have configured. To do so, follow these steps:
- On the machine hosting Samba, open smb.conf.
- For each directory configured to be accessible through Samba, add the following properties:
[folder] ... oplocks = false level2 oplocks = false ...
- Save smb.conf.
- Run the command testparm to verify that the properties appear in the Samba configuration file.
- Restart Samba (SMB) and NetBIOS (NMB) services.
For more information about oplocks, see File and Record Locking in the Samba configuration documentation.
Using ArcGIS Server Manager or ArcGIS Pro, you can publish Web Coverage Services (WCS), Web Feature Services (WFS), Web Map Services (WMS), Web Map Tile Services (WMTS), and Web Processing Services (WPS). Additionally, you can configure map services to return Keyhole Markup Language (KML) if requested.
To understand how to configure the correct permissions and client files required to access database and geodatabase data, see Make your data accessible to ArcGIS Server.
I recently updated my map caches. Are client applications automatically aware that the updated tiles are available?
If you update an area of a map cache, users of ArcGIS Pro who have already visited that area and extent must clear their local image caches before they can see the updates. As a server administrator, you must alert your users when updated data is available so that they know to clear their caches. Consult the help system for your client application for instructions on how to clear the local cache.
I get an error message that says publishing of geoprocessing services is restricted. How can I resolve this?
The error message is for error code 001862: Publishing of geoprocessing services is restricted to administrators only. Only administrators can publish geoprocessing services and deploy service extensions (SOEs or SOIs). This restriction can be changed by an administrator. See Change geoprocessing service and service extension publishing privileges for details.