[Halld-offline] srmmkdir vs srm-mkdir
richard.t.jones at uconn.edu
Tue Jul 16 14:33:09 EDT 2013
[woops, had them swapped!]
Glad you are using it! The problem is you are trying to use the hyphen-style srm commands instead of the "hyphenless" ones. I prefer the hyphenless myself. Here are some examples.
hyphenless: srmsls, srmmkdir, srmrm, srmrmdir, srmmv
hyphen-style: srm-ls, srm-mkdir, srm-rm, srm-rmdir, srm-mv
The ones without the hyphens are happy without the more verbose ?SFN= url syntax, but the ones with the hyphens need the SFN syntax. If (as you did) you try to do srm-mkdir without the ?SFN syntax then the client command will try to guess what you meant an inject a hypothetical ?SFN= string into the url. That may or may not work. In this case it doesn't work. Here are the two syntaxes for urls, with and without the SFN string. The more verbose format should work with either style, hyphenated or not.
On 7/16/2013 2:06 PM, Paul Mattione wrote:
> Thanks Richard, that worked well. Now I'd like to upload some of the data files for our exercises to the SRM, but I get the following output (and error message):
> [mattione at maria temp]$ srm-mkdir srm://grinch.phys.uconn.edu/Gluex/workshop.7-10-2013/exercises/session5b
> srm-mkdir 184.108.40.206.0 Wed Nov 7 16:03:09 CST 2012
> BeStMan and SRM-Clients Copyright(c) 2007-2012,
> Lawrence Berkeley National Laboratory. All rights reserved.
> Support at SRM at LBL.GOV and documents at http://sdm.lbl.gov/bestman
> OSG Support at osg-software at opensciencegrid.org and
> documentation at https://www.opensciencegrid.org/bin/view/Documentation/Release3/
> SRM-CLIENT: SURL does not contains ?SFN
> SRM-CLIENT: serviceHandle /srm/v2/server is taken from the srmclient.conf
> SRM-CLIENT: SFN is assumed as /Gluex/workshop.7-10-2013/exercises/session5b
> SRM-CLIENT: Connecting to serviceurl httpg://grinch.phys.uconn.edu:8443/srm/v2/server
> SRM-DIR: Tue Jul 16 14:01:52 EDT 2013 Calling SrmMkdir
> SRM-DIR: DirectoryPath(0)=srm://grinch.phys.uconn.edu:8443/srm/v2/server?SFN=/Gluex/workshop.7-10-2013/exercises/session5b
> SoapCallThread.Exception=The AXIS engine could not find a target service to invoke! targetService is v2/server
> Am I not using the command correctly? I tried googling the srm-mkdir instructions and I don't really understand them. Thanks!
> - Paul
> On Jul 8, 2013, at 6:11 PM, Richard Jones wrote:
>> Sure, you can write it in the test area. It is the same area as described in the grid how-to on the wiki, so you can look for details there. An example for a command to try from a machine where your voms proxy is stored:
>> srmcp file:///home/matione/virtualbox_disk.img srm://grinch.phys.uconn.edu:8443/Gluex/test/virtual_box.img
>> The same url could be used by others to download it, also using srmcp. The following url would also work from any browser:
>> from which a right-click and download-to dialog gets you a local copy on your desktop. That also requires that the user have a grid cert installed in their browser, but no proxy is needed.
>> -Richard Jones
>> On 7/8/2013 11:53 AM, Paul Mattione wrote:
>>> Hey Richard, could I store an image of the virtual machine we're using for the analysis workshop on the SRM? That way I can point people that are participating remotely and have grid access to where to download it. Are there any special instructions/permissions I need to upload a file? Where would be an appropriate spot on the hard disk?
>>> Thank you.
>>> - Paul
>>> On Jul 8, 2013, at 11:20 AM, Richard Jones wrote:
>>>> Hello all,
>>>> Upgrade of the UConn cluster to Centos6 went smoothly over the long weekend. The SRM is now back online. Please let me know of any problems.
>>>> -Richard Jones
>>>> Halld-offline mailing list
>>>> Halld-offline at jlab.org
-------------- next part --------------
Halld-offline mailing list
Halld-offline at jlab.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3535 bytes
Desc: S/MIME Cryptographic Signature
Url : https://mailman.jlab.org/pipermail/halld-offline/attachments/20130716/a772329d/attachment.bin
More information about the Halld-offline