Extramural:
- Successfully completed a globus-url-copy on lab the machine
- Corrected certificate error, details below. Note: Will need to submit a new certificate request
Renamed the server to match the name in the host certificate (command used: hostname new-servername.some.com)
to correct the following error:
#####Begin Error Message#######
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 (hostname-removed.net), and the expected name for the remote host (some-other.hostname-removed.com) do not match. This happens when the name in the host certificate does not match the information obtained
globus-url-copy -vb -dbg gsiftp://host.server,running.on/dev/zero file:///dev/nullfrom DNS and is often a DNS configuration problem.
#######End of Error############################
- Command entered to simulate a large file transfer from a remote host to the local machine:
globus-url-copy -vb -dbg gsiftp://localhost/dev/zero file:///dev/null
Note: This transfer will run until you press ctrl+C
Expected Output in Debug Mode:
##############Start of output############
ken@LLAB-INF-1002:~> globus-url-copy -vb -dbg gsiftp://localhost/dev/zero file:///dev/null
Source: gsiftp://localhost/dev/
Dest: file:///dev/
zero -> null
debug: starting to get gsiftp://localhost/dev/zero
debug: connecting to gsiftp://localhost/dev/zero
debug: response from gsiftp://localhost/dev/zero:
220 host_name_removed GridFTP Server 2.5 (gcc32dbg, 1182369948-63) ready.
debug: authenticating with gsiftp://localhost/dev/zero
debug: response from gsiftp://localhost/dev/zero:
230 User ken logged in.
debug: sending command:
SITE HELP
debug: response from gsiftp://localhost/dev/zero:
214-The following commands are recognized:
ALLO ESTO RNTO APPE DCAU MODE SIZE STRU
TYPE DELE SITE CWD ERET FEAT LIST NLST
MLSD MLST PORT PROT EPRT PWD QUIT REST
STAT SYST MKD RMD CDUP HELP NOOP EPSV
PASV TREV SBUF MDTM CKSM OPTS PASS SPAS
PBSZ SPOR RETR STOR USER RNFR LANG
214 End
debug: sending command:
FEAT
debug: response from gsiftp://localhost/dev/zero:
211-Extensions supported
UTF8
LANG EN
DCAU
PARALLEL
SIZE
MLST Type*;Size*;Modify*;Perm*;Charset;UNIX.mode*;UNIX.owner*;UNIX.group*;Unique*;UNIX.slink*;
ERET
ESTO
SPAS
SPOR
REST STREAM
MDTM
211 End.
debug: sending command:
TYPE I
debug: response from gsiftp://localhost/dev/zero:
200 Type set to I.
debug: sending command:
PBSZ 1048576
debug: response from gsiftp://localhost/dev/zero:
200 PBSZ=1048576
debug: sending command:
PASV
debug: response from gsiftp://localhost/dev/zero:
227 Entering Passive Mode (127,0,0,1,140,144)
debug: sending command:
RETR /dev/zero
debug: response from gsiftp://localhost/dev/zero:
150 Begining transfer.
debug: reading into data buffer 0xb79c6008, maximum length 1048576
debug: data callback, no error, buffer 0xb79c6008, length 1048576, offset=0, eof=false
debug: reading into data buffer 0xb78a3008, maximum length 1048576
debug: data callback, no error, buffer 0xb78a3008, length 1048576, offset=1048576, eof=false
debug: reading into data buffer 0xb79c6008, maximum length 1048576
debug: data callback, no error, buffer 0xb79c6008, length 1048576, offset=2097152, eof=false
debug: reading into data buffer 0xb78a3008, maximum length 1048576
debug: data callback, no error, buffer 0xb78a3008, length 1048576, offset=3145728, eof=false
debug: reading into data buffer 0xb79c6008, maximum length 1048576
Cancelling copy...
debug: aborting current operation
debug: data callback, no error, buffer 0xb79c6008, length 0, offset=4194304, eof=false
debug: operation complete
##############End of Output#####################
- Command entered to simulate a large file transfer from local host to remote host:
globus-url-copy -vb -dbg file:///dev/zero gsiftp://localhost/dev/null
Expected Output in Debug Mode:
Similar to the above Output
- Command entered to simulate a small file transfer from remote host to local host /tmp
Expected Output in Debug Mode:
##########Start of Output#################
ken@LLAB-INF-1002:~> globus-url-copy -dbg gsiftp://localhost/home/ken/gridtesting file:///tmp/ken.grid.copy
debug: starting to get gsiftp://localhost/home/ken/gridtesting
debug: connecting to gsiftp://localhost/home/ken/gridtesting
debug: response from gsiftp://localhost/home/ken/gridtesting:
220 host_name_removed GridFTP Server 2.5 (gcc32dbg, 1182369948-63) ready.
debug: authenticating with gsiftp://localhost/home/ken/gridtesting
debug: response from gsiftp://localhost/home/ken/gridtesting:
230 User ken logged in.
debug: sending command:
SITE HELP
debug: response from gsiftp://localhost/home/ken/gridtesting:
214-The following commands are recognized:
ALLO ESTO RNTO APPE DCAU MODE SIZE STRU
TYPE DELE SITE CWD ERET FEAT LIST NLST
MLSD MLST PORT PROT EPRT PWD QUIT REST
STAT SYST MKD RMD CDUP HELP NOOP EPSV
PASV TREV SBUF MDTM CKSM OPTS PASS SPAS
PBSZ SPOR RETR STOR USER RNFR LANG
214 End
debug: sending command:
FEAT
debug: response from gsiftp://localhost/home/ken/gridtesting:
211-Extensions supported
UTF8
LANG EN
DCAU
PARALLEL
SIZE
MLST Type*;Size*;Modify*;Perm*;Charset;UNIX.mode*;UNIX.owner*;UNIX.group*;Unique*;UNIX.slink*;
ERET
ESTO
SPAS
SPOR
REST STREAM
MDTM
211 End.
debug: sending command:
TYPE I
debug: response from gsiftp://localhost/home/ken/gridtesting:
200 Type set to I.
debug: sending command:
PBSZ 1048576
debug: response from gsiftp://localhost/home/ken/gridtesting:
200 PBSZ=1048576
debug: sending command:
PASV
debug: response from gsiftp://localhost/home/ken/gridtesting:
227 Entering Passive Mode (127,0,0,1,128,199)
debug: sending command:
RETR /home/ken/gridtesting
debug: response from gsiftp://localhost/home/ken/gridtesting:
150 Begining transfer.
debug: reading into data buffer 0xb798b008, maximum length 1048576
debug: data callback, no error, buffer 0xb798b008, length 37, offset=0, eof=true
debug: response from gsiftp://localhost/home/ken/gridtesting:
226 Transfer Complete.
debug: operation complete
##########End of Output######################
- Corrected Mapfile issue by adding a user name to the end of the mapfile and using that same user name to run a globus-url-copy.
Example of what it would look like if /etc/grid-security/grid-mapfile did not contain the correct information for a user attempting to run a globus-url-copy. I generated this error by removing the username from the end of the line in the /etc/grid-security/grid-mapfile
Expected Output:
########Start of Output#####################
ken@LLAB-INF-1002:~> globus-url-copy -dbg gsiftp://localhost/home/ken/gridtesting file:///tmp/ken.grid.copy
debug: starting to get gsiftp://localhost/home/ken/gridtesting
debug: connecting to gsiftp://localhost/home/ken/gridtesting
debug: response from gsiftp://localhost/home/ken/gridtesting:
220 hostname_removed GridFTP Server 2.5 (gcc32dbg, 1182369948-63) ready.
debug: authenticating with gsiftp://localhost/home/ken/gridtesting
debug: response from gsiftp://localhost/home/ken/gridtesting:
530-Login incorrect. : globus_gss_assist: Gridmap lookup failure: Could not map /O=info remoed/OU=Globus Toolkit/OU=Globus changed info/OU=your.domain.info/OU=another.domain.whatever/CN=Firstname Lastname
530-
530 End.
debug: fault on connection to gsiftp://localhost/home/ken/gridtesting
debug: data callback, error globus_ftp_client: the server responded with an error, buffer 0xb79a2008, length 0, offset=0, eof=true
debug: operation complete
#############End of Output####################