Saturday, May 10, 2008

Service Unavailable - Central Administration site in Sharepoint

While i was working on Notes migration to Sharepoint, my Central Administration site simply went down without any reason. Whenever, i tried accessing the same, i got an error message saying: Service Unavailable in the internet explorer. But my other MOSS sites were working perfectly fine.

I went into my IIS application pool for Central Administration web application, it had stopped without any reason. I tried to start it, and it would start but it did'nt solve the problem. I was stuck in the same loop i.e Service Unavailable when trying to access Central Admin web application.

I had to find a solution, and like i always do, i found the possible cause of the problem.

Then i figured out that i need to change my System Account password which had full control to Central Admin web application. How do i do that ? Be careful, follow the steps properly:

Change the passwords if you receive a "Service Unavailable" error when trying to access Central Administration. Change the passwords for the Central Administration Web application pool identity and the Windows SharePoint Services Timer service by using the command line
  1. On the computer running the Central Administration Web site, open the command line and navigate to the Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN folder.
  2. At a command prompt, type the following command, and then press ENTER:
    stsadm -o updatefarmcredentials -userlogin domain\username -password newpassword
    userlogin is the server farm account.
    For additional information, see Updatefarmcredentials: Stsadm operation (Windows SharePoint Services).
  3. You must restart the Web application pool for the changes to be saved. At a command prompt, type the following command, and then press ENTER:
    iisreset /noforce
  4. As an additional step, you can even Go to Start->Run and type services.msc and restart the Windows Timer services(which should use the newly changed password).
  5. Try accessing the Central admin site and it should work normally as before.
NoteNote userlogin is the server farm account. You must use the -local switch.


In case you find it valuable, drop in your comments.
Happy programming :))


  1. thank you, however i get:

    The password supplied with the username domain\username was not correct. Verify that it was entered correctly and try again

  2. Sorry for the previous post - my mistake. Thank you for article !!!

  3. This comment has been removed by the author.

  4. Thank you for this! I found myself having to get into a SharePoint site yesterday after doing next to nothing with WSS for about 2 years...getting "Service Unavailable" on the Central Admin site was a total dead end. But I read your article, updated the password and I'm back in business!

  5. Thanks a million. Saved me hours of searching for answers.

  6. Helpful stuff

  7. Thank you so much. It helped me.

  8. cheers very helpful article, resolved my issue after breaking my head for a long time.

  9. This solved my problems, but I need to add parameter -local to the command. Without it, I recived a error like:
    Error deploying administration application pool credentials. Another deployment may be active. An object of the type Microsoft.SharePoint.Administration.SPAdminAppPoolCredentialDeploymentJobDefinition named "job-admin-apppool-change" already exists under the parent Microsoft.SharePoint.Administration.SPTimerService named "SPTimerV4". Rename your object or delete the existing object.