Perhaps I'm missing something in the translation here, but if you're running
SMTPRCV on a Win2K server, why not just simply set the server to
automatically restart the service if it's crashed?

Start..Settings..Control Panel.Administrative Tools..Services - right-click
on the "MMS SMTPRCV" service, and select the "Recovery" tab.  Set the first
and second failure uptions to "Restart the Service".


Regards,
Brian



----- Original Message ----- 
From: "Chairman of the Bored" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, October 27, 2003 5:53 PM
Subject: Re: SMTPRCV Service Problem


> At 01:35 PM 10/27/2003, you wrote:
> >Thanks, Chairman,
> >I've set it up today, it's easy as a batch file.
>
> it is a batch file :)
>
> >I will not sleep beside my server any more.
>
> yeah.. frustrating huh?
>
> >Just one question : are you sure that when smtprcv hangs, it is seens by
the
> >system as 'stopped' ?
>
> no.. when it hangs it throws up a dr watson error (usually)
> so the batch file is watching for that... and when it happens,
> it will clear the error and bounce everything.
>
> i had to do it this way because the normal "watch for this error" type
> software wouldn't be able to kill the dr watson process, and this one
> can :)
>
> >When I wanted to restart it by hand, I had to stop it first.
>
> i just stop services from my 2k workstation on the same lan,
> and call it good (the script will restart it in 60 seconds or less,
> and if you try and start a service that's starting it can cause
> problems)
>
> >If I understand the script correctly, it stops the services only after a
Dr
> >Watson, wouldn't it be safer to place a 'net stop smtprcv' before any
'net
> >start
> >smtprcv' ?
>
> yes, but then you'd be bouncing all the services every 60 seconds, and
i've
> never had smtprcv fail with anything but a drwatson.
>
> >( and extend the loop to 10 minutes or so ) ?
>
> well, i could add a loop in there to do that...
> the problem is that if you bounce your receiver service every 10 minutes
> you're going to annoy the hell out of your customers... the next step with
> this is to have it telnet into port 25, and if it gets the proper
response,
> carry on, if not, bounce the service... but this script is working for my
> purposes so i never got any further with it...
> (like my project to put the entire spooler on a ramdrive... i don't really
> need it, so it's not done)
> -dd
>
>
>
> >|
> >| >my keepalive script was written to keep my smtrpcv up..
> >| >mine dr watsons on me every once in a while, i have no idea why.
> >| >if anyone would like a copy, i'm more than willing to share it.
> >|
> >| okay, some of you might find it a bit ghetto, but here it is
> >|
>
>http://www.l7.net/archives/emwac/handy%20stuff/L7-keepalive-for-emwac-ims.v
.004.exe
> >|
> >| it keeps my system alive at about a million messages a day, so...
> >|
> >| run this from c:\ via start/run
> >| it will open a dos box that you can then minimize.
> >| what it does is, every 60 seconds, it will try and
> >| restart all services. (note that the old version of
> >| dolist will crash and burn if you do it the same way,
> >| so don't) and check for a drwatson error.
> >|
> >| if the error exists, it will kill the process, bounce
> >| all the services, clear out all the lockfiles, .mri
> >| files, avp temp files, etc.
> >|
> >| here's from the nfo file:
> >|
> >| keepalive and monitoring script for the emwac ims mailserver
> >| - kevin schooler, 13:32.05.07.2002
> >| http://www.L7.net/
> >|
> >| notes:
> >| please edit the z-keepalive.bat file, and set the parameters to what
works
> >| for your system.
> >|
> >| line 4  (message logged to the logfile)
> >| line 22 (domain directory path for deleting .mri files)
> >| line 24 (mail directory path for deleting lock files)
> >| line 26 (antivirus path for deleting antivirus temp files)
> >|
> >| line 35 is a sleep statement to allow the mailserver to come
> >| back up so that blat can sent the error message to the admin.
> >| this can be shortened, and is in seconds. i.e. sleep 5 will
> >| cause the batch file to pause for 5 seconds.
> >|
> >| line 36 should be edited so it sends your error messages to you, not me
:)
> >| the z-keepalive.msg file is the body of the message that will be sent.
> >|
> >| add a rem in front of, or remove, lines 45, 46, 47, if you are
> >| going to schedule this file. otherwise it will just loop continuously.
> >|
> >| note: i renamed some of the utilities, etc. to keep them all in the
same
> >| place in a file listing. this whole thing sits in c:\ as written
> >|
> >| acknowledgements:
> >|
> >| this script uses the following executables:
> >|
> >| z-plist.exe - process lister
> >| this is a renamed pslist.exe
> >| PsList v1.12 - Process Information Lister
> >| Copyright (C) 1999-2000 Mark Russinovich
> >|
> >| z-pkill.exe - process killer
> >| this is a renamed kill.exe
> >| kill v3.5 for NT
> >| Copyright (C) 1994 Microsoft Corp.
> >|
> >| z-sleep.exe - pause utility
> >| i found this file on the internet,
> >| and i can find no information on it.
> >|
> >| blat.exe - e mail sending utility
> >| (v1.9.4) Blat - Windows NT/95 util to send
> >| SMTP mail from the command line (Intel
> >| version) Useful for sending mail from
> >| automated jobs, HTML CGI scripts, etc.
> >| Includes source code. Public Domain.
> >|
> >| enjoy.
> >| -dd
> >|
> >|                                  \\\\\//
> >|         \\|//       _\\|//_      |     |      _\\|//_       \\|//
> >|         (@ @)      (' 0-0 ')     (.) (.)     (' @-@ ')      (o-o)
> >| +-=oOOo-(_)-oOOo=oo0=(_)=0oo=oOO=-(_)-=OOo=oo0=(_)=0oo=oOOo-(_)-oOOo=-+
> >|                  | Level Seven inc. http://www.L7.net/ |
> >/"\
> >|         The worlds "one stop" InterNetworking Provider 360.753.3556
\
> >/
> >| +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
X
> >| ASCII Ribbon campaign against HTML E-Mail >- - - - - - - - - - - - - ->
/
> >\
> >|
> >| This is the discussion list for the IMS Free email server software.
> >|   To unsubscribe send mailto:[EMAIL PROTECTED]
> >|
> >|             Delivered by Rockliffe MailSite
> >|            http://www.rockliffe.com/mailsite
> >|                 Rock Solid Software (tm)
> >|
> >
> >This is the discussion list for the IMS Free email server software.
> >   To unsubscribe send mailto:[EMAIL PROTECTED]
> >
> >             Delivered by Rockliffe MailSite
> >            http://www.rockliffe.com/mailsite
> >                 Rock Solid Software (tm)
>
>                                  \\\\\//
>         \\|//       _\\|//_      |     |      _\\|//_       \\|//
>         (@ @)      (' 0-0 ')     (.) (.)     (' @-@ ')      (o-o)
> +-=oOOo-(_)-oOOo=oo0=(_)=0oo=oOO=-(_)-=OOo=oo0=(_)=0oo=oOOo-(_)-oOOo=-+
>                  | Level Seven inc. http://www.L7.net/ |
/"\
>         The worlds "one stop" InterNetworking Provider 360.753.3556      \
/
> +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+  X
> ASCII Ribbon campaign against HTML E-Mail >- - - - - - - - - - - - - -> /
\
>
> This is the discussion list for the IMS Free email server software.
>   To unsubscribe send mailto:[EMAIL PROTECTED]
>
>             Delivered by Rockliffe MailSite
>            http://www.rockliffe.com/mailsite
>                 Rock Solid Software (tm)
>

This is the discussion list for the IMS Free email server software.
  To unsubscribe send mailto:[EMAIL PROTECTED]

            Delivered by Rockliffe MailSite
           http://www.rockliffe.com/mailsite
                Rock Solid Software (tm)

Reply via email to