Print

Print


  Hi Ashok,

  Note that the KanAccess.cfg file is not part of xrootd itself, it is a 
config file used by the BaBar software (which tells it to use xrootd or
NFS or whatever). You should probably ask in one of the BaBar forums about 
this problem.

                                   Pete

On Sat, Jan 12, 2008 at 02:29:02PM -0800, [log in to unmask] wrote:
>   I am having strange problem. My Kanaccess.conf file has
> the following line
> 
>  read /store/SPskims/R22/* xrootd
> dcache.cluster.uvic.ca:1094/pnfs/rsf.uvic.ca/data/babar
> 
>   to access the data from dcache /pnfs file system through xrootd door.
> 
> i) It works fine when  I run the BetaMiniApp executable and accepts the
> the above syntex and job runs without any problem.
> 
>    Also, when I run the KanCollUtil
> 
> KanCollUtil -L
> /hep26/kanga/store/SPskims/R22/22.3.0a/TwoPhotonTwoTrack/001235/200309/TwoPhotonTwoTrack_001235_82097
> 
> ii) But when I run the spsub to run the MC production (which runs the
> MooseApp executable) and tries to access the KanAccess.conf, gives me the
> following syntex error :
> 
>  <unknown>::KanFileLocater.cc(229):KanAccess configuration error: path
> dcache.cluster.uvic.ca:1094/pnfs/rsf.uvic.ca/data/babar has to be of the
> form <server>:<port>/
> Command exited with non-zero status 125
> 2.09user 0.15system 0:02.70elapsed 82%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (8905major+11590minor)pagefaults 0swaps
> MooseApp finished at Sat Jan 12 13:52:15 PST 2008

> (iii) Why in the production script, it does not work above syntex ?
> 
>   If I use the syntex just of the form <server>:<port>
> 
> read /store/SPskims/R22/* xrootd dcache.cluster.uvic.ca:1094
> 
> then the above error goes, but it does not find the data as on the server
> the prefix path of the file system (/pnfs/rsf.uvic.ca/data/babar) is not
> found.
> 
>  (iv) Why it differs in BetaMiniApp and MooseApp script ?
> 
> I want to run both applications from the same KanAcess.conf.
> 
>    Can you please advise xrootd syntex is not working in the Production
> script and how to fix it ? Why it differs from BetaMiniApp ?
> 
>    Thanks
> 
>          Ashok
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 



-------------------------------------------------------------------------
Peter Elmer     E-mail: [log in to unmask]      Phone: +41 (22) 767-4644
Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
-------------------------------------------------------------------------