Had a problem where the Web app service in Central admin was stuck on starting and they had to be restarted because one of the URL’s SharePoint was supposed to be serving went off the air… nothing was appearing in the logs, but a quick google brought up this little gem from none other than Joel Oleson, one of the 2 Mr Ex-SharePoint’s (the other being Mike Fitzmaurice) – saved my bacon!
In Central Administration > System Settings > Servers-Manage services on server, I am trying to restartMicrosoft SharePoint Foundation Web Application, its Status is currently displayingStarting… and the under the Actionheader, it is blank, so i’m unable to stop/start it. all other services have values. In the past couple of weeks I have had to stop and start this particular service whenever I had web apps displaying blank pages. At the moment, no web app is displayed in my browser(its just blank), thats why I need to restart this service.
Could anyone help/suggest anything pls.. or are there any alternatives to start the service(mentioned above) i.e. maybe via Powershell..if so, what are the commands to enter
Wednesday, January 26, 2011 10:38 AM
After going through various suggestions online, I found a small snippet from an article (from Joel Oleson) that fixed it. I went back to my initial query of restarting the web application service manually. As this service was stuck on ‘Starting’ as its status in Central Admin, Joel’s article suggested that it is started manually using stsadm. From the DOS command prompt:
1. I navigated to the stsadm directory i.e. cd \Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
2. When in that directory, I typed: stsadm -o provisionservice -action start -servicetype spwebservice
then restart iis.
This fixed it. The web apps are now displayed in the browser.