I've set up GT4 on my system at home, which is part of a LAN, with a DSL 
connection and static IP. I've set port forwarding for port 2811, and the range 
50,000 - 51,000 on my router and I've set the environment variable
        GLOBUS_TCP_PORT_RANGE=50000,51000
But I'm still having trouble sending files from the system in my research lab 
(which I've tested and works fine with all GT4 features enabled). The transfer 
begins and the file is even created on the remote side (i.e. home system), but 
none of the data from the file is passed (i.e. I only end up with a blank 
file). I've noticed when running globus-url-copy in dbg mode that when 
attempting to perform the transfer, the gridftp server enters passive mode, and 
it outputs the local ip address on there (I'm not sure if this is indicative of 
a routing problem)
        debug: response from gsiftp://athena.server.com/tmp/redhat-release:
        227 Entering Passive Mode (192,168,1,117,195,80)
The last two numbers indicate that it is indeed using port 50,000 (195*256 + 
80), which is open. After that, it stays forever in the STOR part of the 
transfer:
        debug: sending command:
        ALLO 56

        debug: response from gsiftp://athena/tmp/redhat-release:
        200 ALLO command successful.

        debug: sending command:
        STOR /tmp/redhat-release


This is the command I issue and all of the debugging output that is generated:

        [EMAIL PROTECTED] ~]$ globus-url-copy -vb -dbg 
file:///etc/redhat-release gsiftp://athena/tmp/
        Source: file:///etc/
        Dest:   gsiftp://athena/tmp/
        redhat-release
        debug: starting to put gsiftp://athena/tmp/redhat-release
        debug: connecting to gsiftp://athena/tmp/redhat-release
        debug: response from gsiftp://athena/tmp/redhat-release:
        220 athena.server.com GridFTP Server 2.3 (gcc32dbg, 1144436882-63) 
ready.
        
        debug: authenticating with gsiftp://athena/tmp/redhat-release
        debug: response from gsiftp://athena/tmp/redhat-release:
        230 User javi logged in.
        
        debug: sending command:
        SITE HELP
        
        debug: response from gsiftp://athena/tmp/redhat-release:
        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://athena/tmp/redhat-release:
        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://athena/tmp/redhat-release:
        200 Type set to I.
        
        debug: sending command:
        PBSZ 1048576
        
        debug: response from gsiftp://athena/tmp/redhat-release:
        200 PBSZ=1048576
        
        debug: sending command:
        PASV
        
        debug: response from gsiftp://athena/tmp/redhat-release:
        227 Entering Passive Mode (192,168,1,117,164,41)
        
        debug: sending command:
        ALLO 56
        
        debug: response from gsiftp://athena/tmp/redhat-release:
        200 ALLO command successful.
        
        debug: sending command:
        STOR /tmp/redhat-release

I have the following entries in my system's (athena's) /etc/hosts


        127.0.0.1       localhost.localdomain   localhost
        74.173.159.213  athena.server.com  athena
        192.168.1.117   athena


Any ideas or suggestions as to how to solve or debug this further?      
        
        

Reply via email to