I was able to get "STAF local PING PING" to work by navigating to the
"Command Prompt" icon, right mouse on it, and select "Run as
administrator". From the resulting command prompt, "STAF local PING PING"
worked correctly.
David Bender
STAF/STAX Development
8-1268 (512-838-1268)
IBM Austin Bldg. 903-5B002
Internet: [EMAIL PROTECTED]
David Bender/Austin/[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
05/29/2008 09:14 AM
To
[email protected]
cc
[EMAIL PROTECTED]
Subject
Re: [staf-users] Problem starting STAF on reboot with Task Scheduler
Can you check to see if you can remotely communicate to your Vista system
via STAF (i.e., from another system that is running STAF, run "STAF
<vista-hostname> PING PING")?
When I set up STAFProc to start on a Windows Vista x86 system via the Task
Scheduler, I am seeing behavior similar to yours. When I log in to the
Vista system and run "STAF local PING PING", the response is RC 21, and
the Task Manager does not show STAFProc as running. However, I can
remotely ping (via STAF) my Vista system. If I change the Task Manager
view to "Show processes from all users", then I do see STAFProc.exe in the
list of Processes.
I'll try to determine why "STAF local PING PING" is not working with this
setup.
David Bender
STAF/STAX Development
8-1268 (512-838-1268)
IBM Austin Bldg. 903-5B002
Internet: [EMAIL PROTECTED]
"Daria Holden" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
05/28/2008 02:56 PM
To
[email protected]
cc
Subject
[staf-users] Problem starting STAF on reboot with Task Scheduler
I have a task scheduled to run D:\STAF\bin\STAFProc.exe at system
startup, but when I reboot the machine and log in, the STAFProc
process isn't running. In the Task Scheduler, the task's status is
"Ready".
I've checked the event log, and I don't see any error message related to
this.
I've tried running the task from the task scheduler by selecting the
task and clicking run. Task Scheduler then says the task is running,
but the STAFProc process isn't visible in Task Manager, indicating the
process didn't actually start. If I run and end the task repeatedly,
I'll occasionally see the STAFProc process briefly in the Task Manager
before it goes away again.
I changed the task so it redirects the output of STAFProc.exe to a
file, but the file never gets created.
If I run STAFProc.exe on the command line, it starts just fine.
I verified on the command line that the file redirection using the
exact command from the task scheduler works; staf starts normally, and
all the expected text is in the output file.
The task is set to run with highest privileges.
The task is set to use the SYSTEM user account.
The task is set to "Run whether the user is logged on or not."
The task is set to "Wake the computer to run this task" (which shouldn't
matter)
I am running:
Microsoft(R) Windows Vistaâ„¢ Business
Version 6.0.6000 Build 6000
System Type x64-based PC
I was having this problem with STAF 3.2.3, so I installed 3.2.5, and
I'm having the same problem.
Any suggestions?
Thanks,
D
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users