Looks like a firewall issue.

 

From: David Bender [mailto:bda...@us.ibm.com] 
Sent: Thursday, May 13, 2010 7:20 PM
To: Sangram Bakshi
Cc: staf-users@lists.sourceforge.net
Subject: Re: [staf-users] Reason: Error getting hostent structure
forhost name: RH51x64, gethostbyname() RC=4

 

>From the same machine where you submitted the STAF xxx PING PING
requests, can you do a non-STAF ping to the machines?

ping 155.35.7.106
ping RH51x64.ca.com

Thanks, 
David 

________________________________

David Bender
<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=Da
vid+Bender>  
STAF/STAX Development 
IBM Software Group, WPLC 

11501 Burnet Rd. 
Bldg. 903-5B002 
Austin, TX 78758-3400 

Phone (T/L): 1-512-286-5315 (363-5315) 
ITN: 23635315 
Email: bda...@us.ibm.com <mailto:bda...@us.ibm.com>  

 

________________________________



 Sangram Bakshi ---05/13/2010 12:55:14 AM---Also if i do a : C:\>STAF
155.35.7.106 PING PING

 
From:

 
Sangram Bakshi <san...@gmail.com>


To:


David Bender/Austin/i...@ibmus


Cc:


staf-users@lists.sourceforge.net


Date:


05/13/2010 12:55 AM


Subject:


Re: [staf-users] Reason: Error getting hostent structure for host name:
RH51x64, gethostbyname() RC=4

________________________________




Also if i do a :
 
C:\>STAF 155.35.7.106 PING PING
Error submitting request, RC: 16
Additional info
---------------
STAFConnectionProviderConnect: Timed out connecting to endpoint:
select() timeo
t: 22, Endpoint: tcp://155.35.7.106 <http://155.35.7.106/> 
C:\>
 
Regards
Sangram

On Thu, May 13, 2010 at 11:09 AM, Sangram Bakshi <san...@gmail.com
<mailto:san...@gmail.com> > wrote: 

Hi David,
 
Yes you r right . I resolved that problem .
 
But then we have this :
 
C:\>STAF RH51x64.ca.com <http://rh51x64.ca.com/>  PING PING
Error submitting request, RC: 16
Additional info
---------------
STAFConnectionProviderConnect: Error resolving host name: Unknown host
name: RH5
1x64.ca.com <http://1x64.ca.com/> , gethostbyname(): 22, Endpoint:
tcp://RH51x64.ca.com <http://rh51x64.ca.com/> 
C:\>
 
The links you send had some mention of  a option to avoid nslook up .Can
that resolve the problem . 
Kindly let me know.
 
Regards
Sangram

On Wed, May 12, 2010 at 7:52 PM, David Bender <bda...@us.ibm.com
<mailto:bda...@us.ibm.com> > wrote:
The following errors: 

C:\>STAF RH51x64.ca.com <http://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
<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=Da
vid+Bender>  
STAF/STAX Development 
IBM Software Group, WPLC 

11501 Burnet Rd. 
Bldg. 903-5B002 
Austin, TX 78758-3400 

Phone (T/L): 1-512-286-5315 (363-5315) 
ITN: 23635315 
Email: bda...@us.ibm.com <mailto:bda...@us.ibm.com>  

 

________________________________



Sangram Bakshi ---05/12/2010 09:09:11 AM---In the master machine i have
the entry TRUST LEVEL 4 MACHINE tcp://155.35.7.106
<http://155.35.7.106/> 


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 <http://155.35.7.106/> 
also 
TRUST LEVEL 4 MACHINE tcp://RH51x64.ca.com <http://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
<mailto:san...@gmail.com> > wrote: 

David Actually the problem is in the vmware side :
 
>From RH51x64.ca.com <http://rh51x64.ca.com/>  if i do a nslookup we get
:
 
 
 nslookup RH51x64.ca.com <http://rh51x64.ca.com/> 
Server:         155.35.34.108
Address:        155.35.34.108#53
*** Can't find RH51x64.ca.com <http://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
<http://rh51x64.ca.com/> > PING PING i get error :

C:\>STAF RH51x64.ca.com <http://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
<mailto: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 <http://rh51x64.ca.com/> 
Machine nickname : RH51x64.ca.com <http://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
<http://rh51x64.ca.com/> > PING PING i get error :

C:\>STAF RH51x64.ca.com <http://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
<mailto: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/3462543>

http://sourceforge.net/projects/staf/forums/forum/104046/topic/3293033
<http://sourceforge.net/projects/staf/forums/forum/104046/topic/3293033>
.
http://sourceforge.net/projects/staf/forums/forum/104046/topic/1926694
<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
<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=Da
vid+Bender>  
STAF/STAX Development 
IBM Software Group, WPLC 

11501 Burnet Rd. 
Bldg. 903-5B002 
Austin, TX 78758-3400 

Phone (T/L): 1-512-286-5315 (363-5315) 
ITN: 23635315 
Email: bda...@us.ibm.com <mailto:bda...@us.ibm.com>  

 

________________________________



Sangram 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 <mailto:san...@gmail.com> >


To:


staf-users@lists.sourceforge.net
<mailto: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 <http://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 <http://155.35.3.229/> ://155.35.3.229
<http://155.35.3.229/>  level 5
#TRUST LEVEL 5 MACHINE tcp://155.35.3.229 <http://155.35.3.229/> 
TRUST LEVEL 5 MACHINE  tcp://baksa03-xp.ca.com
<http://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
<mailto:staf-users@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/staf-users
<https://lists.sourceforge.net/lists/listinfo/staf-users> 

 

 

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

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



<<image001.gif>>

<<image003.png>>

<<image004.png>>

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

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

Reply via email to