Matt -

Just for clarification, iisreset /reboot is a Windows 2000 native
utility, that's included with the base installation of IIS completely
free, and actually works.

We used to restart all web / IIS / ColdFusion related services nightly
as well, until W3SVC would refuse to stop properly.  To get things
functioning properly, I would have to kill inetinfo and then restart
IIS.  Has anyone else encountered this problem, or have any suggestions
on how I might avoid it?  Perhaps there's a command line modifier to net
stop that increases the time out?

TIA,

Jay Sudowski
---------------------
Handy Networks LLC
TEL: 877-70-HANDY
FAX: 888-300-2FAX
URL: www.handynetworks.com <http://www.handynetworks.com> 
---------------------
Providing reseller and dedicated Windows 2000 web hosting solutions.



-----Original Message-----
From: Matt Robertson [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 02, 2001 3:41 PM
To: CF-Talk
Subject: RE: Reboot windows 2K server?


Mike,

As you've already found out, that CFX tag doesn't work.  If you want to
use a native Win service to do this you have to buy the resource kit.

I was able to find a routine called ExitsNT that did work, but its built
in scheduler stopped functioning after a time... plus it shows up in the
system tray, regardless of whether you tell it not to show up there.  I
found out the hard way that if you weren't *very* careful while using
that icon's right-click menu you could initiate a complete shutdown --
not a restart.  One slip of the mouse and you're on the phone to your
colo guys with a virtual Stoopid sign rightfully hanging around your
neck.

I've had a lot more luck with a scheduled comprehensive services
stop/start batch file.  Individually shutting off all web-related
services (not just CF) and restarting them has given me the ability to
avoid full restarts for fairly long intervals (as Windows servers go
:D).

@echo on
net stop "firedaemon service: servu"
net stop "Mysql"
net stop "Cold Fusion Executive"
net stop "Cold Fusion Application Server"
net stop "Statistics Server"
net stop "Imail Web Service"
net stop "Imail POP3 Server"
net stop "Imail SMTP Server"
net stop "World Wide Web Publishing Service"
net stop "IIS Admin Service
echo .
net start "IIS Admin Service"
net start "World Wide Web Publishing Service"
net start "Statistics Server"
net start "Imail SMTP Server"
net start "Imail POP3 Server"
net start "Imail Web Service"
net start "Cold Fusion Application Server"
net start "Cold Fusion Executive"
net start "Mysql"
net start "firedaemon service: servu"

Good luck,

---------------------------------------
Matt Robertson    [EMAIL PROTECTED]
MSB Designs, Inc., www.mysecretbase.com
---------------------------------------


---------- Original Message ----------------------------------
from: "Tangorre, Mike" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
date: Thu, 02 Aug 2001 14:27:37 -0400

Thanks John!
I actually looke din the tag gallery, and had tried that tag about 2
weeks ago..and knew it didn't work.  :-)

Oh well, I always like the quote, "There are no dumb questions, just
dumb people for not asking questions"

Anyways...  Thanks again.



Michael T. Tangorre
--------------------------------------------
Web Applications Developer
Office Phone: 703-558-4746
Cellular Phone: 607-426-9277
AIM: CrazyFlash4
Personal Email: [EMAIL PROTECTED]
Work Email: [EMAIL PROTECTED]
School Email: [EMAIL PROTECTED]
--------------------------------------------
This Email contains MillenniuM Information
Systems, LLC Privileged Information which
is Customer or Business Sensitive.
--------------------------------------------


-----Original Message-----
From: John Lucas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 2:10 PM
To: CF-Talk
Subject: RE: Reboot windows 2K server?


As long as we are being snippy...I doubt a tag from 98 is going to do
the trick.

<snip from docs>This tag was designed for Windows NT, using
InitiateSystemShutdownA from the Windows API. As far as I know, it will
not work under Windows 95.  Not sure about Windows 98, but I doubt it.
If anyone finds out differently, let me know. </snip>

As far as searching the tag gallery first, cut him some slack.  If all
the answers were in the tag gallery, the threads would be.

Post 1: Ask my question
Post 2: Go Look it up in the tag gallery

At least if you are going to make the statement along the lines that
there is a tag in the tag gallery, you should have searched there first,
then you should at least have looked further into the tag before making
such a blanket statement.

-----Original Message-----
From: Zachary S. Bedell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 12:26 PM
To: CF-Talk
Subject: RE: Reboot windows 2K server?


Not to be snippy, but please try searching the tag gallery before
posting questions like this.

Searching for 'reboot' in the Allaire tag gallery comes up with
CFX_RestartMachine as it's second result.  Here's the direct link to the
tag:
http://devex.allaire.com/developer/gallery/info.cfm?ID=CA34738F-2830-11D
4-AA9700508B94F380&method=Full

Best regards,
Zac Bedell

> -----Original Message-----
> From: Tangorre, Mike [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 02, 2001 9:55 AM
> To: CF-Talk
> Subject: Reboot windows 2K server?
>
>
> is there a tool available for rebooting windows 2K server?
>
>
> Michael T. Tangorre
> --------------------------------------------
> Web Applications Developer
> Office Phone: 703-558-4746
> Cellular Phone: 607-426-9277
> AIM: CrazyFlash4
> Personal Email: [EMAIL PROTECTED]
> Work Email: [EMAIL PROTECTED]
> School Email: [EMAIL PROTECTED]
> --------------------------------------------
> This Email contains MillenniuM Information
> Systems, LLC Privileged Information which
> is Customer or Business Sensitive.
> --------------------------------------------
>
>
> -----Original Message-----
> From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 02, 2001 9:52 AM
> To: CF-Talk
> Subject: RE: Auto-reboot a server
>
>
> Download the resource kit suppourt tools 4.0 for nt server - theres an

> app in there called "Shutdown" - set a scheduled task to run shutdown 
> /c /r and it will force a reboot...
>
> I think this is it: 
> http://www.microsoft.com/ntserver/nts/downloads/recommended/nt
kit/default.as
p

-----Original Message-----
From: John Fix 3rd [mailto:[EMAIL PROTECTED]]
Sent: 02 August 2001 14:47
To: CF-Talk
Subject: OT: Auto-reboot a server


Is there a utility that I can run with NT scheduler that will restart an
NT server?  I'm trying to track down some memory leaks, but if I can't
solve it before vacation time I want to just set up a way to restart the
server every few days at some time in the early am.

Thanks!

John
www.big-box.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to