Using xrootd in a batch job

Dear Experts,
I initially submitted a ticket to CERN service desk but I was redirected here. I am trying to run a batch job at the SLC5 node but always get the following error:

=========================================
==== Running on Tag & Probe data ========

1 out of 100 ===> filename : root://cms-xrd-global.cern.ch//store/us … _v1_4.root
140521 20:24:21 001 Xrd: GoToAnotherServer: Going to: xrootd.ba.infn.it:1094
140521 20:24:21 001 Xrd: GoToAnotherServer: Going to: t2-cms-xrootd02.desy.de:1094
140521 20:24:21 001 Xrd: GoToAnotherServer: Going to: dcache-cms-xrootd.desy.de:1094
XrdSec: No authentication protocols are available.
140521 20:24:22 001 Xrd: GoToAnotherServer: Error handshaking to [dcache-cms-xrootd.desy.de:1094]
140521 20:24:22 001 Xrd: Open: Error in handling a redirection.
140521 20:24:22 001 Xrd: CheckErrorStatus: Error while being redirected for request Open
140521 20:24:22 001 Xrd: GoToAnotherServer: Going to: xrdfed09.cern.ch:1094
140521 20:24:22 5110 Xrd: XrdClientMessage::ReadRaw: Failed to read header (8 bytes).
140521 20:24:27 001 Xrd: CheckErrorStatus: Server [xrdfed09.cern.ch:1094] declared: No servers are available to read the file.(error code: 3011)
140521 20:24:27 001 Xrd: Open: Error opening the file /store/user/rasp/SingleMu/data_20140519/tautau_SingleMu_2012A_RR_2013-01-22_v1_4.root on host xrdfed09.cern.ch:1094
Error in TXNetFile::CreateXClient: open attempt failed on root://cms-xrd-global.cern.ch//store/us … _v1_4.root

*** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:

Thread 5 (Thread 0x2ba864b21940 (LWP 5336)):
#0 0x00002ba863bb94a1 in nanosleep () from /lib64/libc.so.6
#1 0x00002ba863bb92c4 in sleep () from /lib64/libc.so.6
#2 0x00002ba8648caf04 in GarbageCollectorThread(void*, XrdClientThread*) () from /afs/cern.ch/cms/slc5_amd64_gcc462/cms/cmssw/CMSSW_5_3_9/external/slc5_amd64_gcc462/lib/libXrdClient.so.0
#3 0x00002ba86484a956 in XrdSysThread_Xeq () from /afs/cern.ch/cms/slc5_amd64_gcc462/cms/cmssw/CMSSW_5_3_9/external/slc5_amd64_gcc462/lib/libXrdUtils.so.0
#4 0x00002ba86390883d in start_thread () from /lib64/libpthread.so.0
#5 0x00002ba863bf426d in clone () from /lib64/libc.so.6
#6 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x2ba8652a5940 (LWP 5337)):
#0 0x00002ba863beb346 in poll () from /lib64/libc.so.6
I tried executing batch script by doing ./myjob.sh and it runs fine. I have been working on this for days without much success. Let me know if the information I gave is insufficient.

Thanks
Amithabh

Hi,
I wonder if this is the right place for my question. Please let me know. Thanks.

Cheers
Amithabh

Hi,

You’d have more luck hn-cms-wanaccess@cern.ch – the CMS hypernews forum.

It seems you were not able to login into desy … you’ll need a valid proxy certificate for this. Some latest dcache versions don’t accept xrdgsiproxyinit generated proxies (I know this was an issue at FNAL) … but voms-proxy-init should work in any case.

Cheers,
Matevz

Hi,
I have emailed them. Thanks a lot.

Amithabh