sorted four //// problem
. also have this rs problem now( had same probelm when
trying to copy file down from srm to local disk. what should the
permissions and ownership of files you are trying to copy?
brian
SRMClientV1 : put, protocols[2]="gsiftp"
SRMClientV1 : put, contacting service
httpg://fal-pygrid-29.lancs.ac.uk:8443/srm/managerv1
doneAddingJobs is false
copy_jobs is empty
Mon Aug 22 15:05:54 BST 2005: srm returned requestId = 17
Mon Aug 22 15:05:54 BST 2005: sleeping 1 seconds ...
Mon Aug 22 15:05:55 BST 2005: rs.state = Failed rs.error = Permission denied
Mon Aug 22 15:05:55 BST 2005: ====> fileStatus state ==Failed
doneAddingJobs is true
copy_jobs is empty
stopping copier
Exception in thread "main" java.io.IOException: rs.state = Failed
rs.error = Permission denied
at gov.fnal.srm.util.SRMPutClient.start(SRMPutClient.java:331)
at gov.fnal.srm.util.SRMCopy.work(SRMCopy.java:409)
at gov.fnal.srm.util.SRMCopy.main(SRMCopy.java:242)
Mon Aug 22 15:05:55 BST 2005: setting all remaining file statuses to "Done"
Mon Aug 22 15:05:55 BST 2005: setting file request 0 status to Done
SRMClientV1 : getRequestStatus: try #0 failed with error
SRMClientV1 : Invalid state
java.lang.RuntimeException: Invalid state
at org.dcache.srm.client.SRMClientV1.setFileStatus(SRMClientV1.java:1097)
at gov.fnal.srm.util.SRMPutClient.run(SRMPutClient.java:362)
at java.lang.Thread.run(Thread.java:534)
On 22/08/05, Greig A Cowan <[log in to unmask]> wrote:
> Hi Brian,
>
> Try using 4 /'s. i.e.
>
> file:////home/brian/test2.txt
>
> Greig
>
> On Mon, 22 Aug 2005, brian davies wrote:
>
> > I corrected the config file but still have problems
> > trying to use my atlas certificate:
> >
> > when trying to upload a file
> > srmcp -debug=true -use_proxy=true file:///home/brian/test2.txt
> > srm://fal-pygrid-29.lancs.ac.uk:8443//dpm/lancs.ac.uk/atlas/test1.txt
> > Storage Resource Manager (SRM) CP Client version 1.16
> > Copyright (c) 2002-2005 Fermi National Accelerator Laborarory
> >
> > SRM Configuration:
> > debug=true
> > gsissl=true
> > help=false
> > pushmode=false
> > userproxy=true
> > buffer_size=131072
> > tcp_buffer_size=0
> > stream_num=10
> > config_file=/home/brian/.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/sbin/url-copy.sh
> > x509_user_cert=/home/brian/.globus/usercert.pem
> > x509_user_key=/home/brian/.globus/userkey.pem
> > x509_user_proxy=/tmp/x509up_u18948
> > x509_user_trusted_certificates=/etc/grid-security/certificates
> > retry_num=20
> > retry_timeout=10000
> > wsdl_url=null
> > use_urlcopy_script=true
> > connect_to_wsdl=false
> > delegate=true
> > full_delegation=true
> > from[0]=file:///home/brian/test2.txt
> > to=srm://fal-pygrid-29.lancs.ac.uk:8443//dpm/lancs.ac.uk/atlas/test1.txt
> >
> > Mon Aug 22 14:41:12 BST 2005: starting SRMPutClient
> > Mon Aug 22 14:41:12 BST 2005: SRMClient(https,srm/managerv1.wsdl,true)
> > Mon Aug 22 14:41:12 BST 2005: connecting to server
> > Mon Aug 22 14:41:12 BST 2005: connected to server, obtaining proxy
> > SRMClientV1 : connecting to srm at
> > httpg://fal-pygrid-29.lancs.ac.uk:8443/srm/managerv1
> > Mon Aug 22 14:41:13 BST 2005: got proxy of type class
> > org.dcache.srm.client.SRMClientV1
> > doneAddingJobs is true
> > copy_jobs is empty
> > stopping copier
> > Exception in thread "main" java.io.IOException: source is not
> > readable file:///home/brian/test2.txt
> > at gov.fnal.srm.util.SRMPutClient.start(SRMPutClient.java:171)
> > at gov.fnal.srm.util.SRMCopy.work(SRMCopy.java:409)
> > at gov.fnal.srm.util.SRMCopy.main(SRMCopy.java:242)
> >
> >
> > On 11/08/05, Jensen, J (Jens) <[log in to unmask]> wrote:
> > > [..]
> > > >
> > > > > Then - success!! I got the file.
> > > >
> > > > Strange, but good, could you send me a copy of your
> > > > /opt/d-cache/srm/sbin/url-copy.sh file and I will do a diff
> > > > against it.
> > >
> > > Attached. Share and enjoy.
> > >
> > > Regards,
> > > --jens
> > >
> > >
> > >
> >
>
> --
> ========================================================================
> Dr Greig A Cowan http://www.ph.ed.ac.uk/~gcowan1
> School of Physics, University of Edinburgh, James Clerk Maxwell Building
>
> TIER-2 STORAGE SUPPORT PAGES: http://wiki.gridpp.ac.uk/wiki/Grid_Storage
> ========================================================================
>
|