Service stuck stopping


Go Back   Computer Help Articles > Windows XP Configuration Manage
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 07:29 AM
mark
 
Posts: n/a
Default Service stuck stopping

I had a service hang on Windows 2003. I tried to stop it from the
Services control panel but it got stuck in the "stopping" state. I
found the hung process associated with the service via the task manager
and killed it. However, I cannot start the process (from Services)
because it remains in "stopping" state with all buttons greyed out even
though the process is gone. I'm sure a reboot would resolve this, but
it's a production machine with lots of customers on it (one customer is
down) and can not have down time. How can I make the Services control
panel recognize the process is gone and allow me to restart it for the
down customer? Thanks.

Reply With Quote
  #2  
Old 01-05-2006, 07:29 AM
Wesley Vogel
 
Posts: n/a
Default Re: Service stuck stopping

Type SC in Help and support.

SC.EXE
http://www.microsoft.com/resources/d.../en-us/sc.mspx

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:1132156945.472836.304560@z14g2000cwz.googlegr oups.com,
mark <mpietras@gmail.com> hunted and pecked:
> I had a service hang on Windows 2003. I tried to stop it from the
> Services control panel but it got stuck in the "stopping" state. I
> found the hung process associated with the service via the task manager
> and killed it. However, I cannot start the process (from Services)
> because it remains in "stopping" state with all buttons greyed out even
> though the process is gone. I'm sure a reboot would resolve this, but
> it's a production machine with lots of customers on it (one customer is
> down) and can not have down time. How can I make the Services control
> panel recognize the process is gone and allow me to restart it for the
> down customer? Thanks.


Reply With Quote
  #3  
Old 01-05-2006, 07:29 AM
mark
 
Posts: n/a
Default Re: Service stuck stopping

It seems that service control (SC) is a command-line equivalent
(perhaps a slight superset) to what the Service GUI provides...
unfortunately no command for "reset what you think you know about this
service". Turns out though it was right. Unbeknownst to me, that
there was some sort of zombie child process associated with the killed
process that was what the Service control manager was waiting for. In
the end, a utility called "procexp.exe" was able to help associate
service names with executable file paths and process ids to kill
associated processes that the default taskmanager couldn't help with...

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Windows Freezes Daily Gerry Cornell Windows XP Perform Maintain 0 01-06-2006 02:06 AM
Windows Freezes Daily Nancy Windows XP Perform Maintain 31 01-05-2006 11:15 PM
One-way connection: networked XP/2000 PC's Cheryl Windows XP Network Web 22 01-05-2006 04:11 AM
Long delay before Drives & Files appear in My Computer & Address Bar shizzlenizzlator@gmail.com Windows XP Help and Support 3 01-05-2006 02:44 AM
Windows error message Glo Windows XP Basics 41 01-05-2006 02:04 AM


All times are GMT. The time now is 08:37 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Service stuck stopping