Print

Print


	Hi Wilko,

Wilko Kroeger wrote:
> Hello Andreas
> 
> XrdRm needs as argument the logical file name not root:// ... path.
> The xrootd connection parameters go into XrdInitialize.
> 
> Your code should be something like this:
> 
> XrdClientAdmin::XrdInitialize("root://f01-005-115.gridka.de:1094//")
> XrdClientAdmin::XrdRm('/prod/store/SPskims/R18/18.2.1b/A0/000998/200301/A0_000998_8469.01.root')

ah, I see. I should have spend some more time looking at the code of
XrdClientAdmin. Is there actually any documentation apart from the
source code?

	Cheers,

		Andreas

> 
> Cheers,
>    wilko
> 
> 
> On Tue, 20 Sep 2005, Andreas Petzold wrote:
> 
> 
>>	Hi,
>>
>>I want to use the perl wrapper of XrdClientAdmin to remove files on
>>xrootd servers.
>>
>>The problem is the following:
>>
>>I'm calling
>>XrdClientAdmin::XrdRm(root://f01-005-115.gridka.de:1094//prod/store/SPskims/R18/18.2.1b/A0/000998/200301/A0_000998_8469.01.root)
>>
>>and I get an error message:
>>
>>050920 18:24:29 001 Xrd: : (C) 2004 SLAC XrdClientAdmin 0.3
>>050920 18:24:29 001 Xrd: Rm: Server [10.65.5.115:1094] did not return OK
>>message for last request.
>>050920 18:24:29 001 Xrd: SendGenCommand: Server declared error
>>3010:Removing relative path
>>'root://f01-005-115.gridka.de:1094//prod/store/SPskims/R18/18.2.1b/A0/000998/200301/A0_000998_8469.01.root'
>>is disallowed.
>>
>>The server config looks like this:
>>
>># The XROOTD Section
>>#
>>xrootd.async off
>>xrootd.export /prod
>>xrootd.export /store
>>xrootd.fslib /home/xrootd/software/current/lib/libXrdOfs.so
>>xrootd.chksum crc32 /home/xrootd/bin/getCRC32.sh
>>
>>Any ideas?
>>
>>	Cheers,
>>
>>		Andreas
>>