Bingo !!
 
Security issue.
 
Because SA is running as a service using the local system account, it did not have permission to access the LAN.
 
Thanks
 
Steve

 -----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Dirk Bulinckx
Sent: 16 April 2004 09:52
To: [EMAIL PROTECTED]
Subject: RE: [SA-list] Execute Command type Alert

And how is Servers Alive running?  As service or as application?
SA is apparently (from what you're saying) starting the bat/cmd/.. but the command(s) inside fail?  Could this be a security issue? 
 

Dirk.
Don't forget to vote for Servers Alive in the annual Sunbelt Target Awards
http://www.sunbelt-software.com/targetawards/

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Haynes
Sent: Friday, April 16, 2004 10:47 AM
To: [EMAIL PROTECTED]
Subject: [SA-list] Execute Command type Alert

I have a custom application that polls a database and I'm using servers alive to monitor the process.
 
If the process dies or is accidentally closed by a user, I want servers alive to restart the application at the next poll.
 
I have implemented this using process monitoring, and the execute command as alert (i.e. run the prog again).
 
The problem I am experiencing is that whenever launched from SA, the database polling will not work, the application simply returns an error accessing the database.
 
I have tested multiple launch mechanisms to ensure it is not a prob with the app, I have :-
 
a. Run from a shortcut
b. Run from a batch file
c. Run from a CMD prompt
d. Run from the "Run" dialogue of Windows
e. Launch directly from Explorer.
 
All conditions work, but it simply won't run with SA.
 
I also wrote a small application which had the sole task of launching the first app, but again, when launched by SA we get exactly the same results as above.
 
Any ideas ???
 
Regards
 
Steve
 

Reply via email to