The following errors:

  C:\>STAF RH51x64.ca.com PING PING
  Error registering with STAF, RC: 21
  C:\>STAF 155.35.7.106 PING PING
  Error registering with STAF, RC: 21

  Indicate the STAF is not running on the local machine where you are
  submitting these requests.

  Thanks,
  David


                                                                       
 David Bender          11501 Burnet Rd.   Phone (T/L): 1-512-286-5315  
 STAF/STAX Development Bldg. 903-5B002    (363-5315)                   
                       Austin, TX         ITN: 23635315                
 IBM Software Group,   78758-3400         Email: bda...@us.ibm.com     
 WPLC                                                                  
                                                                       
                                                                       






                                                                       
  From:       Sangram Bakshi <san...@gmail.com>                        
                                                                       
  To:         David Bender/Austin/i...@ibmus                            
                                                                       
  Date:       05/12/2010 09:09 AM                                      
                                                                       
  Subject:    Re: [staf-users] Reason: Error getting hostent structure for host 
        name: RH51x64, gethostbyname()
              RC=4                                                   
                                                                       





In the master machine i have the entry

TRUST LEVEL 4 MACHINE tcp://155.35.7.106
also
TRUST LEVEL 4 MACHINE tcp://RH51x64.ca.com
does not works , when i try a STAF PING.


I did go through the link you sent me , did not get much from there.
I do know the problem , just wanted to ask if we can do anything extra from
the STAF.cfg
so that the two machines can communicate.



Regards
Sangram

On Wed, May 12, 2010 at 7:32 PM, Sangram Bakshi <san...@gmail.com> wrote:
  David Actually the problem is in the vmware side :

  From RH51x64.ca.com if i do a nslookup we get :


   nslookup RH51x64.ca.com
  Server:         155.35.34.108
  Address:        155.35.34.108#53
  *** Can't find RH51x64.ca.com: No answer

  Is there any way we can have a work around as both machines are not able
  to communicate:


  But from the master machine when i try to do a STAF <RH51x64.ca.com> PING
  PING i get error :

  C:\>STAF RH51x64.ca.com PING PING
  Error registering with STAF, RC: 21
  C:\>STAF 155.35.7.106 PING PING
  Error registering with STAF, RC: 21





  Regards
  Sangram

  On Wed, May 12, 2010 at 7:25 PM, Sangram Bakshi <san...@gmail.com> wrote:
   Thanks David,

   I was able to run  STAF proc when i changed the format as you correctly
   noted.

   Machine          : RH51x64.ca.com
   Machine nickname : RH51x64.ca.com
   Startup time     : 20110512-15:36:37
   STAFProc version 3.4.1 initialized

   But from the master machine when i try to do a STAF <RH51x64.ca.com>
   PING PING i get error :

   C:\>STAF RH51x64.ca.com PING PING
   Error registering with STAF, RC: 21
   C:\>STAF 155.35.7.106 PING PING
   Error registering with STAF, RC: 21


   Regards
   Sangram.

   On Wed, May 12, 2010 at 6:58 PM, David Bender <bda...@us.ibm.com> wrote:
     See the following forum threads that discuss this problem and how to
     resolve it.

     http://sourceforge.net/projects/staf/forums/forum/104046/topic/3462543
     http://sourceforge.net/projects/staf/forums/forum/104046/topic/3293033
     .
     http://sourceforge.net/projects/staf/forums/forum/104046/topic/1926694

     I don't think your /etc/hosts file is correct (the hostnames don't
     match). The format should be:

     <IP Address> <hostname.x.x.x> <hostname>

     Thanks,
     David


                                                                       
 David Bender          11501 Burnet Rd.   Phone (T/L): 1-512-286-5315  
 STAF/STAX Development Bldg. 903-5B002    (363-5315)                   
                       Austin, TX         ITN: 23635315                
 IBM Software Group,   78758-3400         Email: bda...@us.ibm.com     
 WPLC                                                                  
                                                                       





     Inactive hide details for Sangram Bakshi ---05/12/2010 08:17:39
     AM---Hi , I have a problem while running STAFProc on a vmware iSangram
     Bakshi ---05/12/2010 08:17:39 AM---Hi , I have a problem while running
     STAFProc on a vmware image
                                                                       
                                                                       
 From:       Sangram Bakshi <san...@gmail.com>                         
                                                                       
                                                                       
 To:         staf-users@lists.sourceforge.net                          
                                                                       
                                                                       
 Date:       05/12/2010 08:17 AM                                       
                                                                       
                                                                       
 Subject:    [staf-users] Reason: Error getting hostent structure for host
             name: RH51x64, gethostbyname() RC=4                     
                                                                       






     Hi ,

     I have a problem while running STAFProc on a vmware image
     Linux RH51x64

     The /etc/hosts file is :

     155.35.7.106    RH51x64.ca.com  ismevmit-RH5164
     I get the following error.


     ./STAFProc
     Error on Interface definition line:
     interface tcp library STAFTCP option Secure=No  option Port=6500
     Error code: 47
     Reason    : Error creating interface.
     STAFConnectionProviderConstruct: Could not determine logical/physical
     identifier.Error code: 22  Reason: Error getting hostent structure for
     host name: RH51x64, gethostbyname() RC=4
     Error in configuration file: /usr/local/staf/bin/STAF.cfg
     The STAF.cfg is :

     # Turn on tracing of internal errors and deprecated options
     trace enable tracepoints "error deprecated"
     # Enable TCP/IP connections
     #interface ssl library STAFTCP option Secure=Yes option Port=6550
     interface tcp library STAFTCP option Secure=No  option Port=6500
     # Set default local trust
     trust machine local://local level 5
     # Add default service loader
     serviceloader library STAFDSLS
     #trust machine 155.35.3.229://155.35.3.229 level 5
     #TRUST LEVEL 5 MACHINE tcp://155.35.3.229
     TRUST LEVEL 5 MACHINE  tcp://baksa03-xp.ca.com (master STAF machine)

     Is there any way we can resolve this error using the STAF.cfg file .
     It would be very helpful. I have this problem in other
     vmware images as well.

     Regards
     Sangram


     
------------------------------------------------------------------------------


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







<<inline: graycol.gif>>

<<inline: ecblank.gif>>

------------------------------------------------------------------------------

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

Reply via email to