Hi Ruben, make sure that the uid and gid on your local PC are the same as on your afs account. Best regards - Andreas. On Mon, 8 Dec 2003, Ruben Shahoyan wrote: > Hello, > we have the followoing problem: when we try to open the root file (on > Castor) via rfio. When we try to do this from local cern PC (having done > klog) it fails, while from lxplus it works. Does anybody have experience > with such operations? What can be the problem? > Below are the screenshots of failed (on local pc) and successful (lxplus) > trials. > > Bets regards, > Ruben Shahoyan > > offline@na60farm1:~ klog -principal na60cdr > Password: > offline@na60farm1:~ klist > Ticket file: /tmp/tkt21591 > Principal: na60cdr@CERN.CH > > Issued Expires Principal > Dec 8 18:07:45 Dec 9 19:34:06 krbtgt.CERN.CH@CERN.CH > Dec 8 18:07:45 Dec 9 19:34:06 afs@CERN.CH > offline@na60farm1:~ nstouch /castor/cern.ch/na60/test/a.root > /castor/cern.ch/na60/test/a.root: Permission denied > offline@na60farm1:~ root -b > ******************************************* > * * > * W E L C O M E to R O O T * > * * > * Version 3.05/07 6 October 2003 * > * * > * You are welcome to visit our Web site * > * http://root.cern.ch * > * * > ******************************************* > > Compiled for linux with thread support. > > CINT/ROOT C/C++ Interpreter version 5.15.94, June 30 2003 > Type ? for help. Commands must be C++ statements. > Enclose multiple statements between { }. > root [0] TFile *f ; f = File::Open("rfio:/castor/cern.ch/na60/test/a.root","") > SysError in <TRFIOFile::TRFIOFile>: file /castor/cern.ch/na60/test/a.root an not be opened for reading (Success) > (class TFile*)0x0 > root [1] > > > ====== > VERSUS > ====== > > [lxplus081] /afs/cern.ch/user/n/na60cdr > klist > Ticket file: /tmp/tktp1104032764 > Principal: na60cdr@CERN.CH > > Issued Expires Principal > Dec 8 15:52:31 Dec 9 17:18:52 krbtgt.CERN.CH@CERN.CH > Dec 8 15:52:31 Dec 9 17:18:52 afs@CERN.CH > [lxplus081] /afs/cern.ch/user/n/na60cdr > nstouch /castor/cern.ch/na60/test/a.root > [lxplus081] /afs/cern.ch/user/n/na60cdr > root -b > ******************************************* > * * > * W E L C O M E to R O O T * > * * > * Version 3.05/07 27 July 2003 * > * * > * You are welcome to visit our Web site * > * http://root.cern.ch * > * * > ******************************************* > > Compiled for linux with thread support. > > CINT/ROOT C/C++ Interpreter version 5.15.94, June 30 2003 > Type ? for help. Commands must be C++ statements. > Enclose multiple statements between { }. > root [0] TFile *f ; f = TFile::Open("rfio:/castor/cern.ch/na60/test/a.root","") > (class TFile*)0x86893e0 > root [1] f->ls() > TRFIOFile** rfio:/castor/cern.ch/na60/test/a.root > TRFIOFile* rfio:/castor/cern.ch/na60/test/a.root > KEY: TObject TObject;1 Basic ROOT object > root [2] > > > > André David > ---------------------------------- > The NA60 Experiment at CERN > > > > > -- ............................................................................................... \|||/ (o o) =========>>================\ /====oo0-(_)-0oo==<<== ======= Andreas Morsch \\ // // \\ CERN EP/AIP \\ // // \\ 1211 Geneva 23 \\ // Tel. +41.22.767.8617 || || \\// || A l I c E || Switzerland //\\ || h || // \\ Fax. +41.22.767.9480 \\ // // \\ \\ // // \\ ======= =========<<================/ \==============>>==================== || || oo0 0oo ................................................................................................
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET