Service Unavailable

http://blog.henryong.com/2010/04/24/sharepoint-2010-troubleshooting-503-service-unavailable-app-pool-shutdown

Resolutions:

Option 1 – Log on locally with the service account once to create a local profile for it.

Option 2 – Modify the application pool by going into IIS > Application Pools > Right-Click offending app pool > Advanced Settings > Set “Load User Profile” to False.

http://msdn.microsoft.com/en-us/library/aa952804(BTS.70).aspx

“Service Unavailable” error occurs when accessing the SharePoint Central Administration Web site

Problem

When you attempt to open the SharePoint Central Administration Web site, an error similar to the following is displayed:

Service Unavailable

Cause

The most common cause for this error is that the application pool (IIS 6.0 or IIS 7.0) or hosting COM+ application (IIS 5.x) for the SharePoint Central Administration Web site is stopped. This commonly occurs if the application pool or COM+ application is configured with an identity for which the specified user name and/or password is invalid.

Resolution

Follow the steps in the “Setting IIS Application Host Process Identity” section of the topic Guidelines for Resolving IIS Permissions Problems to set the appropriate host process identity.

http://sharepointapplied.com/2009/07/07/troubleshooting-sharepoint-service-unavailable-error

6) As I couldn’t find anything obvious in event logs or sharepoint logs navigated to C:\WINDOWS\system32\LogFiles\HTTPERR folder and looked through httperr.log files.

What is httperr file? I only learned about httperr logs recently when troubleshooting some pesky IIS issue.

Httperr.log is [pasted from MS site] “a new feature in IIS 6.0. If HTTP.sys is unable to write an error to a Web site log because the request did not reach user mode, the error will be entered in Httperr.log. Errors that are written to Httperr.log include the following:

•503 errors

•idle connection time-outs

•URL parsing errors

•the last 10 requests to a failed application pool.

If you need some help in decoding the errors logged in the flie you can refer to the following MS article: Error logging in HTTP API which includes a nice description of the different fields and the order of the fields in httperr log files.

Looking through the files I the following two errors getting logged repeatedly

HTTP/1.1 POST /_vti_bin/sitedata.asmx 503 1790625552 Disabled SharePoint+-+90

HTTP/1.1 POST /_vti_bin/sitedata.asmx 503 1370408763 Disabled SharePoint+-+90

So basically attempts to connect to the sitedata.asmx web service resulted in 503 errors (Service Unavailable). I googled IIS 1790625552 and IIS 1370408763 hoping to get some more info but couldn’t find any articles matching the codes.

A bit of searching led me to the following MS article:

503-Service Unavailable (IIS 6.0)

The article lists the different error codes and causes of 503-Service Unavailable IIS errors.

Looking through the error table I found that the “Disabled” word maps to the following cause “The administrator has stopped the application pool.”.

So the line in my httperr log:

HTTP/1.1 POST /_vti_bin/sitedata.asmx 503 1790625552 Disabled SharePoint+-+90

was basically telling me my application pool “Sharepoint – 90″ was stopped.

I opened IIS Manager, expanded the Application Pools node and noticed the application pool used for the problematic web application was indeed stopped.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: