Showing posts with label Deployment stuck at retracting message. Show all posts
Showing posts with label Deployment stuck at retracting message. Show all posts

02 December, 2012

Solution Package retracting stuck: SharePoint 2007

Problem: We were planning to deploy a new solution for one of our web application. However, as we all know we have to first retract the solution from the web application and for that we use the stsadm command line given below,
stsadm -o retractsolution -name solutionName.wsp –immediate
followed by STSADM -o execadmsvcjobs
We have waited for min 20 min, but after refreshing the CA for many times we have seen the solution was stuck in retract state.
Troubleshooting: We checked the status ofWindows SharePoint Services Solution Retraction for’ timer job and It was successful for all of the servers we have in the environment.
To check the status of the above timer service,
1. Go to Central Administration
2. Navigate to Operations > "Global Configuration" > "Timer job status".
3. Look for Jobs name starting with either "Windows SharePoint Services Solution Retraction for".
Resolution: we have tried running ‘execadmsvsjobs’ STSADM command.
STSADM -o execadmsvcjobs ( On all the servers )  
To all of the servers in the env. And refreshing CA the status of the solution package was ‘not deployed’.
Some other things you can also try to resolve the problems are.
Ø  Restarting the OWSTIMER Service.
Ø  Deleting the Job Timer Definition for some reasons resolves it.
Ø  Restarting the machine and try one more time.
If you have any queries/questions regarding the above mentioned information then please let me know, Thank you.