Please try the following command: $ globus-url-copy gsiftp://ankuj.gridglobus.com/etc/group file:///tpm/testcopy
use three slashes after file: (ie file:///) Regards, Arindam Choudhury From: Lukasz Lacinski Sent: Sunday, April 04, 2010 12:21 AM To: Ankuj Gupta Cc: gt-user Subject: Re: [gt-user] Error while running GridFTP Please try the following command: $ globus-url-copy gsiftp://ankuj.gridglobus.com/etc/group file://tmp/testcopy ;) Lukasz On Apr 3, 2010, at 12:47 PM, Ankuj Gupta wrote: Hi!! I have done all these steps. But even after giving the command $ globus-url-copy gsiftp://ankuj.gridglobus.com/etc/group file://tpm/testcopy I am getting the following errors error: globus_xio: Unable to open file /testcopy globus_xio: System error in open: Permission denied globus_xio: A system call failed: Permission denie Ankuj On Mon, Mar 29, 2010 at 12:45 AM, Jamie Schwettmann <[email protected]> wrote: Ankuj, In order to connect to any host with gsiftp:// on port 2811 (or any other configured port), including localhost, the host will need to be running the GridFTP server. From your netstat output, it doesn't appear that the service is running. For testing, you can start the server from the command line with: $GLOBUS_LOCATION/sbin/globus-gridftp-server <opts> To configure a persistant GridFTP server, you'll probably like to start the service with xinetd or similar. Please refer to the GridFTP Admin Guide documentation at http://www.globus.org/toolkit/docs/4.0/data/gridftp/admin-index.html for more information on configuring the GridFTP server. If you plan to use gsi, you'll also need to configure the grid security environment on the machine, both for the server and for the username you're using. See http://www.globus.org/toolkit/docs/4.0/security/ regarding security options available with GT4.0. Security setup will involve at least the following steps: --> Deciding which Certificate Authorities (CAs) to trust, and installing the trust roots for those CAs. (you can use a SimpleCA setup if you'd like to sign and trust your own certificates) --> Creating/obtaining a host certificate for the server machine, signed by a trusted CA. --> Creating a grid-mapfile to map Distinguished Names (DNs) of authenticated users to local usernames --> Creating/obtaining user certificates for the username you'd like to use and authenticating using either a myproxy server or pre-ws authentication (grid-proxy-init and related utils). I hope this helps you get started. :) Cheers, Jamie On Mar 28, 2010, at 1:02 AM, Ankuj Gupta wrote: Also when I looked at the /etc/services file the local services part was missing ie there was no entry for port 2811 Ankuj On Sun, Mar 28, 2010 at 11:29 AM, Ankuj Gupta <[email protected]> wrote: I received the following output when I ran #netstat -ltnp Active Internet connections (only servers) tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1622/rpcbind tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1966/sshd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2080/cupsd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2004/sendmail: acce tcp 0 0 0.0.0.0:60313 0.0.0.0:* LISTEN 1641/rpc.statd tcp 0 0 :::22 :::* LISTEN 1966/sshd Ankuj Gupta On Sun, Mar 28, 2010 at 12:43 AM, Lukasz Lacinski <[email protected]> wrote: Did you start the GridFTP server on ankuj.gridglobus.com? Please, execute the following command on ankuj.gridglobus.com to see if any server listens at port 2811 (you need root privileges to use the option -p): # netstat -ltnp Regards, Lukasz On Mar 27, 2010, at 1:25 PM, Ankuj Gupta wrote: Hi!! While running GridFTP I am encountering the following error. $ /usr/local/globus-4.0.8/bin/globus-url-copy gsiftp://ankuj.gridglobus.com/etc/group file:///tmp/test.test.copy error: globus_xio: Unable to connect to ankuj.gridglobus.com:2811 globus_xio: System error in connect: Connection refused globus_xio: A system call failed: Connection refused The job has been successfully submitted using the command /usr/local/globus-4.0.8/bin/grid-proxy-init -verify -debug Also I have added the port 2811 in the firewall setting. Also when I try telnet localhost 2811 I receive following error Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused What could be the possible issues with Grid FTP ? Ankuj Gupta ----- Jamie Schwettmann [email protected] 773.702.7945
