|
View previous topic :: View next topic |
Author |
Message |
gufmar
Joined: 07 Nov 2004 Posts: 2
|
Posted: Sun Nov 07, 2004 3:41 pm Post subject: can't execute external program in service mode |
|
|
I've running hostmonitor in service mode on win2003 server. When I try to use as action "execute external program" this seems to work only if Hostmonitor is started in normal mode.
I've tried to change the service mode from "local system account" to "use account..." without any success. In both cases there shouldn't be any problem to access the "external program"
The external programm is a vbscript called trough cscript.exe:
c:\windows\system32\cscript.exe c:\scriptdirectory\sendsms.vbs "%testname%: %simplestatus% (%datetime%)"
This command line is working great if HM runs in normal mode (console or terminal service) but not if HM is running in service mode.
any ideas?
Markus |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Nov 08, 2004 5:59 pm Post subject: |
|
|
Cannot reproduce this error. Of course I used another script for testing, HostMonitor is able to start external program.
Could you please check system log? If HostMonitor cannot launch cscript.exe, there should be error description.
Most likelly HostMonitor successfully starts script.exe but scripting host cannot perform script for some reason... Could you try to start some other external application, for testing?
Regards
Alex |
|
Back to top |
|
|
gufmar
Joined: 07 Nov 2004 Posts: 2
|
Posted: Tue Nov 09, 2004 2:43 am Post subject: problem solved |
|
|
hm there was some problem with the local system account. Now Hostmonitor, external program (cscript) and the script seems running fine.
thanks
Markus |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|