| Summary: | gridftp problem | ||
|---|---|---|---|
| Product: | CoG jglobus | Reporter: | rich gooding <rwg@soton.ac.uk> |
| Component: | ftp | Assignee: | Jarek Gawor <gawor@mcs.anl.gov> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | allcock@mcs.anl.gov |
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | All | ||
| Attachments: |
debug output for grid ftp of sample program - upto point of hang
output for gpt_query |
||
We are aware that the 2.4 server claims to be 1.5. This is not correct, its just that the changes to the code that allow the correct version to be displayed was lost between 2.2 and 2.4. There isn't nearly enough information here for me to help you. I need to know that you're not using a threaded flavor for the server. I'll also need the control channel debugging statements that I am sure the Java client api allows, although, someone else will have to help you turn it on. It would also help to see the syslog for the server. Joe
Created an attachment (id=252) [details]
debug output for grid ftp of sample program - upto point of hang
Syslog output : ---------------------------------- Nov 4 17:23:34 escience-dept2 gridftpd[14344]: GSSAPI user /C=UK/O=eScience/OU=Southampton/L=SeSC/CN=richard gooding is authorized as rwg Nov 4 17:23:34 escience-dept2 gridftpd[14344]: FTP LOGIN FROM escience- 05.sesnet.soton.ac.uk [152.78.153.186], rwg ----------------------------------
Created an attachment (id=253) [details]
output for gpt_query
I think this shows that we are not using a threaded flavor - for the ftp parts
anyway - but I'm no expert !
OK - I think I've given you everything you asked for ? - If not please let me know.
looks like the client data channel authentication is hanging... this is likely a java gridftp client problem or incompatibility. let me forward this to the java folks.
*** This bug has been marked as a duplicate of 1309 ***
multiple gridftp file tranfer works with GT2.2 but not with GT2.4 and GT3 see sample code below. It hangs on the second file transfer. Also note: gpt-query for GT2.4.3 / GT3.0.2 reports gridftp sever package 1.10 but ftpwho - V reports: - Control channel received: 220 escience-dept2.sesnet.soton.ac.uk FTP server (GridFTP Server 1.5 [GSI patch v0.5] wu-2.6.2(2) Thu Sep 11 13:17:12 CDT 2003) ready. For Gt2.2: - Control channel received: 220 blue02.iridis.soton.ac.uk GridFTP Server 1.7 GSSAPI type Globus/GSI wu-2.6.2 (gcc32dbg, 1059689022-28) ready. Where the server version is HIGHER on the GT2.2 than 2.4 ? I've tried this on a number of machines - and the behaviour depends on GT version consistently. Rich Gooding ---------------------------------------------------------------- package test; import java.io.IOException; import org.globus.ftp.DataChannelAuthentication; import org.globus.ftp.DataSource; import org.globus.ftp.FileRandomIO; import org.globus.ftp.GridFTPClient; import org.globus.ftp.GridFTPSession; import org.globus.ftp.exception.ClientException; import org.globus.ftp.exception.ServerException; import org.globus.myproxy.MyProxyException; import org.ietf.jgss.GSSException; public class Test7 { public static void main(String[] s) throws GSSException, IOException, MyProxyException, ServerException, ClientException { GridFTPClient client = new GridFTPClient("myhost.mydomain", 2811); client.authenticate(null); client.setProtectionBufferSize(16384); client.setDataChannelAuthentication (DataChannelAuthentication.SELF); client.setDataChannelProtection(GridFTPSession.PROTECTION_SAFE); client.setType(GridFTPSession.TYPE_IMAGE); DataSource source1 = new FileRandomIO(new java.io.RandomAccessFile("c:\\aaa", "r")); DataSource source2 = new FileRandomIO(new java.io.RandomAccessFile("c:\\aaa", "r")); DataSource source3 = new FileRandomIO(new java.io.RandomAccessFile("c:\\aaa", "r")); client.setPassive(); client.setLocalActive(); client.put("/home/abc/tmp1/a1", source1, null); source1.close(); client.setPassive(); client.setLocalActive(); client.put("/home/abc/tmp1/a2", source2, null); source2.close(); client.setPassive(); client.setLocalActive(); client.put("/home/abc/tmp1/a3", source3, null); source3.close(); } }