Hi,
The process you are running via your STAX job most likely completed within 
a second, however, the STAX job was not notified that the process 
completed, most likely due to a DNS problem with either the STAX service 
machine or the machine where the process was executed (e.g. machine 
172.18.245.57 that executed the process is unable to communicate the STAF 
process completion message to the STAX service machine and so the STAX 
service machine never knows that the process completed).  This issue and 
suggestions on how to resolve it is talked about in the STAF/STAX FAQ  at 
http://staf.sourceforge.net/current/STAFFAQ.htm#d0e2201:

4.1.2.
Why is STAX still showing a process as running, even though it has 
completed? 

If you are running a STAX Job, and it shows that a process is still 
running, even though the process has actually completed, this is likely a 
DNS problem with either the STAX service machine or the machine where the 
process was executed (where the machine that executed the process is 
unable to find the STAX service machine in order to deliver the process 
completion message). 
Refer to "Why can't my STAF machines communicate?" to resolve this 
problem. 

And, if you search the STAF Discussion forums and staf-users mailing list, 
you can find answers to your question.  For example, also see  
https://sourceforge.net/p/staf/discussion/104046/thread/be36a62f/?limit=25#1744 
and 
https://sourceforge.net/p/staf/discussion/104046/thread/9b4b7ac4/?limit=25#eee3
--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:   sky yadav <suneel.yad...@gmail.com>
To:     Sharon Lucas/Austin/IBM@IBMUS
Date:   08/09/2016 12:55 PM
Subject:        Re: [staf-users] Need Help for STAF



Hi Lucas,

Thanks for your continuous support and help. Now i can run my job over 
network.
But the job which i am running it just a perl file where i am printing 
some text and when ever i trigger this job it keeps in running state.
where if I run same job locally it gets completed in a sec.

Below are the script, please let me know if you need more info, Thanks.

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE stax SYSTEM "stax.dtd">

-<stax>

<defaultcall function="main"/>


-<function name="main">


-<sequence>


-<process>

<location>'172.18.245.57'</location>

<command>'C:/perl/bin/perl c:/script.pl'</command>

<stderr mode="'stdout'"/>

<returnstdout/>

</process>

<message log="1">STAXResult</message>

</sequence>

</function>

</stax>


Regards,
Suneel

On Tue, Aug 9, 2016 at 10:57 PM, Sharon Lucas <luc...@us.ibm.com> wrote:
Hi,
Now that you have added trust level 5 for local://local, you are getting a 
different trust error.  You are no longer getting a trust error trying to 
submit the STAX EXECUTE request to the STAX service machine.  But you are 
getting a trust error when the STAX service attempts to submit a GET FILE 
request to the FS service on machine 172.18.245.57 to get file 
C:\STAF\suneel.xml from machine 172.18.245.57.  The error message says 
that machine mtvttovcd475 is not giving machine 172.16.79.11 trust level 4 
or higher.  So, in the STAF.cfg file on machine mtvttovcd475, you need to 
give trust level 4 or higher to machine 172.16.79.11.  For example, add:

trust level 5 machine 172.16.79.11

Also, whenever you modify the STAF.cfg file on a machine, you must restart 
STAFProc for those changes to be picked up.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:        sky yadav <suneel.yad...@gmail.com>
To:        staf-users@lists.sourceforge.net
Date:        08/09/2016 12:09 PM
Subject:        [staf-users] Need Help for STAF



Hi,

I am trying to run a STAX job over network as you explained over mail I 
have declared the default trust level to 5 but still getting the below 
error.


RC: 25 (Insufficient trust level)
Additional info
---------------
{
  Job ID       : 2
  Error Message: Error getting XML file C:\STAF\suneel.xml from machine 
172.18.245.57

Trust level 4 required for the FS service's GET FILE request
Requester has trust level 3 on machine mtvttovcd475
Requesting machine: ssl://172.16.79.11(ssl://172.16.79.11)
Requesting user   : none://anonymous
}

STAF local STAX EXECUTE HOLD FILE :18:C:\STAF\suneel.xml MACHINE 
:13:172.18.245.57 JOBNAME :1:9 LOGTCNUMSTARTS Enabled.

Even i have declared default and machine level trust in STAX local and 
STAF network machine but couldn't able to run a job over network.

Any help would be appreciated.



Thanks & Regards,

Suneel Yadava.

Mob-7829479839

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and 
traffic
patterns at an interface-level. Reveals which users, apps, and protocols 
are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users






-- 
Thanks & Regards

Suneel Yadava.

Mob-7829479839





------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to