I'm running Windows XP MCE SP2. While chasing an unrelated (I hope!) problem
I was looking at the event log and notice that WWW svc is hung in the
"starting" state and a corresponding event log entry is generated each time
I reboot. Looking back in the logs I see that the first occurrence of this
was on 6/25, although that particular date means nothing special to me. (OK,
my birthday is on 6/26. I *hope* that's not the cause!)

Obviously I haven't been using IIS, but in fact plan on beginning work on an
ASP app soon, so will need the service to run. Any suggestions as to how I
might troubleshoot this problem?

Thanks in advance,
Bill

Re: WWW Service hangs on startup by Ken

Ken
Sat Aug 06 08:15:56 CDT 2005

If you go into the Services Administration tool, and attempt to start the
World Wide Web Publishing service, is another, more informative, event
logged? If so, can you post the event ID, source and description?

Cheers
Ken

--
IIS Blog: www.adopenstatic.com/cs/blogs/ken/
Web: www.adopenstatic.com


"Bill Cohagan" <cohagan@nospam.nospam> wrote in message
news:OFcuhEimFHA.3300@TK2MSFTNGP15.phx.gbl...
: I'm running Windows XP MCE SP2. While chasing an unrelated (I hope!)
problem
: I was looking at the event log and notice that WWW svc is hung in the
: "starting" state and a corresponding event log entry is generated each
time
: I reboot. Looking back in the logs I see that the first occurrence of
this
: was on 6/25, although that particular date means nothing special to me.
(OK,
: my birthday is on 6/26. I *hope* that's not the cause!)
:
: Obviously I haven't been using IIS, but in fact plan on beginning work on
an
: ASP app soon, so will need the service to run. Any suggestions as to how I
: might troubleshoot this problem?
:
: Thanks in advance,
: Bill
:
:



Re: WWW Service hangs on startup by jeff

jeff
Sat Aug 06 11:13:01 CDT 2005

On Fri, 5 Aug 2005 19:52:38 -0500, "Bill Cohagan"
<cohagan@nospam.nospam> wrote:

>I'm running Windows XP MCE SP2. While chasing an unrelated (I hope!) problem
>I was looking at the event log and notice that WWW svc is hung in the
>"starting" state and a corresponding event log entry is generated each time
>I reboot. Looking back in the logs I see that the first occurrence of this
>was on 6/25, although that particular date means nothing special to me. (OK,
>my birthday is on 6/26. I *hope* that's not the cause!)
>
>Obviously I haven't been using IIS, but in fact plan on beginning work on an
>ASP app soon, so will need the service to run. Any suggestions as to how I
>might troubleshoot this problem?

You could start by looking for information about the evnt log message.
Eventid.net will get you far, as will KB searches an Google. What
would have shortened the time to getting a response would have been
you posting the full message here, including event ID and source.

Jeff

Re: WWW Service hangs on startup by Bill

Bill
Sat Aug 06 11:56:56 CDT 2005

Ken
Thanks for the response. In the process of trying your suggestion I seem
to have "cured" the problem. I had already changed the service settings to
make the startup manual rather than automatic (in order to not have the hung
service hanging around.) I attempted to start the service via service admin
applet and it hung as before. This was all before posting the original
message here.

In response to your suggestion I wanted to try again via the service admin
applet and get the specifics of the resulting message/event. First I needed
to clear the hung service. In order to avoid a reboot I tried running
iisreset from a command prompt. It appeared to run normally, first shutting
down IIS, then restarting it; however the www service ended up in the
stopped state. This was an improvement from the "starting" state.

Next I tried starting the service again from the applet. It worked! The
service started up right away. I stopped/started it several times with no
problem. Finally I changed it back to Automatic startup, rebooted and it
started up OK.

So, it appears that running iisreset cleared out some cruft and now things
are back to normal. While I'm not particularly comfortable with the magic
content of this solution it is nice to have things running again. One
question remaining however is that iisreset reported that IIS had started,
but the www service in fact had NOT started. I guess these are two different
things, but how can IIS start normally when the service is not running?

Regards,
Bill

"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
news:uB9dRjomFHA.2152@TK2MSFTNGP14.phx.gbl...
> If you go into the Services Administration tool, and attempt to start the
> World Wide Web Publishing service, is another, more informative, event
> logged? If so, can you post the event ID, source and description?
>
> Cheers
> Ken
>
> --
> IIS Blog: www.adopenstatic.com/cs/blogs/ken/
> Web: www.adopenstatic.com
>
>
> "Bill Cohagan" <cohagan@nospam.nospam> wrote in message
> news:OFcuhEimFHA.3300@TK2MSFTNGP15.phx.gbl...
> : I'm running Windows XP MCE SP2. While chasing an unrelated (I hope!)
> problem
> : I was looking at the event log and notice that WWW svc is hung in the
> : "starting" state and a corresponding event log entry is generated each
> time
> : I reboot. Looking back in the logs I see that the first occurrence of
> this
> : was on 6/25, although that particular date means nothing special to me.
> (OK,
> : my birthday is on 6/26. I *hope* that's not the cause!)
> :
> : Obviously I haven't been using IIS, but in fact plan on beginning work
> on
> an
> : ASP app soon, so will need the service to run. Any suggestions as to how
> I
> : might troubleshoot this problem?
> :
> : Thanks in advance,
> : Bill
> :
> :
>
>



Re: WWW Service hangs on startup by Bill

Bill
Sat Aug 06 11:57:46 CDT 2005

Jeff
Thanks for the response. See my response to Ken's message above.

Bill

"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
news:42f7e138.610942468@msnews.microsoft.com...
> On Fri, 5 Aug 2005 19:52:38 -0500, "Bill Cohagan"
> <cohagan@nospam.nospam> wrote:
>
>>I'm running Windows XP MCE SP2. While chasing an unrelated (I hope!)
>>problem
>>I was looking at the event log and notice that WWW svc is hung in the
>>"starting" state and a corresponding event log entry is generated each
>>time
>>I reboot. Looking back in the logs I see that the first occurrence of
>>this
>>was on 6/25, although that particular date means nothing special to me.
>>(OK,
>>my birthday is on 6/26. I *hope* that's not the cause!)
>>
>>Obviously I haven't been using IIS, but in fact plan on beginning work on
>>an
>>ASP app soon, so will need the service to run. Any suggestions as to how I
>>might troubleshoot this problem?
>
> You could start by looking for information about the evnt log message.
> Eventid.net will get you far, as will KB searches an Google. What
> would have shortened the time to getting a response would have been
> you posting the full message here, including event ID and source.
>
> Jeff



Re: WWW Service hangs on startup by David

David
Sun Aug 07 00:28:13 CDT 2005

"IIS" actually consists of several Windows services and inter-related
components.

The part that was failing to start was the "World Wide Web Service" which
represents the HTTP server. There are other related components including an
FTP Server, NNTP Server, SMTP Server, BITS, POP3 Server, etc that all have
dependencies on the core "IIS Admin Service". Not all of these services are
available for XP.

In your case, iisreset was referring to restarting the "IIS Admin Service"
but failed to start the "World Wide Web Service".

iisreset is a pretty hacky tool useful only on W2K/WXP to "un-hang" IIS by
literally forcing the various IIS services to stop (optionally restart) and
if it doesn't happen, kill the necessary processes (and suffer possible
data-loss/corruption) in order to stop for certain and be able to restart
"IIS Admin Service" and related services again.


Right now, it sounds like you had something that was trying to load during
"WWW Service" startup and it hung -- and iisreset basically killed IIS Admin
Service (without telling you, of course) to be able to restart (services
don't transition from "starting" state to "stopped" state if it is stuck).
It failed to restart again, but for some reason, that something which was
hanging was no longer configured to run during startup, so your subsequent
startups have been ok. Maybe iisreset managed a good sort of data-loss by
removing the "something" that was hanging. Don't know.

Well, without more info on what that "something" is, I cannot say whether
you will see this again. My suspicion is that Windows Media Center Edition
runs some custom ISAPI on IIS that was hanging, and you probably lost some
other functionality but it is not clear what was lost.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Bill Cohagan" <cohagan@nospam.nospam> wrote in message
news:eSvP$eqmFHA.3144@TK2MSFTNGP12.phx.gbl...
Ken
Thanks for the response. In the process of trying your suggestion I seem
to have "cured" the problem. I had already changed the service settings to
make the startup manual rather than automatic (in order to not have the hung
service hanging around.) I attempted to start the service via service admin
applet and it hung as before. This was all before posting the original
message here.

In response to your suggestion I wanted to try again via the service admin
applet and get the specifics of the resulting message/event. First I needed
to clear the hung service. In order to avoid a reboot I tried running
iisreset from a command prompt. It appeared to run normally, first shutting
down IIS, then restarting it; however the www service ended up in the
stopped state. This was an improvement from the "starting" state.

Next I tried starting the service again from the applet. It worked! The
service started up right away. I stopped/started it several times with no
problem. Finally I changed it back to Automatic startup, rebooted and it
started up OK.

So, it appears that running iisreset cleared out some cruft and now things
are back to normal. While I'm not particularly comfortable with the magic
content of this solution it is nice to have things running again. One
question remaining however is that iisreset reported that IIS had started,
but the www service in fact had NOT started. I guess these are two different
things, but how can IIS start normally when the service is not running?

Regards,
Bill

"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
news:uB9dRjomFHA.2152@TK2MSFTNGP14.phx.gbl...
> If you go into the Services Administration tool, and attempt to start the
> World Wide Web Publishing service, is another, more informative, event
> logged? If so, can you post the event ID, source and description?
>
> Cheers
> Ken
>
> --
> IIS Blog: www.adopenstatic.com/cs/blogs/ken/
> Web: www.adopenstatic.com
>
>
> "Bill Cohagan" <cohagan@nospam.nospam> wrote in message
> news:OFcuhEimFHA.3300@TK2MSFTNGP15.phx.gbl...
> : I'm running Windows XP MCE SP2. While chasing an unrelated (I hope!)
> problem
> : I was looking at the event log and notice that WWW svc is hung in the
> : "starting" state and a corresponding event log entry is generated each
> time
> : I reboot. Looking back in the logs I see that the first occurrence of
> this
> : was on 6/25, although that particular date means nothing special to me.
> (OK,
> : my birthday is on 6/26. I *hope* that's not the cause!)
> :
> : Obviously I haven't been using IIS, but in fact plan on beginning work
> on
> an
> : ASP app soon, so will need the service to run. Any suggestions as to how
> I
> : might troubleshoot this problem?
> :
> : Thanks in advance,
> : Bill
> :
> :
>
>




Re: WWW Service hangs on startup by Bill

Bill
Sun Aug 07 14:31:43 CDT 2005

David
Thanks for the additional info/explanation. Whatever is lost probably
won't surface until enough time has past that I won't remember this event!

Bill

"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:OI$v4IxmFHA.4028@TK2MSFTNGP10.phx.gbl...
> "IIS" actually consists of several Windows services and inter-related
> components.
>
> The part that was failing to start was the "World Wide Web Service" which
> represents the HTTP server. There are other related components including
> an
> FTP Server, NNTP Server, SMTP Server, BITS, POP3 Server, etc that all have
> dependencies on the core "IIS Admin Service". Not all of these services
> are
> available for XP.
>
> In your case, iisreset was referring to restarting the "IIS Admin Service"
> but failed to start the "World Wide Web Service".
>
> iisreset is a pretty hacky tool useful only on W2K/WXP to "un-hang" IIS by
> literally forcing the various IIS services to stop (optionally restart)
> and
> if it doesn't happen, kill the necessary processes (and suffer possible
> data-loss/corruption) in order to stop for certain and be able to restart
> "IIS Admin Service" and related services again.
>
>
> Right now, it sounds like you had something that was trying to load during
> "WWW Service" startup and it hung -- and iisreset basically killed IIS
> Admin
> Service (without telling you, of course) to be able to restart (services
> don't transition from "starting" state to "stopped" state if it is stuck).
> It failed to restart again, but for some reason, that something which was
> hanging was no longer configured to run during startup, so your subsequent
> startups have been ok. Maybe iisreset managed a good sort of data-loss by
> removing the "something" that was hanging. Don't know.
>
> Well, without more info on what that "something" is, I cannot say whether
> you will see this again. My suspicion is that Windows Media Center Edition
> runs some custom ISAPI on IIS that was hanging, and you probably lost some
> other functionality but it is not clear what was lost.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> //
> "Bill Cohagan" <cohagan@nospam.nospam> wrote in message
> news:eSvP$eqmFHA.3144@TK2MSFTNGP12.phx.gbl...
> Ken
> Thanks for the response. In the process of trying your suggestion I seem
> to have "cured" the problem. I had already changed the service settings
> to
> make the startup manual rather than automatic (in order to not have the
> hung
> service hanging around.) I attempted to start the service via service
> admin
> applet and it hung as before. This was all before posting the original
> message here.
>
> In response to your suggestion I wanted to try again via the service
> admin
> applet and get the specifics of the resulting message/event. First I
> needed
> to clear the hung service. In order to avoid a reboot I tried running
> iisreset from a command prompt. It appeared to run normally, first
> shutting
> down IIS, then restarting it; however the www service ended up in the
> stopped state. This was an improvement from the "starting" state.
>
> Next I tried starting the service again from the applet. It worked! The
> service started up right away. I stopped/started it several times with no
> problem. Finally I changed it back to Automatic startup, rebooted and it
> started up OK.
>
> So, it appears that running iisreset cleared out some cruft and now
> things
> are back to normal. While I'm not particularly comfortable with the magic
> content of this solution it is nice to have things running again. One
> question remaining however is that iisreset reported that IIS had started,
> but the www service in fact had NOT started. I guess these are two
> different
> things, but how can IIS start normally when the service is not running?
>
> Regards,
> Bill
>
> "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
> news:uB9dRjomFHA.2152@TK2MSFTNGP14.phx.gbl...
>> If you go into the Services Administration tool, and attempt to start the
>> World Wide Web Publishing service, is another, more informative, event
>> logged? If so, can you post the event ID, source and description?
>>
>> Cheers
>> Ken
>>
>> --
>> IIS Blog: www.adopenstatic.com/cs/blogs/ken/
>> Web: www.adopenstatic.com
>>
>>
>> "Bill Cohagan" <cohagan@nospam.nospam> wrote in message
>> news:OFcuhEimFHA.3300@TK2MSFTNGP15.phx.gbl...
>> : I'm running Windows XP MCE SP2. While chasing an unrelated (I hope!)
>> problem
>> : I was looking at the event log and notice that WWW svc is hung in the
>> : "starting" state and a corresponding event log entry is generated each
>> time
>> : I reboot. Looking back in the logs I see that the first occurrence of
>> this
>> : was on 6/25, although that particular date means nothing special to me.
>> (OK,
>> : my birthday is on 6/26. I *hope* that's not the cause!)
>> :
>> : Obviously I haven't been using IIS, but in fact plan on beginning work
>> on
>> an
>> : ASP app soon, so will need the service to run. Any suggestions as to
>> how
>> I
>> : might troubleshoot this problem?
>> :
>> : Thanks in advance,
>> : Bill
>> :
>> :
>>
>>
>
>
>