Well, you do not have to run the anonymous GridFTP server as root. If you want to run it as root, you have to add '-anonymous-user <username>' to the server command line, where <username> is the user that the server will run as to service the transfer requests.
On Oct 20, 2011, at 3:06 PM, Vishal Ahuja wrote: > Hi Raj, > > Ran the server in anonymous mode, and used ftp instead of gsiftp: > > Receiver:~$ sudo globus-gridftp-server -p 21 -aa > > Sender:~$ globus-url-copy -vb -tcp-bs 4000000 -p 2 > file:///home/vishal/Desktop/bulkfiles/file2GB.tst > ftp://vishal.xx.xx.xx/home/vishal/Desktop/ > Source: file:///home/vishal/Desktop/bulkfiles/ > Dest: gsiftp://vishal.xx.xx.xx/home/vishal/Desktop/ > file2GB.tst > > error: globus_ftp_client: the server responded with an error > 530 Login incorrect. : No anonymous user set. > > On Thu, Oct 20, 2011 at 12:37 PM, Raj Kettimuthu <[email protected]> wrote: > On Oct 20, 2011, at 2:34 PM, Vishal Ahuja wrote: > >> Hi Raj, >> >> Am trying to experiment with parallel streams using gridftp. My testbed is >> just two machines connected back to back via 10 Gbps link. Will I be able to >> use parallel streams with ftp? > > Yes. Anonymous mode (and ftp:// url with globus-url-copy) just turns off the > security. You can use all other features of GridFTP including parallel > streams and other performance optimizations such as pipelining, concurrency > etc. > >> Will look at the links that you have mentioned. Thank you for your time. >> >> Vishal >> >> On Thu, Oct 20, 2011 at 12:02 PM, Raj Kettimuthu <[email protected]> >> wrote: >> Hi Vishal, >> Can you provide some details on what you are doing with GridFTP? This will >> help us guide you in the right direction. For initial local testing, you can >> run the server in anonymous mode (-aa) and use ftp:// instead of gsiftp:// >> Have you taken a look at these links? >> http://www.globus.org/toolkit/data/gridftp/quickstart-anonymous.html >> http://www.globus.org/toolkit/data/gridftp/quickstart.html >> >> Raj >> >> On Oct 20, 2011, at 1:38 PM, Vishal Ahuja wrote: >> >>> I figured that the grid-ftp server has to be running on the receiver >>> machine. Trying after that, I get this: >>> >>> vishal@vishal-desktop:~/Desktop/RBUDP$ globus-url-copy -vb -tcp-bs 4000000 >>> -p 2 file:///home/vishal/Desktop/bulkfiles/file2GB.tst >>> gsiftp://vishal.cs.ucdavis.edu/home/vishal/Desktop/ >>> Source: file:///home/vishal/Desktop/bulkfiles/ >>> Dest: gsiftp://vishal.cs.ucdavis.edu/home/vishal/Desktop/ >>> file2GB.tst >>> >>> >>> error: globus_ftp_client: the server responded with an error >>> 530 530-globus_xio: Server side credential failure >>> 530-globus_gsi_gssapi: Error with gss credential handle >>> 530-globus_credential: Valid credentials could not be found in any of the >>> possible locations specified by the credential search order. >>> 530-Valid credentials could not be found in any of the possible locations >>> specified by the credential search order. >>> 530-Attempt 1 >>> 530-globus_credential: Error reading host credential >>> 530-globus_sysconfig: Could not find a valid certificate file: The host >>> cert could not be found in: >>> 530-1) env. var. X509_USER_CERT >>> 530-2) /etc/grid-security/hostcert.pem >>> 530-3) $GLOBUS_LOCATION/etc/hostcert.pem >>> 530-4) $HOME/.globus/hostcert.pem >>> 530- >>> 530-The host key could not be found in: >>> 530-1) env. var. X509_USER_KEY >>> 530-2) /etc/grid-security/hostkey.pem >>> 530-3) $GLOBUS_LOCATION/etc/hostkey.pem >>> 530-4) $HOME/.globus/hostkey.pem >>> 530- >>> 530- >>> 530-Attempt 2 >>> 530-globus_credential: Error reading proxy credential >>> 530-globus_sysconfig: Could not find a valid proxy certificate file location >>> 530-globus_sysconfig: Error with key filename >>> 530-globus_sysconfig: File does not exist: /tmp/x509up_u1000 is not a valid >>> file >>> 530-Attempt 3 >>> 530-globus_credential: Error reading user credential >>> 530-globus_sysconfig: Error with certificate filename: The user cert could >>> not be found in: >>> 530-1) env. var. X509_USER_CERT >>> 530-2) $HOME/.globus/usercert.pem >>> 530-3) $HOME/.globus/usercred.p12 >>> 530- >>> 530- >>> 530 End. >>> >>> Vishal >>> >>> On Thu, Oct 20, 2011 at 9:46 AM, Vishal Ahuja <[email protected]> wrote: >>> Hi All, >>> >>> I tried to use globus-url-copy to transfer a file from one machine to >>> another. Do I have to have anything running on the receiver machine? Here >>> is the command I used and the error message: >>> >>> vishal@vishal-desktop:~$ globus-url-copy -vb -tcp-bs 4000000 -p 2 >>> file:///home/vishal/Desktop/bulkfiles/file2GB.tst >>> gsiftp://vishal.xx.xx.xx/home/vishal/Desktop/ >>> Source: file:///home/vishal/Desktop/bulkfiles/ >>> Dest: gsiftp://vishal.xx.xx.xx/home/vishal/Desktop/ >>> file2GB.tst >>> >>> >>> error: globus_xio: Unable to connect to vishal.xx.xx.xx:2811 >>> globus_xio: System error in connect: Connection refused >>> globus_xio: A system call failed: Connection refused >>> >>> Thank you, >>> Vishal >>> >> >> > >
