The server needs to be run threaded in order to support the udt_ref
driver. If you have a globus-gridftp-server in
$GLOBUS_LOCATION/sbin/gcc32dbgpthr/shared, you can copy it to sbin,
otherwise, 'make globus_gridftp_server-thr' in the installer.
The -protocol_stack option on the server currently doesn't do anything.
Also note that if you want to use udt in a 2-party transfer, you need to
use a threaded globus-url-copy (make globus_gass_copy-thr if you don't
have it) and have the udt_ref driver built locally as well.
Mike
Zulfi Imani wrote:
Hi,
I am having a problem with running the globus-url-copy with the -udt option.
I installed the threaded version of the gridftp server using the nightly
build of last week (make gridftp globus_gridftp_server-thr). I used
gcc32 as the flavor. I then compiled gridftp with UDT
with-flavor=gcc32dbgpthr. I ran the gridftp server without the
"--protocol_stack udt_ref " option. Next I ran globus-url-copy as:
globus-url-copy -vb -udt ftp://localhost:40300/dev/zero
ftp://localhost:40300/dev/null
and it gave me the following error:
error: globus_ftp_client: the server responded with an error
500 500-Command failed : Setting data channel driver stack failed.
500-globus_xio: driver activation failed.
500-globus_extension_module: Couldn't dlopen
libglobus_xio_udt_ref_driver_gcc32dbg.so in
/home/zulfiimani/gridftp/INSTALL/lib (or LD_LIBRARY_PATH):
libglobus_xio_udt_ref_driver_gcc32dbg.so: cannot open shared object
file: No such file or directory
500-
500 End
I have the libglobus_xio_udt_ref_driver_gcc32dbgpthr.so.* files in the
GLOBUS_LOCATION/lib dir but not
'libglobus_xio_udt_ref_driver_gcc32dbg.so' because I have a threaded
build. I even tried
globus-url-copy -vb -dcstack udt_ref ftp://localhost:40300/dev/zero
ftp://localhost:40300/dev/null <ftp://localhost:40300/dev/null>
but got the same error.
Then I ran the gridftp server with the '--protocol_stack udt_ref' option
and then executed the globus-url-copy without '-udt' option and it
worked fine.
Any inputs on this will be great.
Thanks
Zulfi