Link to home
Start Free TrialLog in
Avatar of jviramontez
jviramontez

asked on

Exchange service says it's been shutting down for 30 minutes

Hello,

I have occassion to shut down my Windows 2003 server. I make sure I have no applications loaded, and then run a stopexch.bat file. This file usually takes 5-10 minutes to execute, then I shut the server down entirely.

However, this morning I went through these steps, but my Information store line says it is stopping, but now has about 12 complete lines of periods..........................................

Any idea why it's taking so long, or if I'm stuck in a perpetual pergatory?

- Vaughn
Avatar of sirbounty
sirbounty
Flag of United States of America image

Try Start->Run->Services.msc and locate the service that is in a "Stopping" mode.
Then PSKILL (http://www.sysinternals.com/ntw2k/freeware/pskill.shtml) to stop the process.
It should restart fine afterwards, but may require a reboot...
Avatar of jviramontez
jviramontez

ASKER

I looked up the link, but it does not mention effectivity for the Windows 2003 platform.
Windows2003 actually includes a similar program called tskill.exe - find the process name and you should be able to use it in the same manner (although I've used pskill in 2003 as well).

If your comfortable using the registry - you can find the process name under HKey_Local_Machine\System\CurrentControlSet\Services (just search from their for the service name).

otherwise - pslist also from sysinternals will give you the process name as well.
In trying to use tskill, I believe the process name is "msexchangeis", but what is the process id?
I have ran pslist and looked through the pid's, but there is not mention of the process named msexchangeis, nor anything which seems similar. Can you lend any further suggestions?
Is this the service that is hung?
You should be able to stop it using the process name as well.
TSKill /? will give you examples of the format.

What are you using in your batch file for stopping these services?  Sounds like they may be taking a while to stop...
SOLUTION
Avatar of jdeclue
jdeclue

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yeah, I was trying to give the server an opportunity to shut it down a bit more gracefully and kill it in the shutdown process where it may have a chance at commiting disk caches etc.... ;)

J