The TRUST SET request only applies until STAFProc is shutdown.  To make 
this trust setting permanent, you need to add a TRUST configuration line 
to the STAF configuration file (e.g. in C:\STAF\bin\STAF.cfg if on Windows 
or /usr/local/staf/bin/STAF/cfg if on Unix) as I talked about in my 
previous note and then shutdown and restart STAFProc so that it uses the 
updated STAF configuration file.  For example:

TRUST LEVEL 5 MACHINE *://17.16.60.61 
or
TRUST LEVEL 5 MACHINE *://demoserv 

This is talked about in section "4.0 Configuration", sub-section "4.9 
Trust" in the STAF User's Guide at 
http://staf.sourceforge.net/current/STAFUG.htm#HDRTRUSTCFG.

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




From:   bab mis <bab...@outlook.com>
To:     Sharon Lucas/Austin/IBM@IBMUS, 
Date:   11/28/2013 04:13 AM
Subject:        RE: [staf-users] START SHELL COMMAND fails for  machine



It worked fine after i set the trust level to 5 . But.  Its set command to 
make it permanent what do i need to do

Sent from my Windows Phone
From: Sharon Lucas
Sent: ‎27-‎11-‎2013 04:30
To: babmis
Cc: staf-users@lists.sourceforge.net
Subject: Fw: [staf-users] START SHELL COMMAND fails for  machine

You may have some errors in your hosts configuration file on machine 
centos.abc.info (e.g. /etc/hosts).

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

----- Forwarded by Sharon Lucas/Austin/IBM on 11/26/2013 04:57 PM ----- 

From:        Sharon Lucas/Austin/IBM@IBMUS 
To:        babmis <bab...@outlook.com>, 
Cc:        staf-users@lists.sourceforge.net 
Date:        11/26/2013 04:57 PM 
Subject:        Re: [staf-users] START SHELL COMMAND fails for  machine 



The error message for RC 25 (Insufficient trust level) indicates that 
machine 17.16.60.61 (centos.abc.info) does not give trust 5 to the 
requesting machine which it recognizes as having hostname demoserv and IP 
address 17.16.60.61.  This information is provided in the error message: 

Trust level 5 required for the PROCESS service's START request
Requester has trust level 3 on machine centos.abc.info
Requesting machine: ssl://demoserv (ssl://17.16.60.61)
Requesting user   : none://anonymous 

If you list the trust levels on the machine that you are submitting the 
STAF PROCESS START request to (e.g. STAF 17.16.60.61 TRUST LIST), then it 
would appear there isn't a machine trust setting that gives trust level 5 
to a machine with hostname demoserv or IP address 17.16.60.61 (the 
hostname and IP address of the requesting machine).  To fix this trust 
problem, make sure that the STAF.cfg file on target machine (the machine 
that you are submitting the STAF PROCESS START request to) contains one of 
the following TRUST SET lines in it (depending on whether you want to give 
trust level by IP address or hostname).: 

TRUST LEVEL 5 MACHINE *://17.16.60.61 
TRUST LEVEL 5 MACHINE *://demoserv 

Or, you could trust level 5 to all machines by setting the default trust 
level to 5 in the STAF.cfg file: 

TRUST DEFAULT LEVEL 5 

Whenever you update the STAF.cfg file, you need to shutdown and restart 
STAF for it to pick up changes to the STAF configuration file., 

Note that it appears you have some TCP/IP name server issues as IP address 
17.16.60.61 appears to have both hostnames demoserv and centos.abc.info 
assigned to it which also could be causing issues.

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




From:        babmis <bab...@outlook.com> 
To:        staf-users@lists.sourceforge.net, 
Date:        11/26/2013 10:36 AM 
Subject:        [staf-users] START SHELL COMMAND fails for  machine 



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 submitting request, RC: 25
Additional info
---------------
Trust level 5 required for the PROCESS service's START request
Requester has trust level 3 on machine centos.abc.info
Requesting machine: ssl://demoserv (ssl://17.16.60.61)
Requesting user   : none://anonymous
root@demoserv:/usr/local/staf#

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 

Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics 
Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk

_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 

Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics 
Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to