[staf-users] Fwd: Command parsing failed with staf for multiple " ( \n

2013-12-05 Thread babmis
Hi , I have a command dbtool.py -t jobs -a rawquery -q "update run_jobs set jobcomments=CONCAT(jobcomments,'\r\n','hi') where jobid='job02' " This works perfectly on localhost when i am trying to do the same with staf from remote machine as below it fails : staf 172.16.60.111 PROCES

Re: [staf-users] START SHELL COMMAND fails for machine

2013-11-26 Thread babmis
On 11/26/2013 10:03 PM, babmis wrote: Hi START SHELL COMMAND fails for a machine where as trust level is set as 5 for that machine. ping works fine ?? Any clue ?? root@*demoserv*:/usr/local/staf# staf 17.16.60.61 ping ping Response PONG root@*demoserv*:/usr/local/staf# staf

[staf-users] START SHELL COMMAND fails for machine

2013-11-26 Thread babmis
Hi START SHELL COMMAND fails for a machine where as trust level is set as 5 for that machine. ping works fine ?? Any clue ?? root@demoserv:/usr/local/staf# staf 17.16.60.61 ping ping Response PONG root@demoserv:/usr/local/staf# staf 17.16.60.61 PROCESS START SHELL COMMAND "ls" Error

[staf-users] Error while runnng stax exec file with args from python script

2013-09-02 Thread babmis
Hi , I am getting following error while trying to execute stax exec file from python script. Here is the debugger output. Can any please help me to get rid of this. (Pdb) command="EXECUTE FILE /usr/local/staf/getfiles ARGS {'machName': 'local','commandname':'hostname'}" (Pdb) p host 'local' (