PROBLEM
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.
![image of error message]](https://webapps-cdn.esri.com/CDN/support-site/technical-articles-images/000012895/00N39000003LL24-0EM39000000wdnX.png)
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.
![[O-Image]](https://webapps-cdn.esri.com/CDN/support-site/technical-articles-images/000012895/00N39000003LL2C-0EM39000000wdnV.png)
![[O-Image]](https://webapps-cdn.esri.com/CDN/support-site/technical-articles-images/000012895/00N39000003LL2C-0EM39000000wdnU.png)
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.
Article ID: 000012895
Get help from ArcGIS experts
Start chatting now