Re: Unable to stop/restart SMTP service



Hi Martin, glad you got it fixed..

Just for future, a little tip I picked up if you need to restart the SMTP service and to resolve is to reboot the server which can cause many disruptions..

At command prompt...

sc queryex smtpsvc (press enter)

this will give you the PID of the smtp service

then ..

taskkill /PID (space and then number from above) /f (the forward slash f is very important as it forces it to stop and then in exchange it should automatically restart)


"Martin Smith" <nospam.redsmartie@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:5ar3aaF2pnkepU1@xxxxxxxxxxxxxxxxxxxxx
On 2007-05-14 12:27:24 +0100, Martin Smith <nospam.redsmartie@xxxxxxxxxxxxxxxxxxxxxxxxx> said:

Our server crashed over the weekend. After a reboot everything initially seemed back to normal until I realised that there was an amount of mail in the "Messages Pending Delivery" queue.

I suspected that it might be related to Trend Scanmail that had been installed a few weeks back and I had seen something similar in the past that the application of a patch could sort however the patch couldn't stop the SMTP service. Cancelling the patch installation leaves the service in a "stopping" state.

I have subsequently been unable to manually stop the service and can do nothing but reboot to get it to "started" again.

What could be causing the problem?

Fixed.

It was indeed in need of a patch to Scanmail but to get the patch to apply I had to disable SMTP, reboot, apply patch then manually start SMTP.

After that everything sprang into action :)


.



Relevant Pages

  • Re: Messages sitting in the pending queues
    ... To get around the hang when restarting the smtp service just use task ... > try to restart the SMTP service I get the same issue then it just says ... > "stopping" and then nothing works till a reboot. ...
    (microsoft.public.windows.server.sbs)
  • Re: SMTP Service wont stop
    ... apply a Windows Update that needed to stop and restart the service; ... What I did was set the SMTP service to disabled, ... It sits forever stopping and I have to reboot to get it ...
    (microsoft.public.exchange.admin)
  • Re: Microsoft Security Bulletin - MS02-011 and MS02-012
    ... patch that was released way back in October of 2001. ... the release of MS02-011 which references this Exchange patch (Exchange 5.5 ... Microsoft Security Bulletin - MS02-011 and MS02-012 ... SMTP service is involved. ...
    (NT-Bugtraq)
  • Re: Problems e-mailing domains with multiple MX records
    ... Actually I was told that I do not need that patch since it is for the native ... SMTP service and I am using Exchange. ... Regardless, my smtpsvc.dll file is version 6.0.3790.211 and the one ...
    (microsoft.public.windows.server.sbs)
  • RE: SMTP service
    ... Yes always, everytime I need reboot. ... >hard as SMTP is part of inetinfo. ... >does your SMTP service always hang when you are trying ... >| I try restart the smtp service but it's hang on ...
    (microsoft.public.windows.server.sbs)