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 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