Hi -
Yes, my proxy is valid. I've tried adding the following to my script
(before calling root):
export DPNS_HOST=epgse1.ph.bham.ac.uk
export DPM_HOST=epgse1.ph.bham.ac.uk
ln -s /opt/lcg/lib64/libdpm.so libshift.so.2.1
export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
but this does not seem to help - I still get the same error.
At which site did you manage to open the TFile? I wonder if I have missed
something when configuring our nodes?
Cheers,
Chris
On Thu, 1 Jul 2010, Wahid Bhimji wrote:
> Hi Chris,
>
> Do you have a proxy (ie. from voms-proxy-init) and do you point to it with
> export X509_USER_PROXY=[pathtoproxy]
>
> You also need the somewhat obscure link of libshift.so.2.1 to libdpm.so (and for that to be found in your LD_LIBRARY_PATH)
> (libdpm.so should be in $LCG_LOCATION/lib (or lib64 if you are using 64 bit root).
>
> I have successfully opened a TFile on a DPM SE via RFIO in root so it is definitely possible and your Root syntax for TFile is correct.
>
> Wahid
>
>
> On 30 Jun 2010, at 23:22, Chris Curtis wrote:
>
>> Hi -
>>
>> Apologies for cross posting (original message on ATLAS distributed Analysis egroup) - I thought on reflection this question might be more grid oriented.
>>
>> I'm trying to access a Root file on our SE via RFIO. I can use rfcp to download the file, but what I would really like to do is access it from within Root by calling:
>>
>> TFile *f = TFile::Open("rfio://epgse1.ph.bham.ac.uk//dpm/ph.bham.ac.uk/home/atlas/atlasscratchdisk/user10/jodypalmer/ganga/user10.jodypalmer.ganga.4998.20100628/user10.jodypalmer.ganga.4998.20100628.TopPhys_TopInputs.pt_18.0._00006.root");
>>
>> If I do this though root (from either a UI or a WN), root throws the error:
>>
>> SysError in <TRFIOFile::TRFIOFile>: file rfio://epgse1.ph.bham.ac.uk//dpm/ph.bham.ac.uk
>> /home/atlas/atlasscratchdisk/user10/jodypalmer/ganga/user10.jodypalmer.ganga.4998.20100628
>> /user10.jodypalmer.ganga.4998.20100628.TopPhys_TopInputs.pt_18.0._00006.root can not be opened for reading (Connection refused)
>>
>> And in the /var/log/rfio/log file on the DPM head node I see the corresponding message:
>>
>> rfiod[17490]: Could not establish an authenticated connection: Csec_server_negociate_protocol:
>> The client did not send an authentication negociation request; _Csec_recv_token: Received magic: 2002001 expecting ca03 !
>>
>> Has anyone seen this before (or successfully opened a TFile on a DPM SE via RFIO in root)?
>>
>> Cheers,
>>
>> Chris
>>
>> --
>> West 326
>> Physics and Astronomy
>> University of Birmingham
>> Edgbaston
>> Birmingham
>> B15 2TT
>>
>> (Office) 0121 414 4700
>> (Mobile) 0798 666 1959
>>
>
>
>
--
West 326
Physics and Astronomy
University of Birmingham
Edgbaston
Birmingham
B15 2TT
(Office) 0121 414 4700
(Mobile) 0798 666 1959
|