App Management Service Application stuck starting

%3CLINGO-SUB%20id%3D%22lingo-sub-126667%22%20slang%3D%22en-US%22%3EApp%20Management%20Service%20Application%20stuck%20starting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-126667%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20some%20help%20with%20setting%20up%20a%20service%20application%2C%20the%20one%20in%20question%20is%20the%20App%20Management%20Service%20Application.%26nbsp%3B%20It%20is%20currently%20sat%20with%20a%20status%20of%20'Starting'%20(see%20below)%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Status%20stuck%20on%20Starting%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F23953iC95725763EA75489%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22AppManagement.PNG%22%20alt%3D%22Status%20stuck%20on%20Starting%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EStatus%20stuck%20on%20Starting%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20have%20tried%20the%20following%20steps%3A%3C%2FP%3E%3CUL%3E%3CLI%3ERestarted%20IIS%3C%2FLI%3E%3CLI%3ERestarted%20Timer%20Service%3C%2FLI%3E%3CLI%3ETried%20unprovisioning%20then%20provisioning%20the%20service%20via%20powershell%3C%2FLI%3E%3CLI%3EDeleting%20the%20service%20application%20and%20recreating%20it%20(this%20times%20out%2C%20so%20I%20have%20to%20then%20use%20stsadm%20command%20to%20remove%20it%20through%20powershell)%3C%2FLI%3E%3CLI%3ERebooting%20the%20server%3C%2FLI%3E%3C%2FUL%3E%3CP%3EAll%20the%20commands%20are%20done%20using%20the%20Central%20Administration%20admin%20account%2C%20also%20tried%20with%20the%20Farm%20account%20and%20this%20makes%20no%20difference.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESome%20guidance%20would%20be%20great!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3ERyan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-126667%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2016%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1504210%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Management%20Service%20Application%20stuck%20starting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504210%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F94086%22%20target%3D%22_blank%22%3E%40Ryan%20Taylor%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%24srvc%20%3D%20Get-SPServiceInstance%20-Identity%20%5Bpaste%20in%20the%20GUID%20for%20the%20service%5D%3CBR%20%2F%3E%24srvc.Unprovision()%3C%2FP%3E%3CP%3E%24srvc%20%3D%20Get-SPServiceInstance%20-Identity%20%5Bpaste%20in%20the%20GUID%20for%20the%20service%5D%3C%2FP%3E%3CP%3E%24srvc.provision()%3C%2FP%3E%3CP%3E%24srvc.update()%3C%2FP%3E%3CP%3Eiisreset%20%2Fnoforce%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethis%20shoudl%20work%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Visitor

Hello,

 

I need some help with setting up a service application, the one in question is the App Management Service Application.  It is currently sat with a status of 'Starting' (see below)Status stuck on StartingStatus stuck on Starting

I have tried the following steps:

  • Restarted IIS
  • Restarted Timer Service
  • Tried unprovisioning then provisioning the service via powershell
  • Deleting the service application and recreating it (this times out, so I have to then use stsadm command to remove it through powershell)
  • Rebooting the server

All the commands are done using the Central Administration admin account, also tried with the Farm account and this makes no difference.

 

Some guidance would be great!

 

Regards

Ryan

1 Reply

@Ryan Taylor 

$srvc = Get-SPServiceInstance -Identity [paste in the GUID for the service]
$srvc.Unprovision()

$srvc = Get-SPServiceInstance -Identity [paste in the GUID for the service]

$srvc.provision()

$srvc.update()

iisreset /noforce

 

this shoudl work