Is This Content Helpful?
We're glad to know this article was helpful.
When starting, stopping, or deleting a service in ArcGIS Server Manager, the service stays in a starting or stopping state and returns the following error in the Server logs:
Error: Could not undeploy services from one or more machines.
Note: The error message displays information about the server machine and path that is causing this error to be returned.
The following are possible causes for this error.
The following are possible solutions for fixing this error.
Note: If restarting the ArcGIS Server Windows service did not release the locks, then the physical ArcGIS for Server machine must be restarted. The following Knowledge Base article explains this in detail: FAQ: Why do file geodatabase .lock files remain after a process is finished?.
Note: Allocate a suitable time when restarting production machines to prevent critical failures during peak business hours.
Note: Best practice for a multi-server/cluster environment is for the same service account login to be used amongst these servers.
Note: In a multi-server/cluster environment, the icacls command must be run on each individual machine.