Hi Kaasim,

globus-url-copy needs to know IP address of a GridFTP server to transfer files and uses the libc function gethostbyname() to get to know an IP address of the machine "simpleCA-nodeb". Unfortunately, there is no appropriate record in DNS or /etc/hosts file to resolve the hostname "simpleCA-nodeb". You need to add an appropriate record to /etc/hosts

192.168.1.102 simpleCA-nodeb.<you_should_write_a_domain_name> simpleCA-nodeb

or to DNS.

When you use the IP address 192.168.1.102 you get an authorization error. It is because the machine globustest uses a host certificate generated for the machine nodeb. Please, check if a DN (subject) of the certificate matches a real hostname of the machine.

$ openssl x509 -text -in /etc/grid-security/hostname.pem
$ hostname --fqdn

When you generate a certificate request for a host you have to specify a hostname exactly that machine has.

Regards,
Lukasz

kasim saeed wrote:
Hi all
I am using the following tutorial for the installation of SGE and globus.

http://www.globusconsortium.org/tutorial/

I am running Fedora core 4 both are are running in Virtual Box and my Host is Windows 7. all three machines i.e two guest Fedora Core 4 and windows are sucesfully pinging.The network type for my guest OS is Bridged Network.
Node B is my CA.
When i reach at the following link

http://www.globusconsortium.org/tutorial/ch6/page_14.php

it asks to copy a url from the CA.

which is like this " [j...@nodea ~]$ globus-url-copy -vb gsiftp://nodeb.ps.univa.com/etc/issue <http://nodeb.ps.univa.com/etc/issue> file:/tmp/foo "

now when i run above command with my setting i get the following error.

[j...@nodea ~]$ globus-url-copy -vb gsiftp://simpleCA-nodeb/etc/issue file:/tmp/foo
Source: gsiftp://simpleCA-nodeb/etc/
Dest:   file:/tmp/
  issue  ->  foo

error: globus_xio: Unable to connect to simpleCA-nodeb:2811
globus_xio: globus_libc_getaddrinfo failed.
globus_common: Name or service not known


if i change it with IP then the following error occurs


[j...@nodea ~]$ globus-url-copy -vb gsiftp://192.168.1.102/etc/issue <http://192.168.1.102/etc/issue> file:/tmp/foo
Source: gsiftp://192.168.1.102/etc/ <http://192.168.1.102/etc/>
Dest:   file:/tmp/
  issue  ->  foo
            0 bytes         0.00 MB/sec avg         0.00 MB/sec inst

error: globus_ftp_control: gss_init_sec_context failed
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote host (globustest), and the expected name for the remote host (nodeb) do not match. This happens when the name in the host certificate does not match the information obtained from DNS and is often a DNS configuration problem.


Please help me out.

Thanks in advace.






Regards
Kaasim Saeed.

Reply via email to