Hi,
Words written by `Matt Doidge' on 25 May 2005 at 16:13:14 +0100 prompted:
> I think our end point is working.....although I'm being called away by
> other duties so i won't have time to test it till tomorrow, if anyone
> else wants to have a go feel free, our head node is;
>
> srm://fal-pygrid-20.lancs.ac.uk
>
> hopefully it works. if not tell me.
>
> cheers all,
>
> matt
doesn't work for me. Please check the logs in
/opt/d-cache-opt/log
for errors.
I've also attached some scripts that you can use to do some basic tests
yourself.
export ADMIN_NODE=fal-pygrid-20.lancs.ac.uk
export X509_USER_PROXY=path_to_your_proxy_certificate
./dc-place.sh
./dc-fetch.sh
Please let us know how you're doing.
Thanks.
--
Jiri
+ /opt/d-cache/srm/bin/srmcp -debug=true -webservice_protocol=https -x509_user_proxy=/tmp/x509up_u33032 -gsissl=true file:////etc/group srm://fal-pygrid-20.lancs.ac.uk:8443/pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt
SRM Configuration:
debug=true
gsissl=true
help=false
pushmode=false
userproxy=true
buffer_size=2048
tcp_buffer_size=0
config_file=/home/mencak/.srmconfig/config.xml
glue_mapfile=/opt/d-cache/srm//conf/SRMServerV1.map
webservice_path=srm/managerv1.wsdl
webservice_protocol=https
gsiftpclinet=globus-url-copy
protocols_list=http,gsiftp
save_config_file=null
srmcphome=/opt/d-cache/srm/
urlcopy=/opt/d-cache/srm//bin/url-copy.sh
x509_user_cert=/root/jm/k5-ca-proxy.pem
x509_user_key=/root/jm/k5-ca-proxy.pem
x509_user_proxy=/tmp/x509up_u33032
x509_user_trusted_certificates=/root/jm/.globus/certificates
retry_num=20
retry_timeout=10000
wsdl_url=null
use_urlcopy_script=false
connect_to_wsdl=false
from[0]=file:////etc/group
to=srm://fal-pygrid-20.lancs.ac.uk:8443/pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt
Thu May 26 10:42:46 BST 2005: starting SRMPutClient
Thu May 26 10:42:46 BST 2005: SRMClient(https,srm/managerv1.wsdl,true)
Thu May 26 10:42:46 BST 2005: connecting to server
Thu May 26 10:42:46 BST 2005: connected to server, obtaining proxy
SRMClientV1 : connecting to srm at httpg://fal-pygrid-20.lancs.ac.uk:8443/srm/managerv1
Thu May 26 10:42:48 BST 2005: got proxy of type class org.dcache.srm.client.SRMClientV1
SRMClientV1 : put, sources[0]="/etc/group"
SRMClientV1 : put, dests[0]="srm://fal-pygrid-20.lancs.ac.uk:8443/pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt"
SRMClientV1 : put, protocols[0]="http"
SRMClientV1 : put, protocols[1]="dcap"
SRMClientV1 : put, protocols[2]="gsiftp"
SRMClientV1 : put, contacting service httpg://fal-pygrid-20.lancs.ac.uk:8443/srm/managerv1
doneAddingJobs is false
copy_jobs is empty
Thu May 26 10:42:51 BST 2005: srm returned requestId = -2147483620
Thu May 26 10:42:51 BST 2005: sleeping 1 seconds ...
Thu May 26 10:42:53 BST 2005: FileRequestStatus with SURL=srm://fal-pygrid-20.lancs.ac.uk:8443/pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt is Ready
Thu May 26 10:42:53 BST 2005: received TURL=gsiftp://fal-pygrid-20.lancs.ac.uk:2811//pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt
doneAddingJobs is false
copy_jobs is not empty
copying CopyJob, source = file:////etc/group destination = gsiftp://fal-pygrid-20.lancs.ac.uk:2811//pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt
GridftpClient: connecting to fal-pygrid-20.lancs.ac.uk on port 2811
GridftpClient: gridFTPClient tcp buffer size is set to 1048576
GridftpClient: gridFTPWrite started, source file is java.io.RandomAccessFile@1ce669e destination path is /pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt
GridftpClient: parallelism: 10
GridftpClient: adler 32 for file java.io.RandomAccessFile@1ce669e is 53322e24
GridftpClient: waiting for completion of transfer
GridftpClient: gridFtpWrite: starting the transfer in emode to /pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt
org.globus.ftp.exception.ServerException: Server refused performing the request. Custom message: (error code 1) [Nested exception message: Custom message: Unexpected reply: 553 /pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt: Cannot create file: CacheException(rc=2;msg=Pnfs error : Operation not permitted)]. Nested exception is org.globus.ftp.exception.UnexpectedReplyCodeException: Custom message: Unexpected reply: 553 /pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt: Cannot create file: CacheException(rc=2;msg=Pnfs error : Operation not permitted)
at org.globus.ftp.vanilla.TransferMonitor.run(TransferMonitor.java:167)
GridftpClient: transfer exception
org.globus.ftp.exception.ServerException: Server refused performing the request. Custom message: (error code 1) [Nested exception message: Custom message: Unexpected reply: 553 /pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt: Cannot create file: CacheException(rc=2;msg=Pnfs error : Operation not permitted)]. Nested exception is org.globus.ftp.exception.UnexpectedReplyCodeException: Custom message: Unexpected reply: 553 /pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt: Cannot create file: CacheException(rc=2;msg=Pnfs error : Operation not permitted)
at org.globus.ftp.vanilla.TransferMonitor.run(TransferMonitor.java:167)
GridftpClient: closing client : org.dcache.srm.util.GridftpClient$FnalGridFTPClient@14d5bc9
GridftpClient: closed client
copy failed with the error
org.globus.ftp.exception.ServerException: Server refused performing the request. Custom message: (error code 1) [Nested exception message: Custom message: Unexpected reply: 553 /pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt: Cannot create file: CacheException(rc=2;msg=Pnfs error : Operation not permitted)]. Nested exception is org.globus.ftp.exception.UnexpectedReplyCodeException: Custom message: Unexpected reply: 553 /pnfs/lancs.ac.uk/data/dteam/20050526-104245.txt: Cannot create file: CacheException(rc=2;msg=Pnfs error : Operation not permitted)
at org.globus.ftp.vanilla.TransferMonitor.run(TransferMonitor.java:167)
try again
sleeping for 10000 before retrying
[Thread-16] ERROR vanilla.FTPServerFacade -
Exception occured in the exception handling code, so it cannot be properly propagated to the user:
java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99)
at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
at java.io.DataOutputStream.writeByte(DataOutputStream.java:131)
at org.globus.ftp.dc.EBlockImageDCWriter.endOfData(EBlockImageDCWriter.java:58)
at org.globus.ftp.dc.GridFTPTransferSourceThread.shutdown(GridFTPTransferSourceThread.java:52)
at org.globus.ftp.dc.TransferSourceThread.run(TransferSourceThread.java:75)
[Thread-8] ERROR vanilla.FTPServerFacade -
Exception occured in the exception handling code, so it cannot be properly propagated to the user:
java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99)
at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
at java.io.DataOutputStream.writeByte(DataOutputStream.java:131)
at org.globus.ftp.dc.EBlockImageDCWriter.endOfData(EBlockImageDCWriter.java:58)
at org.globus.ftp.dc.GridFTPTransferSourceThread.shutdown(GridFTPTransferSourceThread.java:52)
at org.globus.ftp.dc.TransferSourceThread.run(TransferSourceThread.java:75)
[Thread-9] ERROR vanilla.FTPServerFacade -
|