[Q&D] Windows Swiki Watch

G.J.Tielemans at dinkel.utwente.nl G.J.Tielemans at dinkel.utwente.nl
Fri Nov 2 11:04:52 UTC 2001


Now and then (for example when I upload/download big files to quick) my
Swiki-servers (NT or Win98)
do no longer answer my page-requests.

Kill & restart the squeak/swiki-process solves the problem without any
damage.

I am not a NT-system-manager but just an out of the box user... 
Until I have time to setup ActivePerl to do this "in the Swiki documented
way"....



To let the PC do this monitoring and restart unattended, I did arrange this
freeware combination:
-----------------------------------------------

1. install your Squeak/Swiki
2. start your Squeak/Swiki
3. press the start-server-button
4. THEN PRESS (when the start-button gets red) the save&exit button.
(everytime you start from now on this squeak/swiki, the server function now
also starts automatically)

5. download & install from http://www.ntutility.com/freeware.html the free
product Active Server Watcher (482 Kb)
6. download & install from http://www.koeltzsch.com/Software/software.htm
the free program KillProcess (32Kb)
7. create a textfile named reset.bat with these two lines:

killprocess.exe /K squeak.exe
squeak.exe squeak.image

(add pathnames where necessary, also for the image-file BUT NOT for the
squeak.exe in the kill-line) 
(Tip: sometimes the second line seems not to start, therefor I did implement
silly lines in between, like several "show dirs" and it was solved.)

8. start ASW (it will show up as a globe-icon at the bottom right)
9 doubleclick the icon
10. create under Resources the address of your swiki, include that active
port you did choose for your swiki, for example 
        http:\\216.203.234.125:8888
11. checkmark the box for "Run external file" 
12. fill in the textbox for the frequency of the checks (every 10 minutes?)
12. fill in the name of your reset.bat file, include the path for that file
13. sit and wait, your swiki should start automatically after 10 minutes (or
press: Check Resource Now!)
14. try to make your swiki idle (doing it on purpose as user is very
difficult!!) and see if it reboots automatically

It works for WinNT and Win98







More information about the Squeak-dev mailing list