Starting and stoping CF will generally require root/administrator access
in default install. If you take the following suggestions make sure you're
aware of how to exec system commands safely in a web accessible script.

*NIX:
-----
  If your under *nix w/ Perl or PHP support; change to a user w/ permissions
to control the CF process then run $CF_root/bin/start and stop (default is
/opt/coldfusion).

WIN32:
------
  Under NT w/ Perl, PHP, or ASP support; change to a user w/ permissions to
control the CF process then run:

        NET START "Cold Fusion Executive"
        NET START "Cold Fusion Application Server"
        NET START "Cold Fusion RDS"

  I think I have the correct order, there's a "cycle.bat" or something under
%CF_root%\bin\ that will provide the correct order if I'm mistaken. Reverse
order for NET STOP.



  If you don't have knowledge of these languages and you'd like a Perl or
PHP script for *nix/NT I can whip you up one on request, or if you run
Webmin I've made a quick module for it (nothing fancy at all, purely for my
own use when no SSH is available). If you're IIS on NT someone w/ more
knowledge than I could probably make a quick ASP script for you.


-----Original Message-----
From: Tim Painter [mailto:[EMAIL PROTECTED]]
Sent: May 11, 2001 08:31
To: CF-Talk
Subject: Restarting CF from Web


Hello!  In CF 4.0 there was a nifty java app that allowed me to stop and
restart CF from a web page, however it is no more in 4.5.  I no longer have
a copy of 4.0 and really need to get a copy of this.  Does anyone have a
resource to get this or an alternative that will do the same thing?

Thanks!
Tim Painter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to