GridFTP, like any FTP, is a two channel protocol. 2811 is for control channel connection. You also need to open ports for data channel. You can restrict the port range for the data channel using the environment variable GLOBUS_TCP_PORT_RANGE. More information about this is available at http://www.globus.org/toolkit/docs/4.0/data/gridftp/admin-index.html#id2536766

Raj

On Fri, 26 Sep 2008, Yoichi Takayama wrote:

Hi

http://www.globus.org/toolkit/docs/4.2/4.2.0/admin/quickstart/index.html

While trying to install the 2nd Globus, the GridFTP test tries to copy a file between two hosts. This fails.

$ globus-url-copy gsiftp://grid1.ramscommunity.org/etc/group gsiftp://grid2.ramscommunity.org/tmp/from-grid1

error: globus_ftp_client: the server responded with an error
500 500-Command failed. : callback failed.
500-globus_xio: Unable to connect to 137.111.246.176:42777
500-globus_xio: System error in connect: No route to host
500-globus_xio: A system call failed: No route to host
500 End.

Obviously the port 42777 is not open because it is behind a Firewall.

The GridFTP is defined as gsiftp with /etc/xinetd.d/gridftp as:

service gsiftp
{
instances               = 100
socket_type             = stream
wait                    = no
user                    = root
env                     += GLOBUS_LOCATION=/sandbox/globus/globus-4.2.0
env                     += LD_LIBRARY_PATH=/sandbox/globus/globus-4.2.0/lib
server = /sandbox/globus/globus-4.2.0/sbin/globus-gridftp-server
server_args             = -i
log_on_success          += DURATION
disable                 = no
}

Also:

# cat /etc/services | grep gsiftp
gsiftp          2811/tcp                        # GSI FTP
gsiftp          2811/udp                        # GSI FTP

Although the port 2811/tcp and 2811/udp have been opened, this does not help since the globus-url-copy gsiftp still wants to use some random ports other than 2811. The command copies files OK if the iptables are switched off. so, it is obviously the port number problem.

Is there any other place where the setting should be placed to restrict what port the gsiftp should be using?

Thanks,
Yoichi

--------------------------------------------------------------------------
Yoichi Takayama, PhD
Senior Research Fellow
RAMP Project
MELCOE (Macquarie E-Learning Centre of Excellence)
MACQUARIE UNIVERSITY

Phone: +61 (0)2 9850 9073
Fax: +61 (0)2 9850 6527
www.mq.edu.au
www.melcoe.mq.edu.au/projects/RAMP/
--------------------------------------------------------------------------
MACQUARIE UNIVERSITY: CRICOS Provider No 00002J

This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of Macquarie E-Learning Centre Of Excellence (MELCOE) or Macquarie University.


Reply via email to