Bug 4299

Summary: Error in RFT
Product: RFT Reporter: swainsonsujana <swainsonsujana@rediffmail.com>
Component: RFTAssignee: Ravi Madduri <madduri@mcs.anl.gov>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: development   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description From 2006-03-20 01:53:30
Respected Sir/Mam

 We are configuring globus toolkit 4.0.1 according to the guidelines in the
quickstart.But in RFT configuration we couldn't perform the reliable file
tranfer with this command "rft -h 192.168.1.238 -f /tmp/rft.xfr".We got the
error like this,


[user@localhost user]$ rft -h 192.168.1.238 -f /tmp/rft.xfr
2006-03-20 13:04:17,333 ERROR delegation.DelegationUtil
[main,getCertificateChainRP:558] org.globus.common.ChainedIOException:
Authentication failed [Caused by: Operation unauthorized (Mechanism level:
Authorization failed. Expected "/CN=host/localhost.localdomain" target but
received
"/O=Grid/OU=GlobusTest/OU=simpleCA-localhost.localdomain/CN=host/192.168.1.238")]
Exception in thread "main" Error during startup processing. Caused by . Caused
by AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: org.globus.common.ChainedIOException: Authentication failed
[Caused by: Operation unauthorized (Mechanism level: Authorization failed.
Expected &quot;/CN=host/localhost.localdomain&quot; target but received
&quot;/O=Grid/OU=GlobusTest/OU=simpleCA-localhost.localdomain/CN=host/192.168.1.238&quot;)]
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace:Authentication failed. Caused
by GSSException: Operation unauthorized (Mechanism level: Authorization failed.
Expected &quot;/CN=host/localhost.localdomain&quot; target but received
&quot;/O=Grid/OU=GlobusTest/OU=simpleCA-localhost.localdomain/CN=host/192.168.1.238&quot;)
       at
org.globus.gsi.gssapi.GlobusGSSContextImpl.initSecContext(GlobusGSSContextImpl.java:509)
        at
org.globus.gsi.gssapi.net.GssSocket.authenticateClient(GssSocket.java:102)
        at
org.globus.gsi.gssapi.net.GssSocket.startHandshake(GssSocket.java:140)
        at
org.globus.gsi.gssapi.net.GssSocket.getOutputStream(GssSocket.java:160)
        at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:433)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:135)        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2727)
        at org.apache.axis.client.Call.invoke(Call.java:2710)
        at org.apache.axis.client.Call.invoke(Call.java:2386)
        at org.apache.axis.client.Call.invoke(Call.java:2309)
        at org.apache.axis.client.Call.invoke(Call.java:1766)
        at
org.globus.delegationService.DelegationFactoryPortTypeSOAPBindingStub.getResourceProperty(DelegationFactoryPortTypeSOAPBindingStub.java:1323)
        at
org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:556)
        at
org.globus.delegation.DelegationUtil.getCertificateChainRP(DelegationUtil.java:514)
        at
org.globus.transfer.reliable.client.BaseRFTClient.delegateCredential(BaseRFTClient.java:292)
        at
org.globus.transfer.reliable.client.ReliableFileTransferClient.main(ReliableFileTransferClient.java:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:95)
        at org.globus.bootstrap.Bootstrap.main(Bootstrap.java:37)

        {http://xml.apache.org/axis/}hostname:localhost.localdomain


 Kindly help us, Thank You
------- Comment #1 From 2006-03-20 08:49:25 -------
Looks like your /etc/hosts file is not configured properly. Make sure you have
a mapping that looks like this in your /etc/hosts:
192.168.1.238 localhost simpleCA-localhost.localdomain

Also you should *not* have the subject name of your certs contain
localhost.localdomain, you should have a fully qualified domain name if you
plan to use this setup in production.
Finally, Please use gt-user@globus.org to report problems you face before
filing a bug. 
------- Comment #2 From 2006-11-21 00:04:59 -------
 Hi, change 'localhost' in /tmp/rft.xfr to your host address.

Guest.