Stephen,

Stephen Bourlin wrote on 10.06.2009 02:03:
> AlarmNotifier keeps freezing up on me and I've isolated it to multiple 
> processes of sh.exe running on the server.  I'm running Spectrum on a 
> Windows 2003 server and I'm running Spectrum ver 9.0.1.4.4. 
>  
> When I search the system for sh.exe here's what I get 
> %specroot%\NT-Tools\SRE\bin.  Outside of that I have no idea what 
> sh.exe is.
sh.exe is the shell binary which is needed to execute shell scripts, 
like the ones from AlarmNotifier. If sh.exe seems to hang, then one of 
your scripts seems to have a problem and never exits.
What I usually try to do in such cases, is to enclose the actual script, 
like SetScrip or ClearScript, in a sub-shell to capture the output. 
Assume you have a problem with SetScript:

    * rename SetScript to SetScript.bin
    * create a new SetScript with the following line: sh -x SetScrip.bin
       > SetScript.$$.OUT 2>&1

This will create output files, which contain a uniq number in their name 
(the process id actually). The output includes the scripts output plus 
all the stuff sh.exe does (because of the -x flag). You then have to 
sift through the output to find out what's happening...

Happy hunting,

Thomas

-- 
Intelligent Communication Software Vertriebs GmbH
Firmensitz: Kistlerhof Str. 111, 81379 München
Registergericht: Amtsgericht München, HRB 88283
Geschäftsführer: Albert Fuss


---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]
begin:vcard
fn;quoted-printable:Thomas Kl=C3=B6ber
n;quoted-printable:Kl=C3=B6ber;Thomas
org:ICS GmbH
adr;quoted-printable:;;Leibnizpark 1;R=C3=B6srath;NRW;51503;Germany
email;internet:[email protected]
title:Dipl-Inform
tel;work:++49-2205-895558
tel;fax:++49-2205-895625
note:VoIP: 032221318672
x-mozilla-html:TRUE
url:www.ics.de
version:2.1
end:vcard

Reply via email to